emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/doc/misc tramp.texi


From: Michael Albinus
Subject: [Emacs-diffs] emacs/doc/misc tramp.texi
Date: Thu, 03 Sep 2009 13:21:04 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Michael Albinus <albinus>       09/09/03 13:21:04

Modified files:
        doc/misc       : tramp.texi 

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

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/misc/tramp.texi?cvsroot=emacs&r1=1.29&r2=1.30

Patches:
Index: tramp.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/misc/tramp.texi,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- tramp.texi  28 Aug 2009 14:36:41 -0000      1.29
+++ tramp.texi  3 Sep 2009 13:21:04 -0000       1.30
@@ -3211,6 +3211,40 @@
 the different recipes!
 
 
address@hidden emacs
address@hidden
+How can I use @value{tramp} to connect to a remote @value{emacsname}
+session?
+
+You can configure Emacs Client doing this.
address@hidden
address@hidden Server, , , @value{emacsdir}}.
address@hidden ifinfo
+
+On the remote host, you start the Emacs Server:
+
address@hidden
+(require 'server)
+(setq server-host (system-name)
+      server-use-tcp t)
+(server-start)
address@hidden 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:
+
address@hidden
+emacsclient @trampfn{ssh, user, host, /file/to/edit}
address@hidden example
+
address@hidden and @code{host} shall be related to your local host.
address@hidden ifset
+
+
 @item
 How can I disable @value{tramp}?
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]