bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell Mode "dirs" command breaks if shell echoes command input


From: kevin . gal
Subject: Shell Mode "dirs" command breaks if shell echoes command input
Date: Wed, 29 Jun 2005 18:21:28 -0500 (CDT)

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:
<escape> x r e p o r t SPC e m SPC b SPC <return>

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

Attachment: shell.patch.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]