unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: NT Emacs and Cygwin
Date: Sun, 28 Nov 2004 21:15:39 +0100	[thread overview]
Message-ID: <x5act1687o.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.2030.1101672934.27204.help-gnu-emacs@gnu.org

"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

  parent reply	other threads:[~2004-11-28 20:15 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 [this message]
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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x5act1687o.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /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.
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).