unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Oleksandr Gavenko <gavenkoa@gmail.com>
Cc: 11962@debbugs.gnu.org
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	[thread overview]
Message-ID: <87mtypczfr.fsf@gnus.org> (raw)
In-Reply-To: <87pq7unqb3.fsf@desktop.home.int> (Oleksandr Gavenko's message of "Tue, 17 Jul 2012 22:25:04 +0300")

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





  reply	other threads:[~2020-12-07 17:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 19:25 bug#11962: 23.4; shell-process-cd called before executing command in shell, but must after Oleksandr Gavenko
2020-12-07 17:12 ` Lars Ingebrigtsen [this message]
2021-01-20 17:07   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtypczfr.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=11962@debbugs.gnu.org \
    --cc=gavenkoa@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).