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

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

bug#11348: 24.0.95; TAB-completion in shell-command produces d:\/foo on


From: Chong Yidong
Subject: bug#11348: 24.0.95; TAB-completion in shell-command produces d:\/foo on MS-Windows
Date: Tue, 08 May 2012 00:11:40 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (gnu/linux)

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> No, it does match "\g" but then the new code:
>
>               (push (cond
>                      ((null pcomplete-arg-quote-list)
>                       (goto-char (match-beginning 3)) "\\")
>                      ((= (match-beginning 3) (match-end 3)) "\\")
>                      (t (match-string 3)))
>                     arg))
>
> sees that pcomplete-arg-quote-list is nil, pushes "\\" and moves
> backward 1 char (to right before the "g") so you end up with
> ("gnu" "\\" "d:").
>
> Can you check to see why this is not happening?

?? Why should pcomplete-arg-quote-list be nil?  In that same change, you
set it to shell-delimiter-argument-list, which is a non-empty list.





reply via email to

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