bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32218: 26.1; default-directory in TRAMP root has two slashes when us


From: Michael Albinus
Subject: bug#32218: 26.1; default-directory in TRAMP root has two slashes when using find-file-visit-truename
Date: Fri, 20 Jul 2018 11:14:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Allen Li <darkfeline@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.





reply via email to

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