From: Chad Brown <yandros@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: shell-popd-regexp not working?
Date: Sat, 4 May 2013 20:39:20 -0700 (PDT) [thread overview]
Message-ID: <3ba721a1-46fb-4aef-bb7d-91495234998f@googlegroups.com> (raw)
In-Reply-To: <3d754520-0cd8-4183-a01e-894c47c4cf0f@googlegroups.com>
Short form: Pilot error; problem resolved.
On Saturday, May 4, 2013 4:23:04 PM UTC-7, Chad Brown wrote:
> if I use `bd' in a shell buffer, emacs does not change the current directory.
I think I've said something confusing; let me try again:
If I use `bd' in a shell buffer, the current directory for the shell changes, but emacs doesn't realize it changed (shell-mode normally tracks the shell's cwd so that it becomes the default for emacs file operations from that buffer).
The problem seems to be that I didn't also set shell-popd-regexp, so shell-mode didn't realize I was pushing directories onto the stack. Setting both regexp seems to DTRT.
Thanks, everyone!
next prev parent reply other threads:[~2013-05-05 3:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 23:23 shell-popd-regexp not working? Chad Brown
2013-05-05 1:09 ` Barry Margolin
2013-05-05 1:23 ` J. David Boyd
2013-05-05 2:39 ` Drew Adams
2013-05-05 3:39 ` Chad Brown [this message]
2013-05-05 3:51 ` Barry Margolin
[not found] ` <mailman.25142.1367721572.855.help-gnu-emacs@gnu.org>
2013-05-05 3:53 ` Barry Margolin
2013-05-05 13:23 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ba721a1-46fb-4aef-bb7d-91495234998f@googlegroups.com \
--to=yandros@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.