[Top][All Lists]

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

`shell' directory tracking and `comint-arguments'

From: David Hansen
Subject: `shell' directory tracking and `comint-arguments'
Date: Fri, 16 Feb 2007 13:38:14 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


something is wrong with comints argument splitting, when parens are

from my *shell* buffer:

[13:28] address@hidden [~]
$ cd tmp/
[13:28] address@hidden [~/tmp]
$ # default-directory "~/tmp/"
[13:28] address@hidden [~/tmp]
$ mkdir \(foo\)
[13:28] address@hidden [~/tmp]
$ cd \(foo\)/
[13:28] address@hidden [~/tmp/(foo)]
$ # default-directory "~/tmp/"
[13:29] address@hidden [~/tmp/(foo)]
$ cd ..
[13:29] address@hidden [~/tmp]
$ # default-directory "~/"
[13:29] address@hidden [~/tmp]
$ cd tmp/
bash: cd: tmp/: No such file or directory
[13:29] address@hidden [~/tmp]
$ # default-directory "~/tmp/"
[13:29] address@hidden [~/tmp]

All the lines  starting with "$ # default-directory" are completed
with C-u C-x C-e and display the current value of `default-directory'.

So far i think the problem is that the closing paren gets lost in

(comint-arguments "cd \\(foo\\)" 1 1)

which is called in `shell-directory-tracker'.  Well... have fun with
the freaky two line regexps ;p


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'.
If you would like to further debug the crash, please read the file
/home/dhansen/share/emacs/22.0.93/etc/DEBUG for instructions.

In GNU Emacs (i686-pc-linux-gnu, X toolkit)
 of 2007-01-30 on robotron
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--disable-sound' '--prefix=/home/dhansen' 
'--without-toolkit-scroll-bars' '--disable-pop''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  erc-menu-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  paredit-mode: t
  jabber-activity-mode: t
  erc-services-mode: t
  erc-autojoin-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-smiley-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  erc-scrolltobottom-mode: t
  eldoc-mode: t
  which-function-mode: t
  show-paren-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: 1
  hs-minor-mode: t

Recent input:
n n n n n n n n n n n n n n n n n n n n n n n n n n 
C-p C-p C-p C-p C-p C-p C-p M-b M-b M-b C-b C-b C-x 
C-e C-e C-b C-b C-x C-e C-M-b C-b C-x C-e C-e G <C-tab> 
<C-tab> <C-tab> C-x 1 C-l C-h f C-g C-h m C-h RET b 
a s h <return> <switch-frame> C-s c o m p l e C-s C-s 
C-s C-s C-s C-s C-s C-s C-s C-s C-s <switch-frame> 
M-x r e p o r <tab> b u <tab> <return>

Recent messages:
2 (#o2, #x2, ?\C-b)
3 (#o3, #x3, ?\C-c)
2 (#o2, #x2, ?\C-b)
"( )"
uncompressing bash.1.gz...done
WoMan formatting buffer...done in 4 seconds
Mark saved where search started
Loading emacsbug...done

reply via email to

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