[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NT Emacs and Cygwin
From: |
Håkon Alstadheim |
Subject: |
Re: NT Emacs and Cygwin |
Date: |
Mon, 29 Nov 2004 10:38:14 GMT |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
"Eli Zaretskii" <eliz@gnu.org> writes:
>> From: David Kastrup <dak@gnu.org>
>> Date: Sun, 28 Nov 2004 21:15:39 +0100
>>
>> > 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")
>
> IIRC, exec-path is effective only for programs for which Emacs
> actively looks for the program's executable. Examples include
> programs that are part of the Emacs distribution, like hexl. I
> assumed the OP was complaining about commands like M-!, for which
> Emacs does not look for the executable, but lets the OS find them.
In which case the SETENV should work, since sub-shells will be
affected by the SETENV call.
M-x grep, M-x find-* would (I guess) benefit from having exec-path
adjusted.
--
Håkon Alstadheim, hjemmepappa.