From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#3846: *shell-mode* error Date: Tue, 14 Jul 2009 14:03:05 -0400 Message-ID: <5mfxcz5ehy.fsf@fencepost.gnu.org> References: <8491154.2309531247582054820.JavaMail.www@wwinf4621> Reply-To: Glenn Morris , 3846@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247595469 961 80.91.229.12 (14 Jul 2009 18:17:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2009 18:17:49 +0000 (UTC) Cc: 3846@emacsbugs.donarmstrong.com To: alinsoar@voila.fr Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 14 20:17:42 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQmZR-0006xa-Ob for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jul 2009 20:17:42 +0200 Original-Received: from localhost ([127.0.0.1]:41505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQmZQ-0003vB-VB for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jul 2009 14:17:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQmZL-0003sr-Vx for bug-gnu-emacs@gnu.org; Tue, 14 Jul 2009 14:17:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQmZH-0003pM-DN for bug-gnu-emacs@gnu.org; Tue, 14 Jul 2009 14:17:35 -0400 Original-Received: from [199.232.76.173] (port=48731 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQmZH-0003pC-B3 for bug-gnu-emacs@gnu.org; Tue, 14 Jul 2009 14:17:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56132) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQmZG-00005k-S8 for bug-gnu-emacs@gnu.org; Tue, 14 Jul 2009 14:17:31 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6EIHSGE014073; Tue, 14 Jul 2009 11:17:28 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6EIA6g3012651; Tue, 14 Jul 2009 11:10:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 14 Jul 2009 18:10:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3846 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3846-submit@emacsbugs.donarmstrong.com id=B3846.124759464410863 (code B ref 3846); Tue, 14 Jul 2009 18:10:06 +0000 Original-Received: (at 3846) by emacsbugs.donarmstrong.com; 14 Jul 2009 18:04:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6EI38YS010787; Tue, 14 Jul 2009 11:03:09 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MQmLK-0005D3-10; Tue, 14 Jul 2009 14:03:06 -0400 X-Spook: Rubin Audiotel Ermes emc Attorney General bank Fortezza X-Ran: pq9rn[Rm8!ms,b/eJcdL-GBN(Fd+]5)lQ6)jirGgoEIE=sTx4>pQ;he2_+'1+igfq8/@.- X-Hue: blue X-Attribution: GM In-Reply-To: <8491154.2309531247582054820.JavaMail.www@wwinf4621> (A. Soare's message of "Tue, 14 Jul 2009 16:34:14 +0200 (CEST)") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 14 Jul 2009 14:17:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29418 Archived-At: tags 3864 moreinfo stop "A. Soare" wrote: > On the contrary, when I memorize the current directory (X) using > pushd, then I make cd , then I execute popd, the > *Completion* buffer will show the files from the directory > , even I executed in the meantime popd. It should have > displayed the files from X... The precise recipe is missing, but the following sequence: emacs -Q -f shell cd /tmp pushd is not a valid sequence in the bash shell, because pushd with no arguments exchanges the top two elements in the directory stack, and the directory stack is empty at this point. This on the other hand works fine, as it should: emacs -Q -f shell cd /tmp pushd /usr cd bin popd If you are using tcsh with pushdtohome set, you want to set shell-pushd-tohome. You need to provide a recipe from emacs -Q that says what the problem is, what your shell is, and any relevant shell options you have set.