From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1025: marked as done (23.0.60; file name completion fails in *shell* buffer) Date: Thu, 25 Sep 2008 12:35:04 -0700 Message-ID: References: <87abdwrppt.fsf@cyd.mit.edu> <8BEC6757-4D48-4BE0-89CC-C95DE2FF7388@Freenet.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1222371304-16510-0" X-Trace: ger.gmane.org 1222372216 12423 80.91.229.12 (25 Sep 2008 19:50:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 19:50:16 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 21:51:11 2008 connect(): Connection refused 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 1Kiwrk-00026W-KU for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 21:51:09 +0200 Original-Received: from localhost ([127.0.0.1]:43354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kiwqi-0007Oq-5e for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 15:50:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kiwqd-0007O9-Dx for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:49:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kiwqc-0007Ni-JW for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:49:59 -0400 Original-Received: from [199.232.76.173] (port=52811 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kiwqc-0007Nd-DI for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:49:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57947) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kiwqb-0007zV-B9 for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 15:49:58 -0400 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 m8PJnsOm019953; Thu, 25 Sep 2008 12:49:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8PJZ4hI016554; Thu, 25 Sep 2008 12:35:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 1025 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:20782 Archived-At: This is a multi-part message in MIME format... ------------=_1222371304-16510-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 25 Sep 2008 15:27:10 -0400 with message-id <87abdwrppt.fsf@cyd.mit.edu> and subject line Re: 23.0.60; file name completion fails in *shell* buffer has caused the Emacs bug report #1025, regarding 23.0.60; file name completion fails in *shell* buffer to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 1025: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1025 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1222371304-16510-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 25 Sep 2008 15:09:37 +0000 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 m8PF9Wn7015658 for ; Thu, 25 Sep 2008 08:09:34 -0700 Received: from mx10.gnu.org ([199.232.76.166]:37816) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KisRB-0005qf-Dr for emacs-pretest-bug@gnu.org; Thu, 25 Sep 2008 11:07:25 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KisT8-0004Il-MD for emacs-pretest-bug@gnu.org; Thu, 25 Sep 2008 11:09:30 -0400 Received: from mout2.freenet.de ([195.4.92.92]:40997) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KisT6-0004GG-Vy for emacs-pretest-bug@gnu.org; Thu, 25 Sep 2008 11:09:25 -0400 Received: from [195.4.92.14] (helo=4.mx.freenet.de) by mout2.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.69 #65) id 1KisT0-0003mB-0X for emacs-pretest-bug@gnu.org; Thu, 25 Sep 2008 17:09:18 +0200 Received: from p5b23dfde.dip.t-dialin.net ([91.35.223.222]:64899 helo=[192.168.1.2]) by 4.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.69 #65) id 1KisSz-0001OT-H8 for emacs-pretest-bug@gnu.org; Thu, 25 Sep 2008 17:09:17 +0200 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <8BEC6757-4D48-4BE0-89CC-C95DE2FF7388@Freenet.DE> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: emacs-pretest-bug@gnu.org From: Peter Dyballa Subject: 23.0.60; file name completion fails in *shell* buffer Date: Thu, 25 Sep 2008 17:09:07 +0200 X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Hello! When I write in *shell* buffer the command to launch an elderly version of an Emacs application in Mac OS X to pass some arguments to it, I use file name completion. I have to do it in steps. I start with that GNU Emacs does not complain when I later try file name completion and write then "/App" that it becomes / Applications/. I add "Aqu" and . The path name is now expanded to "/Applications/AquaEmacs" with a few choices which are shown in a *Completions* buffer upon next TAB press: Click on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: AquaEmacs-2a.app/ AquaEmacs-bundle.app/ AquaEmacs-pre3.app/ AquaEmacs-zuvor.app/ AquaEmacs.app/ AquaEmacs\ 8.0-rc5.app/ I select the last item, i.e. "AquaEmacs\ 8.0-rc5.app/" so that the command line now shows "/Applications/AquaEmacs\ 8.0-rc5.app/". This directory has only one member: "Contents". So I hit and see: "/ Applications/AquaEmacs 8.0-rc5.app/Contents/". Great! The auxiliary backslashes are removed from the previously ugly view. This directory has a few members. To make a choice I hit again . In *shell* buffer nothing happens, a beep sounds, and a *Backtrace* buffer opens: Debugger entered--Lisp error: (file-error "Opening directory" "no such file or directory" "/Users/pete/8.0-rc5.app/Contents/") file-name-completion("" "/Users/pete/8.0-rc5.app/Contents/") comint-dynamic-complete-as-filename() shell-dynamic-complete-filename() run-hook-with-args-until-success(shell-dynamic-complete-filename) comint-dynamic-complete() call-interactively(comint-dynamic-complete nil nil) So it seems that the decision to remove the backslashes wasn't so clever ... In GNU Emacs 23.0.60.4 (powerpc-apple-darwin8.11.0, GTK+ Version 2.12.11) of 2008-09-22 on localhost Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 configured using `configure '--without-sound' '--without-pop' '-- with-dbus' '--with-libotf' '--enable-locallisppath=/Library/ Application Support/Emacs/calendar23:/Library/Application Support/ Emacs/caml:/Library/Application Support/Emacs:/sw/share/emacs21/site- lisp/elib' 'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/lib/ fontconfig2/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/ pango-ft219/lib/pkgconfig:/sw/lib/qt4-x11/lib/pkgconfig:/sw/lib/ system-openssl/lib/pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/ usr/X11R6/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig' 'CFLAGS=-Wno-pointer-sign -bind_at_load -H -pipe -fPIC -mcpu=7450 - mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-register- move -freorder-blocks -freorder-blocks-and-partition -fthread-jumps - fpeephole -fno-crossjumping' 'CPPFLAGS=-no-cpp-precomp' 'LDFLAGS=- bind_at_load -dead_strip -multiply_defined suppress -L/sw/lib/ncurses'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t tool-bar-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: x s h e l l C-x u o SPC / A p p A q u -- Greetings Pete Mac OS X is like a wigwam: no fences, no gates, but an apache inside. ------------=_1222371304-16510-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1025-done) by emacsbugs.donarmstrong.com; 25 Sep 2008 19:26:44 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8PJQbSM015143 for <1025-done@emacsbugs.donarmstrong.com>; Thu, 25 Sep 2008 12:26:38 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 6416F57E32C; Thu, 25 Sep 2008 15:27:10 -0400 (EDT) From: Chong Yidong To: Peter Dyballa Cc: 1025-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.60; file name completion fails in *shell* buffer Date: Thu, 25 Sep 2008 15:27:10 -0400 Message-ID: <87abdwrppt.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-CrossAssassin-Score: 3 I've just checked in a fix. Thanks. ------------=_1222371304-16510-0--