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
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ 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] 7+ messages in thread

* bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
  2009-10-09  3:43 ` bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon stucker
@ 2009-10-09 11:39   ` Magnus Henoch
  2009-10-15  5:23     ` stucker
  2009-10-09 16:08   ` Glenn Morris
  2009-10-17 12:25   ` bug#4684: marked as done (ispell not recognized when emacs 23 (on OS X) launched from icon) Emacs bug Tracking System
  2 siblings, 1 reply; 7+ 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] 7+ messages in thread

* bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
  2009-10-09  3:43 ` bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon stucker
  2009-10-09 11:39   ` Magnus Henoch
@ 2009-10-09 16:08   ` Glenn Morris
  2009-10-09 16:15     ` Processed: " Emacs bug Tracking System
  2009-10-17 12:25   ` bug#4684: marked as done (ispell not recognized when emacs 23 (on OS X) launched from icon) Emacs bug Tracking System
  2 siblings, 1 reply; 7+ 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] 7+ messages in thread

* Processed: Re: bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon
  2009-10-09 16:08   ` Glenn Morris
@ 2009-10-09 16:15     ` Emacs bug Tracking System
  0 siblings, 0 replies; 7+ messages in thread
From: Emacs bug Tracking System @ 2009-10-09 16:15 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs Bugs, ns for {4684}

Processing commands for control@emacsbugs.donarmstrong.com:

> reassign 4684 emacs,ns
Bug #4684 [emacs] ispell not recognized when emacs 23 (on OS X) launched from icon
bug reassigned from package 'emacs' to 'emacs,ns'.
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
Warning: Unknown package 'ns'
> stop
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




^ permalink raw reply	[flat|nested] 7+ 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; 7+ 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] 7+ messages in thread

* bug#4684: marked as done (ispell not recognized when emacs 23 (on OS X) launched from icon)
  2009-10-09  3:43 ` bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon stucker
  2009-10-09 11:39   ` Magnus Henoch
  2009-10-09 16:08   ` Glenn Morris
@ 2009-10-17 12:25   ` Emacs bug Tracking System
  2 siblings, 0 replies; 7+ messages in thread
From: Emacs bug Tracking System @ 2009-10-17 12:25 UTC (permalink / raw)
  To: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

Your message dated Sat, 17 Oct 2009 08:20:20 -0400
with message-id <5086AECC-D141-462C-8D22-EC8A50FBD265@gmail.com>
and subject line Re:  ispell not recognized when emacs 23 (on OS X) launched from icon 
has caused the Emacs bug report #4684,
regarding ispell not recognized when emacs 23 (on OS X) launched from icon
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4684: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4684
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3181 bytes --]

From: stucker <brown_emu@yahoo.com>
To: Bug-gnu-emacs@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)
Message-ID: <25815078.post@talk.nabble.com>


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.




[-- Attachment #3: Type: message/rfc822, Size: 3014 bytes --]

From: Adrian Robert <adrian.b.robert@gmail.com>
To: 4684-done@emacsbugs.donarmstrong.com
Cc: stucker <brown_emu@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
Message-ID: <5086AECC-D141-462C-8D22-EC8A50FBD265@gmail.com>

http://emacsbugs.donarmstrong.com/cgi-bin/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.


^ permalink raw reply	[flat|nested] 7+ 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; 7+ 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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5086AECC-D141-462C-8D22-EC8A50FBD265@gmail.com>
2009-10-09  3:43 ` bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon stucker
2009-10-09 11:39   ` Magnus Henoch
2009-10-15  5:23     ` stucker
2009-10-09 16:08   ` Glenn Morris
2009-10-09 16:15     ` Processed: " Emacs bug Tracking System
2009-10-17 12:25   ` bug#4684: marked as done (ispell not recognized when emacs 23 (on OS X) launched from icon) Emacs bug Tracking System
2009-10-31 10:06 bug#4684: ispell not recognized when emacs 23 (on OS X) launched from icon Fabien Tricoire

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).