Changeset 3863 for trunk/etc/emacsclient.1
- Timestamp:
- 09/10/05 10:16:00 (3 years ago)
- Files:
-
- trunk/etc/emacsclient.1 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/etc/emacsclient.1
r3554 r3863 10 10 This manual page documents briefly the 11 11 .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.12 command. Full documentation is available in the GNU Info format; see 13 below. 14 This manual page was originally written for the Debian GNU/Linux 15 distribution, but is not specific to that system. 16 16 .PP 17 .B emacsclient 18 works in conjunction with the built-in server of Emacs.17 .B emacsclient 18 works in conjunction with the built-in Emacs server. 19 19 .PP 20 You typically do not call20 You can either call 21 21 .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. 22 directly or let other programs run it for you when necessary. On 23 GNU and Unix systems many programs consult the environment 24 variable EDITOR (sometimes also VISUAL) to obtain the command used for 25 editing. Thus, setting this environment variable to 'emacsclient' 26 will allow these programs to use an already running Emacs for editing. 27 Other operating systems might have their own methods for defining the 28 default editor. 27 29 28 30 For 29 .B emacsclient 30 to work, you need an already running Emacs with a server. Within Emacs, call 31 .B emacsclient 32 to work, you need an already running Emacs with a server. Within Emacs, call 31 33 the function 32 34 `server-start'. (Your `.emacs' file can do this automatically if you 33 add the expression `(server-start)' to it.) 35 add the expression `(server-start)' to it.) 34 36 35 37 When you've finished editing the buffer, type `C-x #' … … 55 57 Lisp expressions. 56 58 .TP 59 .B \-s, \-\-socket-name=FILENAME 60 Use socket named FILENAME for communication. 61 .TP 57 62 .B \-a, \-\-alternate-editor=EDITOR 58 63 if the Emacs server is not running, run the specified editor instead. … … 61 66 .B \-d, \-\-display=DISPLAY 62 67 tell the server to display the files on the given display. 68 .TP 69 .B \-V, \-\-version 70 print version information and exit 71 .TP 72 .B \-h, \-\-help 73 print this usage information message and exit 63 74 .SH "SEE ALSO" 64 75 The program is documented fully in 65 76 .IR "Using Emacs as a Server" 66 77 available via the Info system. 67 .SH BUGS68 If there is no running Emacs server,69 .B emacsclient70 cannot launch one. I use a small Perl script instead of raw71 .B emacsclient72 to do it (it works only with systems which have BSD sockets, which is fine73 for Debian GNU/Linux).74 78 .SH AUTHOR 75 79 This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>,
