]> git.eshelyaron.com Git - emacs.git/commitdiff
* tramp.texi (Frequently Asked Questions): New item for
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 3 Sep 2009 13:21:15 +0000 (13:21 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 3 Sep 2009 13:21:15 +0000 (13:21 +0000)
emacsclient.

doc/misc/ChangeLog
doc/misc/tramp.texi

index ec148e19e92b1407c512f9c8e2712afa2cb45603..f70c8751e47d5f3fa256e6d59c2d94fb2de69bd9 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * tramp.texi (Frequently Asked Questions): New item for
+       emacsclient.
+
 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
 
        * org.texi (Effort estimates): Document new effort setting commands.
index 20be7a2870f966decea2a8b89f57b767565d469a..5ac95d9ea73b8f499f8f382a8ffbff65434333b1 100644 (file)
@@ -3211,6 +3211,40 @@ I would like to thank all @value{tramp} users, who have contributed to
 the different recipes!
 
 
+@ifset emacs
+@item
+How can I use @value{tramp} to connect to a remote @value{emacsname}
+session?
+
+You can configure Emacs Client doing this.
+@ifinfo
+@xref{Emacs Server, , , @value{emacsdir}}.
+@end ifinfo
+
+On the remote host, you start the Emacs Server:
+
+@lisp
+(require 'server)
+(setq server-host (system-name)
+      server-use-tcp t)
+(server-start)
+@end lisp
+
+Make sure, that the result of @code{(system-name)} can be resolved on
+your local host; otherwise you might use a hard coded IP address.
+
+The resulting file @file{~/.emacs.d/server/server} must be copied to
+your local host, at the same location.  You can call then the Emacs
+Client from the command line:
+
+@example
+emacsclient @trampfn{ssh, user, host, /file/to/edit}
+@end example
+
+@code{user} and @code{host} shall be related to your local host.
+@end ifset
+
+
 @item
 How can I disable @value{tramp}?