GNU bug report logs - #4684
ispell not recognized when emacs 23 (on OS X) launched from icon

Previous Next

Packages: ns, emacs;

Reported by: stucker <brown_emu <at> yahoo.com>

Date: Fri, 9 Oct 2009 03:50:07 UTC

Severity: normal

Done: Adrian Robert <adrian.b.robert <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4684 in the body.
You can then email your comments to 4684 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4684; Package emacs. (Fri, 09 Oct 2009 03:50:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to stucker <brown_emu <at> yahoo.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 09 Oct 2009 03:50:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: stucker <brown_emu <at> yahoo.com>
To: Bug-gnu-emacs <at> gnu.org
Subject: ispell not recognized when emacs 23 (on OS X) launched from icon
Date: Thu, 8 Oct 2009 20:43:17 -0700 (PDT)
Hi, I am using GNU Emacs 23.1.1 (i386-apple-darwin9.7.0, NS
apple-appkit-949.46) on OS X 10.5.8.

When I launch emacs from the terminal with

$ /Applications/Emacs.app/Contents/MacOS/Emacs &

I can use ispell as expected.

However, if I launch emacs by clicking on its icon - which presumably points
to the same binary file -
I get the following error:

apply: Searching for program: No such file or directory, ispell

Ispell is on my load path
("/Applications/Emacs.app/Contents/Resources/lisp/textmodes/"); even when I
do one of the following I get the same error:

(load "/Applications/Emacs.app/Contents/Resources/lisp/textmodes/ispell")
(add-to-list 'load-path
"/Applications/Emacs.app/Contents/Resources/lisp/textmodes")

The fact that it works if I launch the same application with the same .emacs
file from the terminal (no -Q option necessary) leads me to believe that the
conflict is not in any of my settings.

Thanks much!
-Stephen

-- 
View this message in context: http://www.nabble.com/ispell-not-recognized-when-emacs-23-%28on-OS-X%29-launched-from-icon-tp25815078p25815078.html
Sent from the Emacs - Bugs mailing list archive at Nabble.com.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4684; Package emacs. (Fri, 09 Oct 2009 11:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Magnus Henoch <mange <at> freemail.hu>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 09 Oct 2009 11:50:04 GMT) Full text and rfc822 format available.

Message #10 received at 4684 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Magnus Henoch <mange <at> freemail.hu>
To: stucker <brown_emu <at> yahoo.com>
Cc: 4684 <at> debbugs.gnu.org
Subject: Re: bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
Date: Fri, 09 Oct 2009 12:39:58 +0100
The problem is that Emacs can't find the `ispell' binary, probably
because of different PATH settings.  Try customising
ispell-program-name, setting it to the full path of ispell.

Magnus



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4684; Package emacs. (Fri, 09 Oct 2009 16:15:05 GMT) Full text and rfc822 format available.

Message #13 received at 4684 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: stucker <brown_emu <at> yahoo.com>
Cc: 4684 <at> debbugs.gnu.org
Subject: Re: bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
Date: Fri, 09 Oct 2009 12:08:33 -0400
reassign 4684 emacs,ns
stop

stucker wrote:

> Hi, I am using GNU Emacs 23.1.1 (i386-apple-darwin9.7.0, NS
> apple-appkit-949.46) on OS X 10.5.8.
>
> When I launch emacs from the terminal with
>
> $ /Applications/Emacs.app/Contents/MacOS/Emacs &
>
> I can use ispell as expected.
>
> However, if I launch emacs by clicking on its icon - which presumably points
> to the same binary file -
> I get the following error:
>
> apply: Searching for program: No such file or directory, ispell

See the section "Grabbing environment variables" in the Mac OS /
GNUstep chapter of the Emacs manual. PATH is the issue here.



bug reassigned from package 'emacs' to 'emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 09 Oct 2009 16:15:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#4684; Package emacs,ns. (Thu, 15 Oct 2009 05:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to stucker <brown_emu <at> yahoo.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Thu, 15 Oct 2009 05:30:04 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: stucker <brown_emu <at> yahoo.com>
To: Bug-gnu-emacs <at> gnu.org
Subject: Re: bug#4684: ispell not recognized when emacs 23 (on OS X)
 launched from icon
Date: Wed, 14 Oct 2009 22:23:50 -0700 (PDT)

Magnus Henoch wrote:
> 
> The problem is that Emacs can't find the `ispell' binary, probably
> because of different PATH settings.  Try customising
> ispell-program-name, setting it to the full path of ispell.
> 
> Magnus
> 

Sorry, I was away on travel and my wireless card seemed to have died...
But thank you for the response. I did set 
(custom-set-variables
 '(ispell-program-name 
   "/Applications/Emacs.app/Contents/Resources/lisp/textmodes/ispell"))
and also to ispell.elc instead of ispell

but in either case this does not seem to work. The strange thing is that it
doesn't work only when I launch Emacs through the icon... when I launch
emacs from the terminal, it finds ispell just fine.

Stephen





-- 
View this message in context: http://www.nabble.com/ispell-not-recognized-when-emacs-23-%28on-OS-X%29-launched-from-icon-tp25815078p25903193.html
Sent from the Emacs - Bugs mailing list archive at Nabble.com.





Reply sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
You have taken responsibility. (Sat, 17 Oct 2009 12:25:08 GMT) Full text and rfc822 format available.

Notification sent to stucker <brown_emu <at> yahoo.com>:
bug acknowledged by developer. (Sat, 17 Oct 2009 12:25:08 GMT) Full text and rfc822 format available.

Message #25 received at 4684-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 4684-done <at> debbugs.gnu.org
Cc: stucker <brown_emu <at> yahoo.com>
Subject: Re:  ispell not recognized when emacs 23 (on OS X) launched from icon 
Date: Sat, 17 Oct 2009 08:20:20 -0400
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4684

This results from PATH being different when starting from icon.  You  
can fix it by one of several means.  Please refer to the manual or  
search on the net about Emacs Mac OS X, and path.

Emacs does none of this by default to avoid unexpected differences  
from other OS X applications, which follow the same rules.  If you do  
not like this behavior, the Aquamacs distribution does set PATH I  
believe.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#4684; Package emacs,ns. (Sat, 31 Oct 2009 10:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabien Tricoire <fabien.tricoire <at> univie.ac.at>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Sat, 31 Oct 2009 10:15:04 GMT) Full text and rfc822 format available.

Message #30 received at 4684 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Fabien Tricoire <fabien.tricoire <at> univie.ac.at>
To: 4684 <at> debbugs.gnu.org
Subject: Re:  ispell not recognized when emacs 23 (on OS X) launched from icon
Date: Sat, 31 Oct 2009 11:06:31 +0100
Same problem here (but when calling flyspell-mode). I updated /etc/ 
paths as explained in the Emacs manual, it does not help.  
Interestingly enough, M-! ispell works, but M-x ispell or M-x flyspell- 
mode do not work.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 28 Nov 2009 15:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.