emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exec-path and PATH


From: Wojciech Meyer
Subject: Re: exec-path and PATH
Date: Sun, 20 Mar 2011 22:44:11 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50

Hi Eli,

Eli Zaretskii <address@hidden> writes:

>> From: Christoph Scholtes <address@hidden>
>> Cc: address@hidden
>> Date: Sun, 20 Mar 2011 13:45:50 -0600
>> 
>> However, now I wonder why we have a facility like exec-path at
>> all. Wouldn't the process-environment's PATH be enough?
>
> Because working with a list is much easier than with a single string?

>From the user perspective - yes.

We could have a module to handle operations on PATH which would include
a function to append/prepend a list of paths and then start some
function or code with a path set-up. I know this would be a major change
though. Other solution is exec-path to be just additional set of the
directories that we pre-pend to the PATH.  In both cases however we'd
lose ability to amend the environment which might be not desirable I
agree.

Thanks,
Wojciech



reply via email to

[Prev in Thread] Current Thread [Next in Thread]