From: Chong Yidong Date: Sun, 13 Sep 2009 19:41:52 +0000 (+0000) Subject: * misc.texi (Invoking emacsclient): Minor clarifications (Bug#4419). X-Git-Tag: emacs-pretest-23.1.90~1340 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a5ca7c8b1fae1f3506964394ecf92a437e6269d;p=emacs.git * misc.texi (Invoking emacsclient): Minor clarifications (Bug#4419). --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 7f6a4b83edc..07dc3f6f861 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,6 +1,10 @@ +2009-09-13 Chong Yidong + + * misc.texi (Invoking emacsclient): Minor clarifications (Bug#4419). + 2009-08-31 Nick Roberts - * building.texi (Threads Buffer, Multithreaded Debugging): + * building.texi (Threads Buffer, Multithreaded Debugging): Re-organise these two sections, 2009-08-29 Eli Zaretskii diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 29f7f271350..339964207b9 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -1499,19 +1499,21 @@ can then select that frame to begin editing. with an error message. If the Emacs process has no existing frame---which can happen if it was started as a daemon (@pxref{Emacs Server})---then Emacs opens a frame on the terminal in which you -called @command{emacsclient}, as though you had used the @samp{-t} -option (@pxref{emacsclient Options}). - - On a graphical display, switching to the Emacs server is -straightforward---just select its (system-level) window. If you are -using a text-only terminal, there are two ways to switch between -@command{emacsclient}'s shell and the Emacs server: (i) run the Emacs -server and @command{emacsclient} on different virtual terminals, and -switch to the Emacs server's virtual terminal after calling -@command{emacsclient}; or (ii) call @command{emacsclient} from within -the Emacs server itself, using Shell mode (@pxref{Interactive Shell}) -or Term mode (@pxref{Term Mode}); @code{emacsclient} blocks only the -subshell under Emacs, and you can still use Emacs to edit the file. +called @command{emacsclient}. + + You can also force @command{emacsclient} to open a new frame on a +graphical display, or on a text-only terminal, using the @samp{-c} and +@samp{-t} options. @xref{emacsclient Options}. + + If you are running on a single text-only terminal, you can switch +between @command{emacsclient}'s shell and the Emacs server using one +of two methods: (i) run the Emacs server and @command{emacsclient} on +different virtual terminals, and switch to the Emacs server's virtual +terminal after calling @command{emacsclient}; or (ii) call +@command{emacsclient} from within the Emacs server itself, using Shell +mode (@pxref{Interactive Shell}) or Term mode (@pxref{Term Mode}); +@code{emacsclient} blocks only the subshell under Emacs, and you can +still use Emacs to edit the file. @kindex C-x # @findex server-edit @@ -1548,9 +1550,9 @@ with @kbd{C-x #}. But @kbd{C-x #} is the way to tell @command{emacsclient} that you are finished. @vindex server-window - If you set the variable @code{server-window} to a window or a frame, -@kbd{C-x #} always displays the next server buffer in that window or -in that frame. + If you set the value of the variable @code{server-window} to a +window or a frame, @kbd{C-x #} always displays the next server buffer +in that window or in that frame. @node emacsclient Options @subsection @code{emacsclient} Options