[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10085: 24.0.91; completion-pcm--find-all-completions returns wrong r
bug#10085: 24.0.91; completion-pcm--find-all-completions returns wrong remote file names
Wed, 23 Nov 2011 21:28:41 +0100
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)
Stefan Monnier <address@hidden> writes:
>> Shall I submit such a patch towards rfn-eshadow.el, for the sake of the
>> upcoming release?
> You can even install it now.
> As I have shown with the trace, Tramp treats "/sud:" and "/sudo:"
> differently, making the ":" a boundary separator in the first case but
> not in the second. It's not strictly incorrect, but it is inconsistent
> and makes it harder for the minibuffer.el code to behave well.
Tramp does not know of programmed completion and pcm style completion;
all what it knows is file-name-all-completions. What else could Tramp
>> I guess we need to find out, what are separators in Tramp wrt
>> completion tables, and how to handle them.
> The user finds out, the implementer decides.
Oh. You haven't seen Tramp's heuristic to determine, whether completion
of "/sudo" means the method or the user or the host (in fact, it is all).
Best regards, Michael.
bug#10085: 24.0.91; completion-pcm--find-all-completions returns wrong remote file names, Stefan Monnier, 2011/11/22