|
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 "\\(\"\\([^\"\\]\\|\\\\.\\)*\"\\|\ '[^']*'\\|\
[Prev in Thread] | Current Thread | [Next in Thread] |