From: Michael Albinus Date: Thu, 10 Jan 2013 07:34:48 +0000 (+0100) Subject: * tramp.texi (Default Host): Introduce `tramp-default-host-alist'. X-Git-Tag: emacs-24.3.90~173^2~7^2~352 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=997d5f2d1d86acc55fa9b659ab69399c2968bbdc;p=emacs.git * tramp.texi (Default Host): Introduce `tramp-default-host-alist'. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index fba163a84ac..4412b1c3c2c 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,7 @@ +2013-01-10 Michael Albinus + + * tramp.texi (Default Host): Introduce `tramp-default-host-alist'. + 2013-01-09 Bastien Guerry * org.texi (Pushing to MobileOrg): Add footnote about using diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index a683425868a..3a859c62728 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -1279,8 +1279,8 @@ example, if you always have to use the user @samp{john} in the domain @end lisp @noindent -See the documentation for the variable -@code{tramp-default-user-alist} for more details. +See the documentation for the variable @code{tramp-default-user-alist} +for more details. One trap to fall in must be known. If @value{tramp} finds a default user, this user will be passed always to the connection command as @@ -1338,6 +1338,18 @@ Note, however, that the most simplification @samp{/::} won't work, because @samp{/:} is the prefix for quoted file names. @end ifset +@vindex tramp-default-host-alist +Like with methods and users, you can also specify different default +hosts for certain method/user combinations via the variable +@code{tramp-default-host-alist}. Usually, this isn't necessary, +because @code{tramp-default-host} should be sufficient. For some +methods, like @code{adb}, that default value must be overwritten, +which is already the initial value of @code{tramp-default-host-alist}. + +@noindent +See the documentation for the variable @code{tramp-default-host-alist} +for more details. + @node Multi-hops @section Connecting to a remote host using multiple hops