GNU bug report logs - #26156
26.0.50; expand-file-name fails to expand ~ if tramp is loaded and "/" is specified

Previous Next

Package: emacs;

Reported by: mano155 <at> gmail.com

Date: Sat, 18 Mar 2017 15:52:03 UTC

Severity: normal

Found in version 26.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: mano155 <at> gmail.com
Cc: 26156 <at> debbugs.gnu.org
Subject: bug#26156: 26.0.50; expand-file-name fails to expand ~ if tramp is loaded and "/" is specified
Date: Sat, 18 Mar 2017 17:46:55 +0100
mano155 <at> gmail.com writes:

Hi,

> On the most recent version, if tramp is loaded, expand-file-name does
> not expand ~ properly when the second argument is "/". This breaks
> breaks magit-clone, though weirdly, that command only fails if the
> active point is in a dired buffer. To clarify, "~" is absolute (per the
> docstring for file-name-absolute-p), but it is not canonical (per the
> docstring for expand-file-name).

I've pushed a fix to master, could you pls check?

Best regards, Michael.




This bug report was last modified 8 years and 70 days ago.

Previous Next


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