[Top][All Lists]

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

Re: paths are sensative to double separators

From: Stefan Monnier
Subject: Re: paths are sensative to double separators
Date: Thu, 19 Mar 2009 09:33:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

> It's a feature, as it makes filename entry more convenient, as you can
> enter absolute filenames without erasing the existing path when entering
> a filename.

Yes, it's a feature in find-file (actually in the underlying
`read-file-name' function).  It's normally only used for interactive
filename entry, with one historical exception: `load'.
It's implemented by `substitute-in-file-name' which additionally does
expansion of envvars, so (load "$FOOBAR/lisp/toto.el") also works.

This `load' exception is undesirable, but at this point, it's not clear
whether it's best to fix it or to preserve compatibility.


reply via email to

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