[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 15:59:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
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.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- tramp-dissect-file-name new user-error message, Thierry Volpiatto, 2013/03/27
- Re: tramp-dissect-file-name new user-error message, Michael Albinus, 2013/03/28
- Re: tramp-dissect-file-name new user-error message, Thierry Volpiatto, 2013/03/28
- Re: tramp-dissect-file-name new user-error message, Michael Albinus, 2013/03/28
- Re: tramp-dissect-file-name new user-error message, Thierry Volpiatto, 2013/03/28
- Re: tramp-dissect-file-name new user-error message, Michael Albinus, 2013/03/28
- Re: tramp-dissect-file-name new user-error message, Thierry Volpiatto, 2013/03/28
- Re: tramp-dissect-file-name new user-error message,
Thierry Volpiatto <=
- Re: tramp-dissect-file-name new user-error message, Thierry Volpiatto, 2013/03/28
- Re: tramp-dissect-file-name new user-error message, Michael Albinus, 2013/03/28
- Re: tramp-dissect-file-name new user-error message, Michael Albinus, 2013/03/28