From unknown Mon Aug 18 04:42:31 2025 X-Loop: don@donarmstrong.com Subject: bug#274: 23.0.60; command paths are not expanded in *shell* buffer Reply-To: Peter Dyballa , 274@debbugs.gnu.org Resent-From: Peter Dyballa Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 18 May 2008 18:05:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 274 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121113342021395 (code B ref -1); Sun, 18 May 2008 18:05:06 +0000 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=-1.9 required=4.0 tests=AWL,BAYES_00,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 May 2008 17:57:00 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4IHutlg021389 for ; Sun, 18 May 2008 10:56:57 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 11B502CFC97; Sun, 18 May 2008 13:56:54 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E21C82CF9EE for ; Sun, 18 May 2008 13:56:54 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 15FF23B8B64 for ; Sun, 18 May 2008 13:56:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:47334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxn7j-0000hD-TY for monnier@iro.umontreal.ca; Sun, 18 May 2008 13:56:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jxn7K-0000f7-TW for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jxn7J-0000eH-93 for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:18 -0400 Received: from [199.232.76.173] (port=38744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxn7J-0000eB-0B for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:17 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:58955) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jxn7I-00051N-HY for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:16 -0400 Received: from mx10.gnu.org ([199.232.76.166]:59470) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jxn68-0001kc-8t for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 13:55:04 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jxn7D-00050L-Jw for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 13:56:16 -0400 Received: from mout4.freenet.de ([195.4.92.94]:46444) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jxn7D-0004zc-1g for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 13:56:11 -0400 Received: from [195.4.92.24] (helo=14.mx.freenet.de) by mout4.freenet.de.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.69 #19) id 1Jxn79-0000Yq-Sr for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 19:56:07 +0200 Received: from fcd1f.f.ppp-pool.de ([195.4.205.31]:60607 helo=[192.168.1.2]) by 14.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.69 #12) id 1Jxn79-0000M8-GN for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 19:56:07 +0200 Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: quoted-printable Message-Id: <61D1EAB9-5B39-4E41-B22D-B34B51E4CE30@Freenet.DE> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: emacs-pretest-bug@gnu.org From: Peter Dyballa Date: Sun, 18 May 2008 19:56:05 +0200 X-Mailer: Apple Mail (2.753) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.6, requis 5, autolearn=not spam, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Hello! After launching GNU Emacs with -Q and creating a *shell* buffer (with =20= tcsh 6.12.00 (Astron) 2002-07-23 (powerpc-apple-darwin) options =20 8b,nls,dl,al,kan,sm,rh,color,dspm,filec) I can't expand the absolute =20 path of GNU Emacs. It does not work when I start typing /us nor =20 does it work when I insert a before the /us start of the path =20 name. (When I type to get rid of everything typed tcsh asks me =20 whether /usr is OK, autocorrect and 'correct =3D all' are set). It also =20= fails with relative paths. It works (with absolute and relative paths) when I start the command =20 with another word (some command or alias). When I then type to =20 complete, a *Completions* buffer is created showing me case-=20 insensitive completions. When I now select with the mouse a =20 candidate, part of what I had typed before is deleted. To start with =20 my example: I had written 'l /us' and then pressed I selected with mouse-2 from the two presented completions = 'Users/' =20 and 'usr/' the latter command line now showed: usr/ I can undo and start again. I can start in a new *shell* buffer to =20 type /us , which leads to nothing, and then change to: C-a =20= l C-e and completion works suddenly ('l' is an alias for =20 ls, but I could also insert 'a' or 'I' which are neither commands nor =20= aliases nor shell functions in Bourne shell alikes). The deletion =20 also happens with file names, for example with 'l .emacs mouse-2'. The presence of a ~/.emacs_tcsh file place no role. The type of shell =20= plays no role, i.e. I can reproduce this in a bash (2.05b.0(1)-=20 release or 3.2.9(1)-release) I start inside tcsh. This behaviour started weeks, or months, ago. I then thought it was =20 due to adding 'correct =3D all', but *shell* in GNU Emacs 22.2 does not =20= show the same ... and the tcsh setting plays no role! In GNU Emacs 23.0.60.2 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d =20 scroll bars) of 2008-05-18 on Latsche.local Windowing system distributor `The XFree86 Project, Inc', version =20 11.0.40400000 configured using `configure '--without-sound' '--without-pop' '--=20 with-dbus' '--with-libotf' '--with-x-toolkit=3Dathena' '--enable-=20 locallisppath=3D/Library/Application Support/Emacs/calendar23:/Library/=20= Application Support/Emacs/caml:/Library/Application Support/Emacs:/sw/=20= share/emacs21/site-lisp/elib' 'PKG_CONFIG_PATH=3D/sw/lib/freetype219/=20 lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/qt4-x11/lib/=20 pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/=20 usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig' 'CFLAGS=3D-ggdb -=20 gfull -H -Wno-pointer-sign -bind_at_load -pipe -fPIC -mcpu=3D7450 -=20 mtune=3D7450 -mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -fno-=20= crossjumping' 'CPPFLAGS=3D-no-cpp-precomp -I/sw/include -I/usr/local/=20 include -idirafter /usr/X11R6/include' 'LDFLAGS=3D-bind_at_load -=20 dead_strip -multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib -L/=20 usr/local/lib -L/usr/X11R6/lib'' 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: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t Recent input: x s h e l l / u s SPC C-e -- Mit friedvollen Gr=FC=DFen Pete Math illiteracy affects 7 out of every 5 Americans. From unknown Mon Aug 18 04:42:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Peter Dyballa Subject: bug#274 closed by Chong Yidong (Re: 23.0.60; command paths are not expanded in *shell* buffer) Message-ID: References: <87d4kviavz.fsf@stupidchicken.com> <61D1EAB9-5B39-4E41-B22D-B34B51E4CE30@Freenet.DE> X-Emacs-PR-Message: they-closed 274 X-Emacs-PR-Package: emacs Reply-To: 274@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1217436303-31403-1" This is a multi-part message in MIME format... ------------=_1217436303-31403-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #274: 23.0.60; command paths are not expanded in *shell* buffer It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 274: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D274 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1217436303-31403-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Wed Jul 30 09:38:04 2008 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.1 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 274-done) by emacsbugs.donarmstrong.com; 30 Jul 2008 16:38:04 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6UGc1TN030063 for <274-done@emacsbugs.donarmstrong.com>; Wed, 30 Jul 2008 09:38:02 -0700 Received: by cyd (Postfix, from userid 1000) id 9BB5757E323; Wed, 30 Jul 2008 12:40:00 -0400 (EDT) From: Chong Yidong To: 274-done@debbugs.gnu.org Subject: Re: 23.0.60; command paths are not expanded in *shell* buffer Date: Wed, 30 Jul 2008 12:40:00 -0400 Message-ID: <87d4kviavz.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This was fixed in the 2008-07-23 change to shell.el. Thanks. ------------=_1217436303-31403-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From monnier@iro.umontreal.ca Sun May 18 10:57:00 2008 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=-1.9 required=4.0 tests=AWL,BAYES_00,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 May 2008 17:57:00 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4IHutlg021389 for ; Sun, 18 May 2008 10:56:57 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 11B502CFC97; Sun, 18 May 2008 13:56:54 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id E21C82CF9EE for ; Sun, 18 May 2008 13:56:54 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 15FF23B8B64 for ; Sun, 18 May 2008 13:56:44 -0400 (EDT) Received: from localhost ([127.0.0.1]:47334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxn7j-0000hD-TY for monnier@iro.umontreal.ca; Sun, 18 May 2008 13:56:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jxn7K-0000f7-TW for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jxn7J-0000eH-93 for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:18 -0400 Received: from [199.232.76.173] (port=38744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxn7J-0000eB-0B for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:17 -0400 Received: from fencepost.gnu.org ([140.186.70.10]:58955) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jxn7I-00051N-HY for emacs-devel@gnu.org; Sun, 18 May 2008 13:56:16 -0400 Received: from mx10.gnu.org ([199.232.76.166]:59470) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jxn68-0001kc-8t for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 13:55:04 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jxn7D-00050L-Jw for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 13:56:16 -0400 Received: from mout4.freenet.de ([195.4.92.94]:46444) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jxn7D-0004zc-1g for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 13:56:11 -0400 Received: from [195.4.92.24] (helo=14.mx.freenet.de) by mout4.freenet.de.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.69 #19) id 1Jxn79-0000Yq-Sr for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 19:56:07 +0200 Received: from fcd1f.f.ppp-pool.de ([195.4.205.31]:60607 helo=[192.168.1.2]) by 14.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.69 #12) id 1Jxn79-0000M8-GN for emacs-pretest-bug@gnu.org; Sun, 18 May 2008 19:56:07 +0200 Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: quoted-printable Message-Id: <61D1EAB9-5B39-4E41-B22D-B34B51E4CE30@Freenet.DE> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: emacs-pretest-bug@gnu.org From: Peter Dyballa Date: Sun, 18 May 2008 19:56:05 +0200 X-Mailer: Apple Mail (2.753) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Subject: 23.0.60; command paths are not expanded in *shell* buffer X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.6, requis 5, autolearn=not spam, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Hello! After launching GNU Emacs with -Q and creating a *shell* buffer (with =20= tcsh 6.12.00 (Astron) 2002-07-23 (powerpc-apple-darwin) options =20 8b,nls,dl,al,kan,sm,rh,color,dspm,filec) I can't expand the absolute =20 path of GNU Emacs. It does not work when I start typing /us nor =20 does it work when I insert a before the /us start of the path =20 name. (When I type to get rid of everything typed tcsh asks me =20 whether /usr is OK, autocorrect and 'correct =3D all' are set). It also =20= fails with relative paths. It works (with absolute and relative paths) when I start the command =20 with another word (some command or alias). When I then type to =20 complete, a *Completions* buffer is created showing me case-=20 insensitive completions. When I now select with the mouse a =20 candidate, part of what I had typed before is deleted. To start with =20 my example: I had written 'l /us' and then pressed I selected with mouse-2 from the two presented completions = 'Users/' =20 and 'usr/' the latter command line now showed: usr/ I can undo and start again. I can start in a new *shell* buffer to =20 type /us , which leads to nothing, and then change to: C-a =20= l C-e and completion works suddenly ('l' is an alias for =20 ls, but I could also insert 'a' or 'I' which are neither commands nor =20= aliases nor shell functions in Bourne shell alikes). The deletion =20 also happens with file names, for example with 'l .emacs mouse-2'. The presence of a ~/.emacs_tcsh file place no role. The type of shell =20= plays no role, i.e. I can reproduce this in a bash (2.05b.0(1)-=20 release or 3.2.9(1)-release) I start inside tcsh. This behaviour started weeks, or months, ago. I then thought it was =20 due to adding 'correct =3D all', but *shell* in GNU Emacs 22.2 does not =20= show the same ... and the tcsh setting plays no role! In GNU Emacs 23.0.60.2 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d =20 scroll bars) of 2008-05-18 on Latsche.local Windowing system distributor `The XFree86 Project, Inc', version =20 11.0.40400000 configured using `configure '--without-sound' '--without-pop' '--=20 with-dbus' '--with-libotf' '--with-x-toolkit=3Dathena' '--enable-=20 locallisppath=3D/Library/Application Support/Emacs/calendar23:/Library/=20= Application Support/Emacs/caml:/Library/Application Support/Emacs:/sw/=20= share/emacs21/site-lisp/elib' 'PKG_CONFIG_PATH=3D/sw/lib/freetype219/=20 lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/qt4-x11/lib/=20 pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/=20 usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig' 'CFLAGS=3D-ggdb -=20 gfull -H -Wno-pointer-sign -bind_at_load -pipe -fPIC -mcpu=3D7450 -=20 mtune=3D7450 -mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -fno-=20= crossjumping' 'CPPFLAGS=3D-no-cpp-precomp -I/sw/include -I/usr/local/=20 include -idirafter /usr/X11R6/include' 'LDFLAGS=3D-bind_at_load -=20 dead_strip -multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib -L/=20 usr/local/lib -L/usr/X11R6/lib'' 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: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t Recent input: x s h e l l / u s SPC C-e -- Mit friedvollen Gr=FC=DFen Pete Math illiteracy affects 7 out of every 5 Americans. ------------=_1217436303-31403-1--