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: David Abrahams
Subject: Re: tramp (2.1.15-pre); [Feature Request] Multihop sudo
Date: Tue, 21 Apr 2009 12:18:38 -0400


On Apr 21, 2009, at 11:06 AM, Michael Albinus wrote:

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.

Very nice!

I think it may be more flexible than I need, though. I don't need to use the lisp forms option if I just customize tramp-default-host to "localhost." Is there a reason (system-name) is the default for that and not "localhost"?

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

'course.  Thanks again.

--
David Abrahams
BoostPro Computing
http://boostpro.com








reply via email to

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