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: Wed, 28 Oct 2015 02:24:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0

On 10/27/2015 03:52 PM, Stefan Monnier wrote:

I encourage you to fix it.  AFAIK the process.c code is the only one
that relies on the trailing slash.

Any pointers? None of the matches for 'directory' in process.c seem relevant.

I think the current handling of default-directory in process.c (where
anything after the last slash is ignored) is just a bug since it's
inconsistent with other uses (e.g. (let ((default-directory "/a/b"))
(expand-file-name "c")) returns "/a/b/c" as you'd expect and not "/a/c"
as process.c understands it).

Agree.



reply via email to

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