GNU bug report logs - #32218
26.1; default-directory in TRAMP root has two slashes when using find-file-visit-truename

Previous Next

Package: emacs;

Reported by: Allen Li <darkfeline <at> felesatra.moe>

Date: Fri, 20 Jul 2018 01:45:02 UTC

Severity: normal

Tags: fixed

Found in version 26.1

Fixed in version 26.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Allen Li <darkfeline <at> felesatra.moe>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 32218 <at> debbugs.gnu.org
Subject: Re: bug#32218: 26.1; default-directory in TRAMP root has two slashes
 when using find-file-visit-truename
Date: Fri, 20 Jul 2018 19:42:20 -0700
Yes, it's fixed, thanks
On Fri, Jul 20, 2018 at 2:14 AM Michael Albinus <michael.albinus <at> gmx.de> wrote:
>
> Allen Li <darkfeline <at> felesatra.moe> writes:
>
> Hi Allen,
>
> > 1. emacs -q
> > 2. M-: (setq find-file-visit-truename t) RET
> > 3. C-x C-f /sudo::/ RET
> > 4. M-: default-directory RET
> >
> > Expected value: /sudo::/
> > Actual: /sudo:://
>
> Thanks for reporting this.
>
> > I have attached a patch implementing this, made against emacs-26 since
> > this is a straightforward bug fix.
>
> Thanks for this. However, also `tramp-handle-file-truename' and
> `tramp-adb-handle-file-truename' suffer from this bug. It was fixed
> already in the master branch some months ago.
>
> I have cherry-picked that fix back to the emacs-26 branch, could you pls
> recheck that it works for you?
>
> Best regards, Michael.




This bug report was last modified 6 years and 306 days ago.

Previous Next


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