* tramp.texi (Frequently Asked Questions): New item for

emacsclient.
This commit is contained in:
Michael Albinus 2009-09-03 13:21:15 +00:00
parent 2e62b574be
commit 66043531de
2 changed files with 39 additions and 0 deletions

View 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.

View 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}?