[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11962: 23.4; shell-process-cd called before executing command in she
From: |
Lars Ingebrigtsen |
Subject: |
bug#11962: 23.4; shell-process-cd called before executing command in shell, but must after. |
Date: |
Mon, 07 Dec 2020 18:12:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Oleksandr Gavenko <gavenkoa@gmail.com> writes:
> In GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
> of 2012-04-07 on trouble, modified by Debian
>
> I found md function useful under Bash:
>
> md () { mkdir -p "$1" && cd "$1"; }
>
> as it save duplicate directory name typing. I decide to teach Emacs understand
> this keyword. Natural way to do so is to modify:
>
> (setq shell-cd-regexp "[cm]d")
>
> But I explore that this setting does not teach Emacs follow into directory
> (default-directory still not updated).
(This bug report unfortunately got no response at the time.)
I was unable to reproduce this bug in Emacs 28. Are you still seeing
this in recent Emacs versions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#11962: 23.4; shell-process-cd called before executing command in shell, but must after.,
Lars Ingebrigtsen <=