unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: 16861@debbugs.gnu.org
Subject: bug#16861: 24.3; Eshell /.. eshell/pwd Bug
Date: Mon, 24 Feb 2014 11:13:07 +0100	[thread overview]
Message-ID: <87a9dgzumk.fsf@gmail.com> (raw)
In-Reply-To: <CAAmySGPCyJW4i=KDT3efGMtPj2Ah4daQ+dSrLiv2DxPuUhirJg@mail.gmail.com>

Andreas Schwab <schwab@suse.de> writes:

> "R. Michael Weylandt" <michael.weylandt@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 






  reply	other threads:[~2014-02-24 10:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-24  3:30 bug#16861: 24.3; Eshell /.. eshell/pwd Bug R. Michael Weylandt
2014-02-24  9:30 ` Andreas Schwab
2014-02-24 10:13   ` Thierry Volpiatto [this message]
2014-02-24 10:23     ` Andreas Schwab
2014-02-24 10:29       ` Thierry Volpiatto
2014-02-24 10:34         ` Andreas Schwab
2014-02-24 11:13           ` Thierry Volpiatto
2014-02-24 15:39   ` R. Michael Weylandt <michael.weylandt@gmail.com>
2014-03-03  6:57     ` Thierry Volpiatto
2022-02-05 22:57 ` Lars Ingebrigtsen
2022-02-06 16:30   ` Michael Weylandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a9dgzumk.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=16861@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).