From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chad Brown Newsgroups: gmane.emacs.help Subject: Re: shell-popd-regexp not working? Date: Sat, 4 May 2013 20:39:20 -0700 (PDT) Message-ID: <3ba721a1-46fb-4aef-bb7d-91495234998f@googlegroups.com> References: <3d754520-0cd8-4183-a01e-894c47c4cf0f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1367729675 26581 80.91.229.3 (5 May 2013 04:54:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 May 2013 04:54:35 +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 06:54:34 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 1UYqy2-00033m-GR for geh-help-gnu-emacs@m.gmane.org; Sun, 05 May 2013 06:54:34 +0200 Original-Received: from localhost ([::1]:38502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYqy2-0003aE-2P for geh-help-gnu-emacs@m.gmane.org; Sun, 05 May 2013 00:54:34 -0400 X-Received: by 10.224.75.137 with SMTP id y9mr26860230qaj.3.1367725161131; Sat, 04 May 2013 20:39:21 -0700 (PDT) X-Received: by 10.50.153.101 with SMTP id vf5mr244518igb.11.1367725161094; Sat, 04 May 2013 20:39:21 -0700 (PDT) Original-Path: usenet.stanford.edu!m7no2223326qam.0!news-out.google.com!y6ni0qax.0!nntp.google.com!m7no2223325qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <3d754520-0cd8-4183-a01e-894c47c4cf0f@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=98.247.148.125; posting-account=5Z6buAoAAADgRMWEUoxk6dYFDpaBU92D Original-NNTP-Posting-Host: 98.247.148.125 User-Agent: G2/1.0 Injection-Date: Sun, 05 May 2013 03:39:21 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:198221 X-Mailman-Approved-At: Sun, 05 May 2013 00:53:39 -0400 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:90502 Archived-At: 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!