From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: *shell* TAB *Completions* fooled by $PWD/ Date: 08 Jul 2002 05:13:59 +0800 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <87vg7rutpk.fsf@jidanni.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026104129 26846 127.0.0.1 (8 Jul 2002 04:55:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2002 04:55:29 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17RQYb-0006yt-00 for ; Mon, 08 Jul 2002 06:55:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17RQZD-0007hU-00; Mon, 08 Jul 2002 00:56:07 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173] helo=monty-python) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17RPmo-00016k-01 for ; Mon, 08 Jul 2002 00:06:06 -0400 Original-Received: from chx400.switch.ch ([130.59.10.2]) by monty-python with esmtp (Exim 4.05) id 17RJtW-00027a-00 for bug-gnu-emacs@prep.ai.mit.edu; Sun, 07 Jul 2002 17:48:39 -0400 Original-Received: from mail.fu-berlin.de ([160.45.11.165]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 17RJtV-00065O-00 for gnu-emacs-bug@moderators.isc.org; Sun, 07 Jul 2002 23:48:37 +0200 Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Sun, 7 Jul 2002 23:48:34 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Sun, 7 Jul 2002 23:48:34 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 61-227-44-249.hinet-ip.hinet.NET!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 14 X-Orig-NNTP-Posting-Host: 61-227-44-249.hinet-ip.hinet.net (61.227.44.249) X-Orig-X-Trace: fu-berlin.de 1026078513 20810454 61.227.44.249 (16 [99749]) X-Orig-Path: 127.0.0.1!nobody User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2501 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2501 dOOds, I found a real bug! Well! Just the other day I was, (In a *shell* buffer) mmm, out about town you might say. Well, at least not in my home directory. Oh, and did I tell you I was *root* too. Anyways, you can see I was not in my home directory by the prompt. I kid you not. Anyways, OK, I put the cursor at the end of the line you see here ppp# more ~/bin/modemspeedlogger.sh $PWD/ And hit TAB and low and behold, it gave me all kinds of choices appropriate for root's home dir, not the current dir. which it knew very well as seen by M-x pwd, M-! env also shows PWD was /etc/ppp . -- http://jidanni.org/ Taiwan(04)25854780