* tramp.texi (Default Host): Introduce `tramp-default-host-alist'.
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Jan 2013 07:34:48 +0000 (08:34 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Jan 2013 07:34:48 +0000 (08:34 +0100)
doc/misc/ChangeLog
doc/misc/tramp.texi

index fba163a..4412b1c 100644 (file)
@@ -1,3 +1,7 @@
+2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
+
+       * tramp.texi (Default Host): Introduce `tramp-default-host-alist'.
+
 2013-01-09  Bastien Guerry  <bzg@gnu.org>
 
        * org.texi (Pushing to MobileOrg): Add footnote about using
index a683425..3a859c6 100644 (file)
@@ -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