From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1438: 23.0.60; Wrong file/directory completion in *shell* buffers Date: Thu, 27 Nov 2008 09:24:38 +0100 Message-ID: <87skpdtw3d.fsf@thinkpad.tsdh.de> Reply-To: Tassilo Horn , 1438@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 1227774638 12795 80.91.229.12 (27 Nov 2008 08:30:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2008 08:30:38 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 09:31:36 2008 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 1L5cHd-0000kL-Tq for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 09:31:34 +0100 Original-Received: from localhost ([127.0.0.1]:32973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5cGU-000194-4y for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2008 03:30:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L5cGP-00018p-LC for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 03:30:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L5cGO-00018B-Sv for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 03:30:17 -0500 Original-Received: from [199.232.76.173] (port=51745 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L5cGO-000186-8S for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 03:30:16 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45510) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L5cGN-0006P4-Lb for bug-gnu-emacs@gnu.org; Thu, 27 Nov 2008 03:30:16 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAR8UBRK002214; Thu, 27 Nov 2008 00:30:11 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAR8U3px001694; Thu, 27 Nov 2008 00:30:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 27 Nov 2008 08:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1438 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1227774292357 (code B ref -1); Thu, 27 Nov 2008 08:30:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 27 Nov 2008 08:24:52 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAR8OlSi000351 for ; Thu, 27 Nov 2008 00:24:49 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:41799 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L5cAm-0003fV-6l for emacs-pretest-bug@gnu.org; Thu, 27 Nov 2008 03:24:28 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L5cB2-0005Z5-BR for emacs-pretest-bug@gnu.org; Thu, 27 Nov 2008 03:24:46 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:19454) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5cB1-0005Yh-Qa for emacs-pretest-bug@gnu.org; Thu, 27 Nov 2008 03:24:44 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 74393789AD89 for ; Thu, 27 Nov 2008 09:24:41 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30711-02 for ; Thu, 27 Nov 2008 09:24:38 +0100 (CET) X-CHKRCPT: Envelopesender vrfy thorn@fastmail.fm Original-Received: from thinkpad.tsdh.de (dhcp83.uni-koblenz.de [141.26.71.83]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 90BD1789AD86 for ; Thu, 27 Nov 2008 09:24:38 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 27 Nov 2008 03:30:16 -0500 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:22711 gmane.emacs.pretest.bugs:23410 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: With ZSH (and maybe some option I'm not aware of) you can go up one directory by typing ".." as a shorthand for "cd ..". Now I have this directory tree. foo/ foo/bar/ foo/baz/ foo/baz/one/ foo/baz/two/ I invoke `shell' and change to foo/baz/. Now I type cd TAB and the completion shows one/ and two/. Now I go up one directory with "..". Another cd TAB shows again the completions one/ and two/, but I'm in foo/ (as `pwd' says) now and the correct completions would be bar/ and baz/. So it seems `default-directory' is only updated with "cd ..", but not for the shorthand "..". The same applies if I have an alias xxx="cd foo/bar/baz". Then xxx RET cd TAB will print the completions for the directory I was before. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.4) of 2008-11-25 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t rcirc-track-minor-mode: t yas/minor-mode: t shell-dirtrack-mode: t recentf-mode: t iswitchb-mode: t window-number-meta-mode: t window-number-mode: t savehist-mode: t exec-abbrev-cmd-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: b r i c h t SPC s i e SPC d a n n SPC w i e d e r SPC i m u m . . . C-k C-k C-k C-k C-k C-k C-k C-k g C-c C-c q c c SPC SPC SPC SPC SPC c B y q l s 1 g C-c s . . . . c d SPC j g r p w d l s c d SPC j g r . . c d SPC p w d ~ c d SPC u n c d SPC . C-x k C-c s c d SPC u n r j g r . . c d SPC c d SPC j g r a l a b c d SPC l s c d SPC a n t M-x r e b r p o r e p o Recent messages: Completed [2 times] Partially completed ~/uni/repos/jgralab Type space to flush; repeat completion command to scroll call-interactively: Text is read-only [6 times] Type space to flush; repeat completion command to scroll call-interactively: Text is read-only [5 times] Type space to flush; repeat completion command to scroll call-interactively: Text is read-only [4 times] call-interactively: End of buffer [8 times] -- No person, no idea, and no religion deserves to be illegal to insult, not even the Church of Emacs. (Richard M. Stallman)