]> code.delx.au - gnu-emacs/blobdiff - man/misc.texi
*** empty log message ***
[gnu-emacs] / man / misc.texi
index b1e31024de1f72e345171899c3656227f29f0f12..6f6d448bc7dfe36dde00d51bc203430550d9f359 100644 (file)
@@ -1331,7 +1331,7 @@ automatically when you finish with them.
 @subsection Invoking @code{emacsclient}
 
   To run the @code{emacsclient} program, specify file names as arguments,
-and optionally line numbers as well.  Do it like this:
+and optionally line numbers as well, like this:
 
 @example
 emacsclient @r{@{}@r{[}+@var{line}@r{[}@var{column}@r{]}@r{]} @var{filename}@r{@}}@dots{}
@@ -1348,14 +1348,19 @@ in the line.
 Emacs sends a message to the @code{emacsclient} program telling it to
 return.
 
+  If you invoke @code{emacsclient} for more than one file, the
+additional client buffers are buried at the bottom of the buffer list
+(@pxref{Buffers}).  If you call @kbd{C-x #} after you are done editing
+a client buffer, the next client buffer is automatically selected.
+
   But if you use the option @samp{-n} or @samp{--no-wait} when running
 @code{emacsclient}, then it returns immediately.  (You can take as
 long as you like to edit the files in Emacs.)
 
-  The option @samp{--alternate-editor=@var{command}} is useful when
-running @code{emacsclient} in a script.  It specifies a command to run
-if @code{emacsclient} fails to contact Emacs.  For example, the
-following setting for the @var{EDITOR} environment variable will
+  The option @samp{--alternate-editor=@var{command}} specifies a
+command to run if @code{emacsclient} fails to contact Emacs.  This is
+useful when running @code{emacsclient} in a script.  For example, the
+following setting for the @env{EDITOR} environment variable will
 always give you an editor, even if no Emacs server is running:
 
 @example
@@ -1363,8 +1368,8 @@ EDITOR="emacsclient --alternate-editor emacs +%d %s"
 @end example
 
 @noindent
-The environment variable @var{ALTERNATE_EDITOR} has the same effect, but
-the value of the @samp{--alternate-editor} takes precedence.
+The environment variable @env{ALTERNATE_EDITOR} has the same effect, with
+the value of the @samp{--alternate-editor} option taking precedence.
 
 @pindex emacs.bash
   Alternatively, the file @file{etc/emacs.bash} defines a bash
@@ -2372,7 +2377,7 @@ or through an external viewer.
   To enter Tumme, type @kbd{M-x tumme}.  It prompts for a directory;
 specify one that has images files.  This creates thumbnails for all
 the images in that directory, and displays them all in the ``thumbnail
-buffer''.  This takes a long time if the directory contains many image
+buffer.''  This takes a long time if the directory contains many image
 files, and it asks for confirmation if the number of image files
 exceeds @code{tumme-show-all-from-dir-max-files}.