From: Michael Albinus Date: Thu, 3 Sep 2009 13:21:15 +0000 (+0000) Subject: * tramp.texi (Frequently Asked Questions): New item for X-Git-Tag: emacs-pretest-23.1.90~1494 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66043531de984024e7856bff4ff8d07b26e94956;p=emacs.git * tramp.texi (Frequently Asked Questions): New item for emacsclient. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index ec148e19e92..f70c8751e47 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2009-09-03 Michael Albinus + + * tramp.texi (Frequently Asked Questions): New item for + emacsclient. + 2009-09-02 Carsten Dominik * org.texi (Effort estimates): Document new effort setting commands. diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 20be7a2870f..5ac95d9ea73 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -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}?