aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2009-09-03 13:21:15 +0000
committerMichael Albinus2009-09-03 13:21:15 +0000
commit66043531de984024e7856bff4ff8d07b26e94956 (patch)
treeb9e2a9aadfb3ca901a75ed1fb01417e9e5b70154 /doc/misc
parent2e62b574beaca97fa5ae337410b0fab2b27c0c49 (diff)
downloademacs-66043531de984024e7856bff4ff8d07b26e94956.tar.gz
emacs-66043531de984024e7856bff4ff8d07b26e94956.zip
* tramp.texi (Frequently Asked Questions): New item for
emacsclient.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/tramp.texi34
2 files changed, 39 insertions, 0 deletions
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 @@
12009-09-03 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Frequently Asked Questions): New item for
4 emacsclient.
5
12009-09-02 Carsten Dominik <carsten.dominik@gmail.com> 62009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
2 7
3 * org.texi (Effort estimates): Document new effort setting commands. 8 * 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
3211the different recipes! 3211the different recipes!
3212 3212
3213 3213
3214@ifset emacs
3215@item
3216How can I use @value{tramp} to connect to a remote @value{emacsname}
3217session?
3218
3219You can configure Emacs Client doing this.
3220@ifinfo
3221@xref{Emacs Server, , , @value{emacsdir}}.
3222@end ifinfo
3223
3224On the remote host, you start the Emacs Server:
3225
3226@lisp
3227(require 'server)
3228(setq server-host (system-name)
3229 server-use-tcp t)
3230(server-start)
3231@end lisp
3232
3233Make sure, that the result of @code{(system-name)} can be resolved on
3234your local host; otherwise you might use a hard coded IP address.
3235
3236The resulting file @file{~/.emacs.d/server/server} must be copied to
3237your local host, at the same location. You can call then the Emacs
3238Client from the command line:
3239
3240@example
3241emacsclient @trampfn{ssh, user, host, /file/to/edit}
3242@end example
3243
3244@code{user} and @code{host} shall be related to your local host.
3245@end ifset
3246
3247
3214@item 3248@item
3215How can I disable @value{tramp}? 3249How can I disable @value{tramp}?
3216 3250