tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.1.15-pre); [Feature Request] Multihop sudo


From: Michael Albinus
Subject: Re: tramp (2.1.15-pre); [Feature Request] Multihop sudo
Date: Tue, 21 Apr 2009 17:06:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

David Abrahams <address@hidden> writes:

>>>
>>> Unfortunately, that won't match because TRAMP seems to use the
>>> result of
>>>
>>>  $ hostname
>>
>> But that's the same as (system-name) in ELisp. So you can write
>>
>>    (add-to-list 'tramp-default-proxies-alist
>>                 `(,(format "\\`%s\\'" (system-name)) nil nil))
>
> Yes, of course I can.  However, as I wrote, this is not achievable
> with the customize UI, and I think it's an important enough use case
> that it should be made possible with customize.

Good point! Could you, please, check the attached patch? It shall serve
your purpose.

Of course, changes in tramp.texi, including an example, must be added,
too.

> David Abrahams

Best regards, Michael.

Attachment: txtJ1Xa2b5Nag.txt
Description: Text Data


reply via email to

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