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 16:16:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Hi Michael,
>
> Thierry Volpiatto <address@hidden> writes:
>
>> Michael Albinus <address@hidden> writes:
>>
>>> In your special case (since you don't use `file-name-all-completions') I
>>> cannot tell what to use else. I just wanted to point out, that there's no
>>> guarantee that `tramp-dissect-file-name' will always do it the same way.
>>>
>>> Honestly, I even don't understand what `helm-create-tramp-name' is good
>>> for ...
>>>
>>> If you only want to expand default values of a Tramp file name, then you
>>> could do like this (using "/su::" as example):
>>>
>>> (concat (file-remote-p "/su::") (file-remote-p "/su::" 'localname))
>>
>> Yes this is maybe what I want, it could replace `helm-create-tramp-name', 
>> many
>> thanks Michael ;-)
> Sorry again, but your last changes break a lot of things, e.g:
>
> Emacs-24.3:
> (directory-file-name "/ssh:thievol")
> => "/ssh:thievol"
>
> Emacs-24: the user-error is raised.
>
> So I still think your last changes are not a good thing.

Same with:
(file-remote-p "/ssh:thievol")
=>user-error: Host name must not match method `ssh'

-- 
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]