[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66903: 29.1; shell-mode directory tracking incorrectly handles doubl
From: |
Eshel Yaron |
Subject: |
bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes |
Date: |
Fri, 03 Nov 2023 13:35:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Eshel Yaron <me@eshelyaron.com>
>> Cc: Allen Li <darkfeline@felesatra.moe>, 66903@debbugs.gnu.org
>> Date: Fri, 03 Nov 2023 09:35:26 +0100
>>
>> Eli Zaretskii <eliz@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?
No, not "must" and not "everything", but if you think about it
intercepting "cd" and altering its argument would make `M-x shell`
incompatible with other shell interfaces, breaking valid command lines
in weird ways. Does that make sense?
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Allen Li, 2023/11/02
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Eli Zaretskii, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Allen Li, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Eli Zaretskii, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Eshel Yaron, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Eli Zaretskii, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes,
Eshel Yaron <=
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Eli Zaretskii, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Stefan Kangas, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Visuwesh, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Allen Li, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Eli Zaretskii, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Allen Li, 2023/11/03
- bug#66903: 29.1; shell-mode directory tracking incorrectly handles double slashes, Eli Zaretskii, 2023/11/04