From unknown Fri Sep 19 16:07:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9606: 24.0.90; shell-mode cannot complete "cvs status -v Makefile" Resent-From: Steve Revilak Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Sep 2011 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9606 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9606@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.131705339924075 (code B ref -1); Mon, 26 Sep 2011 16:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2011 16:09:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Dkj-0006GC-Uj for submit@debbugs.gnu.org; Mon, 26 Sep 2011 12:09:59 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Cwb-00054n-Dl for submit@debbugs.gnu.org; Mon, 26 Sep 2011 11:18:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Cvs-00038q-6Z for submit@debbugs.gnu.org; Mon, 26 Sep 2011 11:17:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Cvs-00038k-4x for submit@debbugs.gnu.org; Mon, 26 Sep 2011 11:17:24 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Cvn-0007bb-Hf for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 11:17:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Cvh-00037T-DB for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 11:17:19 -0400 Received: from mail7.sea5.speakeasy.net ([69.17.117.52]:47647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Cvh-00036y-2Y for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 11:17:13 -0400 Received: (qmail 25571 invoked from network); 26 Sep 2011 14:30:32 -0000 Received: from pool-98-110-175-134.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[98.110.175.134]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 26 Sep 2011 14:30:32 -0000 Date: Mon, 26 Sep 2011 10:30:28 -0400 From: Steve Revilak Message-ID: <20110926143028.GB23695@srevilak.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Mailman-Approved-At: Mon, 26 Sep 2011 12:09:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': I've discovered a case where shell-mode completion fails. Below are instructions for reproducing this case. (1) first, we need to create a small directory, where the files are under CVS version control. cvs -d /tmp/cvs-tmp init mkdir zz echo "# comment" > zz/Makefile cd zz cvs -d /tmp/cvs-tmp import -m "testbed" zz vendor release rm -f Makefile cvs -d /tmp/cvs-tmp/ co -d . zz After completing these steps, you should be in the zz directory, which looks like this: $ ls -l 4 drwxr-xr-x 2 srevilak users 4096 Sep 26 10:12 CVS/ 4 -rw-r--r-- 1 srevilak users 10 Sep 26 10:12 Makefile Note: all of (1) is done outside emacs (2) within the zz directory, start emacs 24.0.90 as=20 emacs -Q . (3) From emacs, start shell mode M-x shell RET (4) within shell mode, type (without pressing RET) cvs status -v Make (5) while point is immediately after the "e" in "Make", press TAB (for tab completion). We'd like emacs to complete the filename "Makefile" (6) The message "No match" appears in the minibuffer. Emacs does not complete Make -> Makefile =20 For regression, repeat steps (2)--(5) with Emacs 23.3. Emacs 23.3 successfully completes Make -> Makefile. This appears to have something to do with directories under CVS version control. For example, if I remove the directory "zz/CVS", and repeat steps (2)--(5) with emacs 24.0.90, then step (5) produces the following message in the minibuffer:=20 Opening input file: no such file or directory, /home/srevilak/zz/CVS/En= tries 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'. For information about debugging Emacs, please read the file /usr/local/emacs-24.0.90.1/share/emacs/24.0.90/etc/DEBUG. In GNU Emacs 24.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.1) of 2011-09-26 on sunny Windowing system distributor `The X.Org Foundation', version 11.0.10903000 configured using `configure '--prefix=3D/usr/local/emacs-24.0.90.1/'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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: @im=3Dlocal locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk6AjIQACgkQX7YJI4BuyDTANACgr3sh1k+jjYPDwUtVMfFc+FNW t08AoJMx695uMBpJ7VB3nU79PblngqYH =UP/q -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- From unknown Fri Sep 19 16:07:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Steve Revilak Subject: bug#9606: closed (Re: bug#9606: 24.0.90; shell-mode cannot complete "cvs status -v Makefile") Message-ID: References: <20110926143028.GB23695@srevilak.net> X-Gnu-PR-Message: they-closed 9606 X-Gnu-PR-Package: emacs Reply-To: 9606@debbugs.gnu.org Date: Tue, 27 Sep 2011 18:12:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1317147122-23561-1" This is a multi-part message in MIME format... ------------=_1317147122-23561-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #9606: 24.0.90; shell-mode cannot complete "cvs status -v Makefile" which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 9606@debbugs.gnu.org. --=20 9606: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9606 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1317147122-23561-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 9606-done) by debbugs.gnu.org; 27 Sep 2011 18:11:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8c83-00067Q-J2 for submit@debbugs.gnu.org; Tue, 27 Sep 2011 14:11:40 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8c80-00067H-Ty for 9606-done@debbugs.gnu.org; Tue, 27 Sep 2011 14:11:38 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R8c7B-0004Hf-Rd; Tue, 27 Sep 2011 14:10:45 -0400 From: Glenn Morris To: 9606-done@debbugs.gnu.org Subject: Re: bug#9606: 24.0.90; shell-mode cannot complete "cvs status -v Makefile" References: <20110926143028.GB23695@srevilak.net> X-Spook: industrial intelligence MP5K-SD Bosnia NSA computer X-Ran: oOKd;l=MERS)-@{T@a}h=T4.TrIC?0|(h)1~G(V4u3$t:]hSN9M-lNJOi`91ZiSuxaG;$Y X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 27 Sep 2011 14:10:45 -0400 In-Reply-To: <20110926143028.GB23695@srevilak.net> (Steve Revilak's message of "Mon, 26 Sep 2011 10:30:28 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9606-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Version: 24.0.91 Thanks for the clear report; fixed. ------------=_1317147122-23561-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Sep 2011 16:09:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Dkj-0006GC-Uj for submit@debbugs.gnu.org; Mon, 26 Sep 2011 12:09:59 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R8Cwb-00054n-Dl for submit@debbugs.gnu.org; Mon, 26 Sep 2011 11:18:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Cvs-00038q-6Z for submit@debbugs.gnu.org; Mon, 26 Sep 2011 11:17:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Cvs-00038k-4x for submit@debbugs.gnu.org; Mon, 26 Sep 2011 11:17:24 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Cvn-0007bb-Hf for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 11:17:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Cvh-00037T-DB for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 11:17:19 -0400 Received: from mail7.sea5.speakeasy.net ([69.17.117.52]:47647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Cvh-00036y-2Y for bug-gnu-emacs@gnu.org; Mon, 26 Sep 2011 11:17:13 -0400 Received: (qmail 25571 invoked from network); 26 Sep 2011 14:30:32 -0000 Received: from pool-98-110-175-134.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[98.110.175.134]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 26 Sep 2011 14:30:32 -0000 Date: Mon, 26 Sep 2011 10:30:28 -0400 From: Steve Revilak To: bug-gnu-emacs@gnu.org Subject: 24.0.90; shell-mode cannot complete "cvs status -v Makefile" Message-ID: <20110926143028.GB23695@srevilak.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 26 Sep 2011 12:09:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': I've discovered a case where shell-mode completion fails. Below are instructions for reproducing this case. (1) first, we need to create a small directory, where the files are under CVS version control. cvs -d /tmp/cvs-tmp init mkdir zz echo "# comment" > zz/Makefile cd zz cvs -d /tmp/cvs-tmp import -m "testbed" zz vendor release rm -f Makefile cvs -d /tmp/cvs-tmp/ co -d . zz After completing these steps, you should be in the zz directory, which looks like this: $ ls -l 4 drwxr-xr-x 2 srevilak users 4096 Sep 26 10:12 CVS/ 4 -rw-r--r-- 1 srevilak users 10 Sep 26 10:12 Makefile Note: all of (1) is done outside emacs (2) within the zz directory, start emacs 24.0.90 as=20 emacs -Q . (3) From emacs, start shell mode M-x shell RET (4) within shell mode, type (without pressing RET) cvs status -v Make (5) while point is immediately after the "e" in "Make", press TAB (for tab completion). We'd like emacs to complete the filename "Makefile" (6) The message "No match" appears in the minibuffer. Emacs does not complete Make -> Makefile =20 For regression, repeat steps (2)--(5) with Emacs 23.3. Emacs 23.3 successfully completes Make -> Makefile. This appears to have something to do with directories under CVS version control. For example, if I remove the directory "zz/CVS", and repeat steps (2)--(5) with emacs 24.0.90, then step (5) produces the following message in the minibuffer:=20 Opening input file: no such file or directory, /home/srevilak/zz/CVS/En= tries 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'. For information about debugging Emacs, please read the file /usr/local/emacs-24.0.90.1/share/emacs/24.0.90/etc/DEBUG. In GNU Emacs 24.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.1) of 2011-09-26 on sunny Windowing system distributor `The X.Org Foundation', version 11.0.10903000 configured using `configure '--prefix=3D/usr/local/emacs-24.0.90.1/'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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: @im=3Dlocal locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk6AjIQACgkQX7YJI4BuyDTANACgr3sh1k+jjYPDwUtVMfFc+FNW t08AoJMx695uMBpJ7VB3nU79PblngqYH =UP/q -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- ------------=_1317147122-23561-1--