emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: comint's directory tracking doesn't understand \


From: Chong Yidong
Subject: Re: address@hidden: Re: comint's directory tracking doesn't understand \( or \)]
Date: Fri, 09 Mar 2007 19:04:39 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

I think the following patch fixes the same bug in a safer way.

*** emacs/lisp/comint.el.~1.358.~       2007-02-27 19:43:48.000000000 -0500
--- emacs/lisp/comint.el        2007-03-09 18:44:15.000000000 -0500
***************
*** 1384,1390 ****
    (let* ((first (if (if (fboundp 'w32-shell-dos-semantics)
                        (w32-shell-dos-semantics))
                    "[^ \n\t\"'`]+\\|"
!                 "[^ \n\t\"'`\\]+\\|\\\\[\"'`\\ \t]+\\|"))
         (argpart (concat first
                          "\\(\"\\([^\"\\]\\|\\\\.\\)*\"\\|\
  '[^']*'\\|\
--- 1384,1390 ----
    (let* ((first (if (if (fboundp 'w32-shell-dos-semantics)
                        (w32-shell-dos-semantics))
                    "[^ \n\t\"'`]+\\|"
!                   "\\([^ \n\t\"'`\\]\\|\\\\.\\)+\\|"))
         (argpart (concat first
                          "\\(\"\\([^\"\\]\\|\\\\.\\)*\"\\|\
  '[^']*'\\|\




reply via email to

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