unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
@ 2009-10-09  3:43 stucker
  2009-10-09 11:39 ` Magnus Henoch
  2009-10-09 16:08 ` Glenn Morris
  0 siblings, 2 replies; 5+ messages in thread
From: stucker @ 2009-10-09  3:43 UTC (permalink / raw)
  To: Bug-gnu-emacs


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.







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
  2009-10-09  3:43 stucker
@ 2009-10-09 11:39 ` Magnus Henoch
  2009-10-15  5:23   ` stucker
  2009-10-09 16:08 ` Glenn Morris
  1 sibling, 1 reply; 5+ messages in thread
From: Magnus Henoch @ 2009-10-09 11:39 UTC (permalink / raw)
  To: stucker; +Cc: 4684

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
  2009-10-09  3:43 stucker
  2009-10-09 11:39 ` Magnus Henoch
@ 2009-10-09 16:08 ` Glenn Morris
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2009-10-09 16:08 UTC (permalink / raw)
  To: stucker; +Cc: 4684

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
  2009-10-09 11:39 ` Magnus Henoch
@ 2009-10-15  5:23   ` stucker
  0 siblings, 0 replies; 5+ messages in thread
From: stucker @ 2009-10-15  5:23 UTC (permalink / raw)
  To: Bug-gnu-emacs



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.







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
@ 2009-10-31 10:06 Fabien Tricoire
  0 siblings, 0 replies; 5+ messages in thread
From: Fabien Tricoire @ 2009-10-31 10:06 UTC (permalink / raw)
  To: 4684

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-31 10:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-31 10:06 bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon Fabien Tricoire
  -- strict thread matches above, loose matches on Subject: below --
2009-10-09  3:43 stucker
2009-10-09 11:39 ` Magnus Henoch
2009-10-15  5:23   ` stucker
2009-10-09 16:08 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).