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 #28 received at 66903 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Allen Li <darkfeline <at> felesatra.moe>
Cc: 66903 <at> debbugs.gnu.org
Subject: Re: bug#66903: 29.1; shell-mode directory tracking incorrectly
 handles double slashes
Date: Fri, 03 Nov 2023 14:07:46 +0200
> From: Allen Li <darkfeline <at> felesatra.moe>
> Date: Fri, 3 Nov 2023 03:43:35 -0700
> Cc: 66903 <at> debbugs.gnu.org
> 
> Currently, `cd ~//bin` will cause the shell (Bash or similar) to change to ~/bin, and Emacs/shell-mode
> will change `default-directory` to `/bin`.
> 
> This bug is saying that Emacs/shell-mode should change `default-directory` to `~/bin` by default,

I think it should change default-directory to the directory to which
the shell switches, not necessarily ~/bin.




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.