emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 4d3a595: `load-path' should contain only direct


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] master 4d3a595: `load-path' should contain only directory names
Date: Mon, 26 Oct 2015 21:01:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0

On 10/26/2015 08:58 PM, Eli Zaretskii wrote:

We don't advise to rely on that.

AFAICS, Stephen's patch documents the value in detail ("directory file name", "Use `directory-file-name' when adding items to this path"). That's something a programmer might choose to rely on.

We also recommend using
expand-file-name, which should tolerate both.

It's not for all use cases.

If someone wants to fix default-directory to not use the trailing
slash, I don't object.  I just hope we won't have to discuss all the
other variables that hold directory names.

But default-directory is relevant: I actually had to use load-path elements as default-directory values.

All in all, I feel that this bikeshedding episode should end.

I said my part.




reply via email to

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