Hi Michael,

Thierry Volpiatto <[email protected]> writes:

> Michael Albinus <[email protected]> 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.

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


_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to