diff options
| author | Michael Albinus | 2009-09-03 13:21:15 +0000 |
|---|---|---|
| committer | Michael Albinus | 2009-09-03 13:21:15 +0000 |
| commit | 66043531de984024e7856bff4ff8d07b26e94956 (patch) | |
| tree | b9e2a9aadfb3ca901a75ed1fb01417e9e5b70154 /doc/misc | |
| parent | 2e62b574beaca97fa5ae337410b0fab2b27c0c49 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 34 |
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 @@ | |||
| 1 | 2009-09-03 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * tramp.texi (Frequently Asked Questions): New item for | ||
| 4 | emacsclient. | ||
| 5 | |||
| 1 | 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com> | 6 | 2009-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 | |||
| 3211 | the different recipes! | 3211 | the different recipes! |
| 3212 | 3212 | ||
| 3213 | 3213 | ||
| 3214 | @ifset emacs | ||
| 3215 | @item | ||
| 3216 | How can I use @value{tramp} to connect to a remote @value{emacsname} | ||
| 3217 | session? | ||
| 3218 | |||
| 3219 | You can configure Emacs Client doing this. | ||
| 3220 | @ifinfo | ||
| 3221 | @xref{Emacs Server, , , @value{emacsdir}}. | ||
| 3222 | @end ifinfo | ||
| 3223 | |||
| 3224 | On 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 | |||
| 3233 | Make sure, that the result of @code{(system-name)} can be resolved on | ||
| 3234 | your local host; otherwise you might use a hard coded IP address. | ||
| 3235 | |||
| 3236 | The resulting file @file{~/.emacs.d/server/server} must be copied to | ||
| 3237 | your local host, at the same location. You can call then the Emacs | ||
| 3238 | Client from the command line: | ||
| 3239 | |||
| 3240 | @example | ||
| 3241 | emacsclient @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 |
| 3215 | How can I disable @value{tramp}? | 3249 | How can I disable @value{tramp}? |
| 3216 | 3250 | ||