unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* exec-path question
@ 2011-02-26  3:51 Ben Key
  2011-02-26  9:47 ` Chad Brown
  2011-02-26  9:48 ` Mark Tran
  0 siblings, 2 replies; 6+ messages in thread
From: Ben Key @ 2011-02-26  3:51 UTC (permalink / raw)
  To: Emacs-devel

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

Hello,

I have a question about the exec-path variable.  I am using the Nextstep
build of Emacs on Mac OS X 10.6.6.  In both Emacs 23.2 and Emacs 24.0, the
"/usr/local/bin" directory is not included in the list, even though it is
included in my PATH environment variable.  In Emacs 23.2, the exec-path
variable has the value ("/usr/bin" "/bin" "/usr/sbin" "/sbin"
"/Applications/Emacs.app/Contents/MacOS/bin").  In Emacs 24, the exec-path
variable has the value ("/usr/bin" "/bin" "/usr/sbin" "/sbin"
"/Applications/Emacs24.app/Contents/MacOS/bin").  In Emacs 24 the following
additional information is provided.

Original value was ("/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/bin"
"/usr/X11/bin" "/Users/bkey/src/emacs/trunk/lib-src"
"/Users/bkey/src/emacs/trunk/nextstep/Emacs.app/Contents/MacOS//libexec/emacs/24.0.50/x86_64-apple-darwin10.6.0")

It looks like, at least in Emacs 24, the "/usr/local/bin" directory is
initially included in the exec-path but is latter removed for some reason.

In both versions of Emacs, the  "/usr/local/bin" directory is included in
the path if I run Emacs from the command line using the full path to the
Emacs executable.  It is also included in the path if am debugging Emacs
using GDB so I at a loss as to how best to discover the cause of the
problem.  I only get the problem if I start Emacs using the icon in the
Applications menu, which is my preferred method of starting Emacs.

I need the "/usr/local/bin" directory to be included in my exec-path because
I wish to use the ispell function and my hunspell executable is located
there.  I know I can simply modify my .emacs file to add the
"/usr/local/bin" directory to the exec-path, but I should not have to do
that.  Emacs should not be removing this directory from the exec-path.

Does anyone have any idea how I should go about tracking down the cause of
this problem?

[-- Attachment #2: Type: text/html, Size: 2320 bytes --]

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

end of thread, other threads:[~2011-02-28 16:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26  3:51 exec-path question Ben Key
2011-02-26  9:47 ` Chad Brown
2011-02-26  9:48 ` Mark Tran
2011-02-27  4:11   ` Ben Key
2011-02-27  8:50   ` Harald Hanche-Olsen
2011-02-28 16:16     ` Harald Hanche-Olsen

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