From: Michael Albinus Date: Sat, 10 Jul 2010 09:49:41 +0000 (+0200) Subject: * tramp.texi (Inline methods): Remove "kludgy" phrase. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~78^2~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca1bb391deffc77c33811f15ad55856baa94f605;p=emacs.git * tramp.texi (Inline methods): Remove "kludgy" phrase. (Filename Syntax): Describe port numbers. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index c56065136b4..e24363285f5 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-10 Michael Albinus + + * tramp.texi (Inline methods): Remove "kludgy" phrase. + (Filename Syntax): Describe port numbers. + 2010-07-09 Michael Albinus * dbus.texi (Top): Introduce Index. Emphasize "nil" whereever diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 7d41049897e..5d250767f7a 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -629,11 +629,11 @@ Two other variants, @option{ssh1_old} and @option{ssh2_old}, use the @command{ssh1} and @command{ssh2} commands explicitly. If you don't know what these are, you do not need these options. -All the methods based on @command{ssh} have an additional kludgy -feature: you can specify a host name which looks like @file{host#42} -(the real host name, then a hash sign, then a port number). This -means to connect to the given host but to also pass @code{-p 42} as -arguments to the @command{ssh} command. +All the methods based on @command{ssh} have an additional feature: you +can specify a host name which looks like @file{host#42} (the real host +name, then a hash sign, then a port number). This means to connect to +the given host but to also pass @code{-p 42} as arguments to the +@command{ssh} command. @item @option{telnet} @@ -2310,6 +2310,11 @@ using the @option{ssh} method to transfer files, and edit @file{.emacs} in my home directory I would specify the filename @file{@trampfn{ssh, daniel, melancholia, .emacs}}. +Finally, for some methods it is possible to specify a different port +number than the default one, given by the method. This is specified +by adding @file{#} to the host name, like in @file{@trampfn{ssh, +daniel, melancholia#42, .emacs}}. + @node Alternative Syntax @section URL-like filename syntax