GNU bug report logs - #21104
25.0.50; relative paths are added to load-path without -nsl

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Tue, 21 Jul 2015 17:27:01 UTC

Severity: normal

Merged with 21353

Found in version 25.0.50

Done: Anders Lindgren <andlind <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> suse.de>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: Glenn Morris <rgm <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>, Keith David Bershatsky <esq <at> lawlist.com>, 21104 <at> debbugs.gnu.org
Subject: bug#21104: 25.0.50; relative paths are added to load-path without -nsl (bug#21104)
Date: Wed, 09 Dec 2015 09:49:51 +0100
Anders Lindgren <andlind <at> gmail.com> writes:

> However, I think it behaves strange:
>
> For example (on a Linux machine):
>     env EMACSPATH=::/home::/bar:: emacs -q --batch --eval '(print
> exec-path)'
>    ("/usr/lib/lightdm/lightdm" "/usr/local/sbin" "/usr/local/bin"
> "/use/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "." "." "/home" "." "."
> "/bar" "." ".")
>
> Here, I don't think the ".":s should be included.

You get what you asked for.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 9 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.