GNU bug report logs - #16861
24.3; Eshell /.. eshell/pwd Bug

Previous Next

Package: emacs;

Reported by: "R. Michael Weylandt" <michael.weylandt <at> gmail.com>

Date: Mon, 24 Feb 2014 03:40:02 UTC

Severity: minor

Found in version 24.3

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#16861: 24.3; Eshell /.. eshell/pwd Bug
Date: Mon, 24 Feb 2014 11:13:07 +0100
Andreas Schwab <schwab <at> suse.de> writes:

> "R. Michael Weylandt" <michael.weylandt <at> gmail.com> writes:
>
>> Enter eshell, change to / and then cd to ".." and eshell/pwd reports
>> "/.." instead of the canonical "/":
>
> (expand-file-name ".." "/") -> "/.."
>
> See its doc string.

We are speaking here of `eshell/pwd' which should return "/" like
`*pwd', `expand-filename' is unrelated to this.
The prompt of eshell is also showing "/.." which is not correct.

Try (setq eshell-pwd-convert-function 'file-truename)

Which fix the problem.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





This bug report was last modified 3 years and 163 days ago.

Previous Next


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