From: Elvin Peterson <elvin_peterson@yahoo.com>
Subject: Re: NT Emacs and Cygwin
Date: Mon, 29 Nov 2004 23:57:26 +0530 [thread overview]
Message-ID: <316f1nF3851rlU1@individual.net> (raw)
In-Reply-To: <m0mzx1549w.fsf@alstadheim.priv.no>
Håkon Alstadheim wrote:
> "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.
>
Exactly--since emacs spawns a new cmd shell, it should pass the new PATH
value along. However, I find that many OS specific functions are simply
not implemented in Windows for Emacs. (ref my post earlier about the
allowable characters in a filename not being implemented.)
Thanks to all who replied.
prev parent reply other threads:[~2004-11-29 18:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-28 15:54 NT Emacs and Cygwin Elvin Peterson
2004-11-28 20:02 ` Eli Zaretskii
[not found] ` <mailman.2030.1101672934.27204.help-gnu-emacs@gnu.org>
2004-11-28 20:15 ` David Kastrup
2004-11-29 4:41 ` Eli Zaretskii
[not found] ` <mailman.2088.1101704044.27204.help-gnu-emacs@gnu.org>
2004-11-29 10:38 ` Håkon Alstadheim
2004-11-29 18:27 ` Elvin Peterson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=316f1nF3851rlU1@individual.net \
--to=elvin_peterson@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.