GNU bug report logs -
#11962
23.4; shell-process-cd called before executing command in shell, but must after.
Previous Next
Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>
Date: Tue, 17 Jul 2012 19:32:02 UTC
Severity: normal
Tags: moreinfo
Found in version 23.4
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11962 in the body.
You can then email your comments to 11962 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11962
; Package
emacs
.
(Tue, 17 Jul 2012 19:32:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Oleksandr Gavenko <gavenkoa <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 17 Jul 2012 19:32:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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). After debugging functions in
'lisp/shell.el.gz' I found that 'shell-process-cd' call 'shell-cd' which call
'cd' which fail as I believe because 'cd' called before 'md' actually passed
to shell (directory does not exist and 'cd' fail)...
I think shell mode need to wait some mark that command processed (like waiting
for prompt). This fix my bug report automatically.
--
Best regards!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11962
; Package
emacs
.
(Mon, 07 Dec 2020 17:14:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 11962 <at> debbugs.gnu.org (full text, mbox):
Oleksandr Gavenko <gavenkoa <at> 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
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 07 Dec 2020 17:14:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11962
; Package
emacs
.
(Wed, 20 Jan 2021 17:08:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 11962 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> I was unable to reproduce this bug in Emacs 28. Are you still seeing
> this in recent Emacs versions?
More information was requested, but no response was given within a
month, so I'm closing this bug report. If the problem still exists,
please respond to this email and we'll reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
11962 <at> debbugs.gnu.org and Oleksandr Gavenko <gavenkoa <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 20 Jan 2021 17:08:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 18 Feb 2021 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 200 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.