Subject: 23.2; shell mode mistakenly tracks "CD" command

From: bruce robertson <[email-masked]>
Date: Thu, 26 May 2011 09:44:43 -0700

^x shell RET
cd
^x d (puts home directory in mode-line)
^g
CD .. RET ( shell reports Command not found. )
^x d (puts parent of home directory in mode-line as if cd had succeeded)

In GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.21.4)
 of 2010-07-08 on x86-10.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.10900000
configured using `configure  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-optimize-sibling-calls''

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: en_US.utf8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  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-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
C-a C-n C-x C-s + T h u <return> C-x C-s C-a C-x 4 
5 d C-g C-x 4 d <return> C-x o C-x u C-x o C-x o ~ 
/ b i n / m p <tab> <backspace> <backspace> <backspace> 
C-a C-k <f3> C-a C-k ~ / b i n / h p <tab> SPC ~ / 
p e r o <backspace> s o n <tab> h o <tab> <return> 
y C-x o C-x o C-p C-k C-k C-x C-s C-x v = C-x o C-x 
v v s c C-c C-c <help-echo> SPC C-x C-x C-u <escape> 
| d a t e <return> + C-x C-s C-x k <return> C-x k <return> 
C-x k <return> g C-x k <return> <help-echo> x p d t 
SPC & <return> <help-echo> <return> <return> C D SPC 
. . <return> c d SPC . . <return> c d SPC s <tab> i 
l <tab> <backspace> <backspace> y <tab> s <tab> C-a 
C-k M-x d i r s <return> c d SPC s y s <tab> C-a C-k 
l s <return> c d SPC s y s <tab> C-a C-k C-x d C-g 
c d SPC <return> c d SPC s r c / i n <tab> t a k <tab> 
<backspace> s <tab> s y s <tab> <return> p w d <return> 
C-x d C-g C D SPC . . <return> C-x d C-g C D SPC s 
y s l i n u x <return> C-x d C-g C-h a b u g <return> 
M-x r e p o <tab> r t e <backspace> e <backspace> - 
e <tab> <return> C-g C-x d C-g C-h m C-x o C-x <escape> 
<escape> <escape> p <escape> p <escape> p <escape> 
p C-g M-x r e p o <tab> r t <tab> <tab> <return>

Recent messages:
~/src/intel/tasks 
Quit
~/src/intel/tasks/syslinux 
Quit
Type C-x 1 to remove help window.  
Making completion list...
Quit [2 times]
Type C-x 4 C-o RET to restore the other window, C-M-v to scroll help.
Quit
Making completion list... [2 times]

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message idna ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils mailheader canlock hashcash
mail-utils warnings emacsbug diff python-21 python arc-mode archive-mode
sgml-mode cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs ediff-merg ediff-diff ediff-wind ediff-help ediff-util
ediff-mult ediff-init ediff tar-mode perl-mode cperl-mode tabify
conf-mode newcomment vc-bzr sha1 hex-util vc-sccs vc-svn vc-cvs vc-rcs
vc-dir ewoc skeleton novice jka-compr info man assoc log-view wid-edit
sh-script executable apropos log-edit pcvs-util add-log rect ffap
diff-mode easy-mmode vc vc-dispatcher mule-util dired-aux etags grep
compile make-mode vc-git multi-isearch help-mode easymenu view dabbrev
dired regexp-opt ansi-color shell comint ring server edmacro kmacro
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)