[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-popd-regexp not working?
From: |
Barry Margolin |
Subject: |
Re: shell-popd-regexp not working? |
Date: |
Sat, 04 May 2013 21:09:19 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <3d754520-0cd8-4183-a01e-894c47c4cf0f@googlegroups.com>,
Chad Brown <yandros@gmail.com> wrote:
> I've long used the alias `bd' for popd, but I've never bothered to
> make it work in emacs' shell mode before. Today, I ran into the
> issue again, and I decided to fix it. After looking at the doc, I
> customized shell-popd-regexp from `popd' to `bd'. It doesn't seem
> to do what I thought it should do: if I use `bd' in a shell buffer,
> emacs does not change the current directory.
>
> Am I doing something wrong here? I'm not very familiar with
> shell-mode.
Does it properly update when you use "cd", "pushd", etc.? If not, maybe
your prompt doesn't match the pattern for that.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***