GNU bug report logs - #66903
29.1; shell-mode directory tracking incorrectly handles double slashes

Previous Next

Package: emacs;

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

Date: Fri, 3 Nov 2023 00:16:01 UTC

Severity: wishlist

Found in version 29.1

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eshel Yaron <me <at> eshelyaron.com>
Cc: 66903 <at> debbugs.gnu.org, darkfeline <at> felesatra.moe
Subject: Re: bug#66903: 29.1; shell-mode directory tracking incorrectly
 handles double slashes
Date: Fri, 03 Nov 2023 14:02:19 +0200
> From: Eshel Yaron <me <at> eshelyaron.com>
> Cc: Allen Li <darkfeline <at> felesatra.moe>,  66903 <at> debbugs.gnu.org
> Date: Fri, 03 Nov 2023 09:35:26 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I think we disagree about what should be fixed: the value of
> > default-directory or the directory to which "cd ~//bin" switches.
> 
> IIUC what you're implying here is that "cd ~//bin" should actually
> switch the shell's current directory to /bin instead of ~/bin, is that
> right?

Yes.

> I just wanted to note that this is not really an option with M-x shell,
> because it is the shell, and not Emacs, that interprets "cd" and changes
> directory.

You assume that shell.el must send everything the user types verbatim
to the shell?




This bug report was last modified 1 year and 224 days ago.

Previous Next


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