GNU bug report logs - #26911
25.2; eshell "cd .." doesn't work correctly with TRAMP

Previous Next

Package: emacs;

Reported by: Yegor Timoshenko <yegortimoshenko <at> gmail.com>

Date: Sat, 13 May 2017 16:39:02 UTC

Severity: normal

Tags: confirmed

Found in version 25.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 26911 <at> debbugs.gnu.org, mattiase <at> acm.org, michael.albinus <at> gmx.de,
 yegortimoshenko <at> gmail.com
Subject: Re: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP
Date: Fri, 28 Aug 2020 22:52:28 -0700
[Message part 1 (text/plain, inline)]
On 8/28/20 3:48 AM, Eli Zaretskii wrote:
> That period after the colon following the drive letter shouldn't be
> there.  As you may imagine, many Emacs commands are now broken because
> of this.  This must be fixed ASAP.

I installed the attached patch to revert the recent expand-file-changes in the 
DOS_NT case, which should fix the problem you mentioned.

This part of fileio.c is hard to follow because of the #ifdef DOS_NT and #ifdef 
WINDOWSNT and #ifdef MSDOS and whatnot. How about if we move the 
MS-Windows-specific code to a different source file instead of having that 
forest of ifdefs in fileio.c? As things stand, it's hard to maintain the 
mainline GNU code, because the way everything's arranged the Microsoft-specific 
stuff significantly obfuscates everything else.
[0001-Revert-recent-expand-file-name-changes-if-DOS_NT.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 257 days ago.

Previous Next


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