bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5840: 24.0.50; wrong tramp-file-name-regexp


From: Thierry Volpiatto
Subject: bug#5840: 24.0.50; wrong tramp-file-name-regexp
Date: Mon, 12 Apr 2010 08:02:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> I didn't know and never use /hostname:, i always prefix it with method
>> (e.g ssh).
>>
>> So i end up to this problem in anything by systematically translating
>> path like /su:: /sudo:: or /hostname: by:
>>
>> /su:hostname:
>> /sudo:hostname:
>> /ssh:hostname:
>
> When you have "/su::", how do you know what "hostname" ought to be? It
> isn't always "localhost"; a user can configure any other hostname.
It is not localhost for me, i set it differently.

But it seem tramp is aware of that and use what is set in my
/etc/hosts.
I think the env variables are HOSTNAME and DNSDOMAIN, but it have maybe
changed in my system (gentoo), don't remember.
 
,----
| ELISP> (anything-create-tramp-name "/su::")
| "/su:root@my.network:"
`----


-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/








reply via email to

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