From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: david@adboyd.com (J. David Boyd) Newsgroups: gmane.emacs.help Subject: Re: shell-popd-regexp not working? Date: Sat, 04 May 2013 21:23:47 -0400 Message-ID: <87d2t6te1o.fsf@adboyd.com> References: <3d754520-0cd8-4183-a01e-894c47c4cf0f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1367717066 30352 80.91.229.3 (5 May 2013 01:24:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 May 2013 01:24:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 05 03:24:25 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UYnga-0006IX-Q3 for geh-help-gnu-emacs@m.gmane.org; Sun, 05 May 2013 03:24:20 +0200 Original-Received: from localhost ([::1]:53996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYnga-0000Nl-CJ for geh-help-gnu-emacs@m.gmane.org; Sat, 04 May 2013 21:24:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYngO-0000Mm-Li for help-gnu-emacs@gnu.org; Sat, 04 May 2013 21:24:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYngM-0001lu-9S for help-gnu-emacs@gnu.org; Sat, 04 May 2013 21:24:08 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:32963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYngM-0001lp-2k for help-gnu-emacs@gnu.org; Sat, 04 May 2013 21:24:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UYngK-00068z-98 for help-gnu-emacs@gnu.org; Sun, 05 May 2013 03:24:04 +0200 Original-Received: from 72.185.97.240 ([72.185.97.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 May 2013 03:24:04 +0200 Original-Received: from david by 72.185.97.240 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 May 2013 03:24:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 72.185.97.240 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:DpVbBrigF/pXlreZkWlp0JqWDWA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90479 Archived-At: Chad Brown writes: > 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. That sounds like a nice function, I'd like to see it work too.