Show
Ignore:
Timestamp:
09/10/05 10:16:00 (3 years ago)
Author:
miyoshi
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/etc/emacsclient.1

    r3554 r3863  
    1010This manual page documents briefly the 
    1111.BR emacsclient 
    12 command. 
    13 This manual page was written for the Debian GNU/Linux distribution 
    14 because the original program does not have a manual page. 
    15 Instead, it has documentation in the GNU Info format; see below
     12command.  Full documentation is available in the GNU Info format; see 
     13below. 
     14This manual page was originally written for the Debian GNU/Linux 
     15distribution, but is not specific to that system
    1616.PP 
    17 .B emacsclient  
    18 works in conjunction with the built-in server of Emacs
     17.B emacsclient 
     18works in conjunction with the built-in Emacs server
    1919.PP 
    20 You typically do not call  
     20You can either call 
    2121.B emacsclient 
    22 directly.  Instead, you set the environment variable EDITOR 
    23 to  
    24 .B emacsclient 
    25 and let programs like 'vipw' or 'bug' or anything run 
    26 it for you, which will use an existing Emacs to visit the file. 
     22directly or let other programs run it for you when necessary.  On 
     23GNU and Unix systems many programs consult the environment 
     24variable EDITOR (sometimes also VISUAL) to obtain the command used for 
     25editing.  Thus, setting this environment variable to 'emacsclient' 
     26will allow these programs to use an already running Emacs for editing. 
     27Other operating systems might have their own methods for defining the 
     28default editor. 
    2729 
    2830For 
    29 .B emacsclient  
    30 to work, you need an already running Emacs with a server.  Within Emacs, call  
     31.B emacsclient 
     32to work, you need an already running Emacs with a server.  Within Emacs, call 
    3133the function 
    3234`server-start'.  (Your `.emacs' file can do this automatically if you 
    33 add the expression `(server-start)' to it.)   
     35add the expression `(server-start)' to it.) 
    3436 
    3537When you've finished editing the buffer, type `C-x #' 
     
    5557Lisp expressions. 
    5658.TP 
     59.B \-s, \-\-socket-name=FILENAME 
     60Use socket named FILENAME for communication. 
     61.TP 
    5762.B \-a, \-\-alternate-editor=EDITOR 
    5863if the Emacs server is not running, run the specified editor instead. 
     
    6166.B \-d, \-\-display=DISPLAY 
    6267tell the server to display the files on the given display. 
     68.TP 
     69.B \-V, \-\-version 
     70print version information and exit 
     71.TP 
     72.B \-h, \-\-help 
     73print this usage information message and exit 
    6374.SH "SEE ALSO" 
    6475The program is documented fully in 
    6576.IR "Using Emacs as a Server" 
    6677available via the Info system. 
    67 .SH BUGS 
    68 If there is no running Emacs server,  
    69 .B emacsclient  
    70 cannot launch one. I use a small Perl script instead of raw  
    71 .B emacsclient 
    72 to do it (it works only with systems which have BSD sockets, which is fine 
    73 for Debian GNU/Linux). 
    7478.SH AUTHOR 
    7579This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>,