[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exec-path and PATH
From: |
Christoph Scholtes |
Subject: |
Re: exec-path and PATH |
Date: |
Sun, 20 Mar 2011 13:45:50 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
Eli Zaretskii <address@hidden> writes:
> PATH in process-environment is not used within Emacs except to pass it
> to sub-processes. Why would we want to restore its value after the
> sub-process exits?
Sorry Eli. This was my mistake. I was under the wrong impression that
Emacs worked with the OS's PATH directly and not with its own copy of
it. After looking at process-environment and the setenv function
documentation I see how it works.
However, now I wonder why we have a facility like exec-path at
all. Wouldn't the process-environment's PATH be enough?
(start|call)-process could look at PATH directly instead of
exec-path. This would also solve the problem of having to keep two
separate path collections (PATH and exec-path) up to date.
I saw that quite a few functions use exec-path, so I am not necessarily
suggesting to change it. I am just curious.
Christoph
- exec-path and PATH, Christoph Scholtes, 2011/03/18
- Re: exec-path and PATH, Eli Zaretskii, 2011/03/19
- Re: exec-path and PATH, Christoph Scholtes, 2011/03/19
- Re: exec-path and PATH, Eli Zaretskii, 2011/03/19
- Re: exec-path and PATH, Christoph Scholtes, 2011/03/19
- Re: exec-path and PATH, Eli Zaretskii, 2011/03/19
- Re: exec-path and PATH,
Christoph Scholtes <=
- Re: exec-path and PATH, Eli Zaretskii, 2011/03/20
- Re: exec-path and PATH, Eric Hanchrow, 2011/03/20
- Re: exec-path and PATH, Eric Schulte, 2011/03/21
- Re: exec-path and PATH, Wojciech Meyer, 2011/03/20
Re: exec-path and PATH, Christoph Scholtes, 2011/03/19
Re: exec-path and PATH, Eli Zaretskii, 2011/03/19