From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [kevin.gal@verizon.net: Shell Mode "dirs" command breaks if shell echoes command input] Date: Fri, 05 Aug 2005 16:38:01 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1123276270 25194 80.91.229.2 (5 Aug 2005 21:11:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2005 21:11:10 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 05 23:11:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E19Rt-0004xH-1F for ged-emacs-devel@m.gmane.org; Fri, 05 Aug 2005 23:09:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E19Ul-0000AK-0S for ged-emacs-devel@m.gmane.org; Fri, 05 Aug 2005 17:12:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E19O1-0004TP-8c for emacs-devel@gnu.org; Fri, 05 Aug 2005 17:05:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E19Kt-0003Nb-KI for emacs-devel@gnu.org; Fri, 05 Aug 2005 17:02:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E19Kp-0003Cx-EH for emacs-devel@gnu.org; Fri, 05 Aug 2005 17:02:31 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E19Bo-0001Mp-5i for emacs-devel@gnu.org; Fri, 05 Aug 2005 16:53:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1E18x7-0007Np-Qa; Fri, 05 Aug 2005 16:38:01 -0400 Original-To: emacs-devel@gnu.org 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41556 [I sent this message three times but did not get a response. Would someone please work on this?] Could someone please see if this fix is still needed now? Please ack to me after checking. ------- Start of forwarded message ------- Date: Wed, 29 Jun 2005 18:21:28 -0500 (CDT) From: kevin.gal@verizon.net To: bug-gnu-emacs@gnu.org Subject: Shell Mode "dirs" command breaks if shell echoes command input Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python X-Spam-Level: X-Spam-Status: No, hits=0.3 required=5.0 tests=NO_REAL_NAME autolearn=no version=2.63 - ------=_Part_17401_2997342.1120087288625 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600) of 2004-03-10 on NYAUMO configured using `configure --with-gcc (3.2)' 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: ENU locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: When I use tcsh (which echoes command input) in a shell buffer, entering "M-x dirs" fails because it mistakens the echoed "dirs" string as the directory string to use as input when changing the buffers default directory. The attached gziped patch file contains a fix. The patch also binds the "dirs" command to "\e\C-m" in shell-mode-map (previously unbound) to make it easy to invoke. Finally, a test has been added to see if "shell-dirstack-query" is non-nil. If so, it is not overwritten. To enable the fix, the user must set comint-process-echoes to t. Recent input: x r e p o r t SPC e m SPC b SPC Recent messages: (D:\emacs-21.3\bin\emacs.exe -q) For information about the GNU Project and its goals, type C-h C-p. Loading image...done Loading emacsbug...done - ------=_Part_17401_2997342.1120087288625 Content-Type: APPLICATION/OCTET-STREAM; name=shell.patch.gz Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=shell.patch.gz H4sICMkkw0IAA3NoZWxsLnBhdGNoAM1WTW/jNhA9y79iqhZryQkN25HhfByKonsq0GKBFthDtwdZ GtuEJVIhqXXcQ397hxQpO7tOnBTYIgYMSOTMcOa9eUONRiPQG6yqMVZMKr6OPmIJv7QCZjcwub7N rm9nC5hNJvMBY6w3PbaaLm6z6e1k3lmNHv/sO1xNby6vZhm4BRumW5gDPbMBhF9S4ooLZFvcdwex WpbI6ryB+NPPrKD/KoZht7WSaperkhWyrnNRpq8Ks+zDLPNi+1/iGIpALlwYVu5FXvPCRmgqNJgO LiA654+URd1noVDvRcFKrvRLE/iV/RiTafRVGhXXhq14hfSKISkuxQsj/1mjaAkWBQfXv06yml3d XGbZdccquJIpsjaKizWFMsXGxy7beslCoWt8aLr11CYUJRoNa5QsUGumURjKq4JkTavLdrVCFTYh KVqlyMCvd+5Rdyx875HcKW6QbQgDqfZMCoYP3JDpdz47NPchKwLbEPvsvkW1JwOKlBRSlJCEIvC+ zavOHGK9iVOIm10Z22hRdNpq25lhsZHww4eP7+EfFuwNxPbMOE3TjorEM6cwLxkXTUuPFBCM2x90 NJHGnqkMkoAOfiZoUqeuLJtcZvNpUNdbJya6u4OfqkruoNWowEgoWrKq+d/4FFWuIL6CREhz0sZD /izd0SsJj17PefQF7d+O91MCXcynl4vFJAiU4pKcR1St9X0Zk45KOqzO1bY/k7k3+xIqotBraSQr NjQ3nHGvOC6I1CdI6nfjTyI+aJQbO91hksId0EOBoLDkuqnyfTjNI0htWbKOEpfPE71wxqk7HfoJ 4epDXwhVLcnrUChhaCE0/YZNc5cTJzbpKVSkkwHzg5Za+w+iDvDBqBwE7uwunepY02A26Jp+qKGh rGxGrh9gpWQNupFyZddaPe5n9yPIIDncXxb6aQCR7HYbugM6hSSVlFvbtjn5jS+sp+vPJC8KbA4q l62xhztm3f4RqbbQwNCXXNuGtTdfSIIAUVjLz+gKfFT74AiX3Aw7CIgve2uNYa3yJRCS76DJlUZ6 HIczfeuWNIJ80+p26VlM3FBjS1xzIewCtU4yZWGdkKWV0MxWXhWj69HGFGuzgbI62tIwTNKUhHtn U7apgeulYMBtKDdmF/PscnGdHT5i/md52bn5XoqhATd5/AeMbyAajuHUUqIGR2eYmF4I4TzrjtqP TFpcC/f4WvE6j2fFa23Ss3J8Kxp+ueIi19C/IX0T0+3lmnjmYuhjHjqYH/PkPzuOtUoeJ/kJFwp8 LedO0v2Nc0Ltntwzej8l+OjNqd3XSUF/3/Kmg7U8wHoecIvROZSTC5ogF/2IONmT6anBE2iA5za/ 7XD6F4Nn1arUDQAA - ------=_Part_17401_2997342.1120087288625 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs - ------=_Part_17401_2997342.1120087288625-- ------- End of forwarded message -------