tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp-dissect-file-name new user-error message


From: Thierry Volpiatto
Subject: Re: tramp-dissect-file-name new user-error message
Date: Thu, 28 Mar 2013 10:22:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Michael,

Michael Albinus <address@hidden> writes:

> Thierry Volpiatto <address@hidden> writes:
>
>> Hi Michael,
>
> Hi Thierry,
>
>> in the last changes you made in tramp, you are raising a user-error
>> message when host have the name of one of the methods.
>> But tramp-dissect-file-name set host to e.g "sudo" when using
>> "/sudo:" which is breaking helm. (It was working fine like this in
>> precedent emacs versions since 2 years now providing also host completion)
>>
>> Is raising an error like this really useful ?
>
> See <http://thread.gmane.org/gmane.emacs.bugs/72217/focus=72255> for the
> story behind.

Hmm, this is another feature that assume everybody (must) use TAB to
have a emacs completion buffer and RET to throw the result when the
minibuffer is completed, which don't help third party tools using
incremental completion like helm.

> In helm, when you complete file names, you shall let-bind `non-essential'
> to t.

Not exactly, I must bind it to t at beginning and let-bind it to nil
when needed in some places.
This is why I never been able to use it up to now.

I will use this instead of defadvicing tramp-dissect-file-name.


BTW I am not a ido user, so I can tell, but double check this error
message is not breaking ido in the same way it broke tramp completion in
helm.
 
Thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 



reply via email to

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