[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NT Emacs and Cygwin
From: |
David Kastrup |
Subject: |
Re: NT Emacs and Cygwin |
Date: |
Sun, 28 Nov 2004 21:15:39 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
"Eli Zaretskii" <eliz@gnu.org> writes:
>> From: Elvin Peterson <elvin_peterson@yahoo.com>
>> Date: Sun, 28 Nov 2004 21:24:44 +0530
>>
>> I am using
>>
>> (setenv "PATH" (concat (getenv "PATH") ";C:\\cygwin\\bin"))
>>
>> to add cygwin's path, but emacs cannot find the executables.
>
> setenv modifies the environment that Emacs passes to its subprocesses,
> but doesn't affect the environment Emacs itself uses. Thus, the value
> of PATH seen by Emacs will not change after the above.
>
> You need to modify PATH outside of Emacs, and before Emacs is invoked,
> to get what you want.
Not necessarily.
exec-path's value is
("/usr/kerberos/bin" "/usr/local/bin" "/usr/bin" "/bin" "/usr/X11R6/bin"
"/home/dak/bin" "/usr/local/emacs-21/libexec/emacs/21.3.50/i686-pc-linux-gnu")
*List of directories to search programs to run in subprocesses.
Each element is a string (directory name) or nil (try default directory).
You can customize this variable.
Defined in `C source code'.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum