# HG changeset patch # User Stefan Monnier # Date 1033152448 0 # Node ID 5dbc6d83f14df773a06aa5a959625758146e9beb # Parent 3b27be508d4e0e3e61e0ea87ed39bde48a5fa0cf Add info about --eval and --display. diff -r 3b27be508d4e -r 5dbc6d83f14d etc/NEWS --- a/etc/NEWS Fri Sep 27 18:30:30 2002 +0000 +++ b/etc/NEWS Fri Sep 27 18:47:28 2002 +0000 @@ -60,6 +60,11 @@ * Changes in Emacs 21.4 +++ +** The `emacsclient' understand the options `--eval' and `--display' +which tell Emacs resp. to evaluate the given elisp expressions and +to use the given display when visiting files. + ++++ ** The mode line position information now comes before the major mode. When the file is maintained under version control, that information appears between the position information and the major mode. diff -r 3b27be508d4e -r 5dbc6d83f14d man/misc.texi --- a/man/misc.texi Fri Sep 27 18:30:30 2002 +0000 +++ b/man/misc.texi Fri Sep 27 18:47:28 2002 +0000 @@ -1300,6 +1300,16 @@ function which will communicate with a running Emacs server, or start one if none exists. +If you use several displays, you can tell Emacs on which display to +open the given files with the option @samp{--display=@var{DISPLAY}}. +This can be used typically when connecting from home to an Emacs +server running on your machine at your workplace. + +You can also use @code{emacsclient} to execute any piece of Emacs Lisp +code, using the option @samp{--eval}. When this option is given, the +rest of the arguments is not taken as a list of files to visit but as +a list of expressions to evaluate. + @node Hardcopy, PostScript, Emacs Server, Top @section Hardcopy Output @cindex hardcopy