On Apr 21, 2009, at 11:06 AM, Michael Albinus wrote:
David Abrahams <[email protected]> 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
_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel