From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emilio Lopes Newsgroups: gmane.emacs.devel Subject: Re: update of emacsclient.1 Date: Fri, 19 Aug 2005 18:33:08 +0200 Organization: private Message-ID: References: <8t64u4vopo.fsf@tiscali.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124470130 19976 80.91.229.2 (19 Aug 2005 16:48:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2005 16:48:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 18:48:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E6A0x-0004mu-Dc for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2005 18:46:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E6A4W-0003ju-8Y for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2005 12:50:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E6A3G-0003Jb-Kc for emacs-devel@gnu.org; Fri, 19 Aug 2005 12:49:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E6A3A-0003Eo-Ts for emacs-devel@gnu.org; Fri, 19 Aug 2005 12:49:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E6A38-0003AX-UJ for emacs-devel@gnu.org; Fri, 19 Aug 2005 12:48:59 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1E6AAI-0001NN-0b for emacs-devel@gnu.org; Fri, 19 Aug 2005 12:56:22 -0400 Original-Received: (qmail invoked by alias); 19 Aug 2005 16:32:54 -0000 Original-Received: from p62.246.41.202.tisdip.tiscali.de (EHLO jumeirah.tiscali.de) [62.246.41.202] by mail.gmx.net (mp032) with SMTP; 19 Aug 2005 18:32:54 +0200 X-Authenticated: #3737989 Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Fri, 19 Aug 2005 12:15:23 -0400") User-Agent: Emacs Gnus X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42262 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42262 Richard M Stallman writes: > These changes are ok. I think it would be better to say "on GNU and > Unix systems" because this is not limited to GNU systems where the > kernel is Linux. Sure. Here is a patch including this change: 2005-08-19 Emilio C. Lopes * emacsclient.1 (DESCRIPTION): reflect inclusion in the Emacs distribution. Made role of EDITOR clearer. (OPTIONS): documented `-s', `-V' and `-h' as well as their long name counterparts. (BUGS): removed since its contents doesn't apply anymore. diff -rN -c old-emacs-darcs.eclig/etc/emacsclient.1 new-emacs-darcs.eclig/etc/emacsclient.1 *** old-emacs-darcs.eclig/etc/emacsclient.1 Fri Aug 19 18:26:38 2005 --- new-emacs-darcs.eclig/etc/emacsclient.1 Fri Aug 19 18:23:34 2005 *************** *** 9,29 **** .SH "DESCRIPTION" This manual page documents briefly the .BR emacsclient ! command. ! This manual page was written for the Debian GNU/Linux distribution ! because the original program does not have a manual page. ! Instead, it has documentation in the GNU Info format; see below. .PP .B emacsclient ! works in conjunction with the built-in server of Emacs. .PP ! You typically do not call .B emacsclient ! directly. Instead, you set the environment variable EDITOR ! to ! .B emacsclient ! and let programs like 'vipw' or 'bug' or anything run ! it for you, which will use an existing Emacs to visit the file. For .B emacsclient --- 9,31 ---- .SH "DESCRIPTION" This manual page documents briefly the .BR emacsclient ! command. Full documentation is available in the GNU Info format; see ! below. ! This manual page was originally written for the Debian GNU/Linux ! distribution, but is not specific to that system. .PP .B emacsclient ! works in conjunction with the built-in Emacs server. .PP ! You can either call .B emacsclient ! directly or let other programs run it for you when necessary. On ! GNU and Unix systems many programs consult the environment ! variable EDITOR (sometimes also VISUAL) to obtain the command used for ! editing. Thus, setting this environment variable to 'emacsclient' ! will allow these programs to use an already running Emacs for editing. ! Other operating systems might have their own methods for defining the ! default editor. For .B emacsclient *************** *** 54,79 **** do not visit files but instead evaluate the arguments as Emacs Lisp expressions. .TP .B \-a, \-\-alternate-editor=EDITOR if the Emacs server is not running, run the specified editor instead. This can also be specified via the `ALTERNATE_EDITOR' environment variable. .TP .B \-d, \-\-display=DISPLAY tell the server to display the files on the given display. .SH "SEE ALSO" The program is documented fully in .IR "Using Emacs as a Server" available via the Info system. - .SH BUGS - If there is no running Emacs server, - .B emacsclient - cannot launch one. I use a small Perl script instead of raw - .B emacsclient - to do it (it works only with systems which have BSD sockets, which is fine - for Debian GNU/Linux). .SH AUTHOR ! This manual page was written by Stephane Bortzmeyer , ! for the Debian GNU/Linux system (but may be used by others). .SH COPYING This manual page is in the public domain. --- 56,83 ---- do not visit files but instead evaluate the arguments as Emacs Lisp expressions. .TP + .B \-s, \-\-socket-name=FILENAME + Use socket named FILENAME for communication. + .TP .B \-a, \-\-alternate-editor=EDITOR if the Emacs server is not running, run the specified editor instead. This can also be specified via the `ALTERNATE_EDITOR' environment variable. .TP .B \-d, \-\-display=DISPLAY tell the server to display the files on the given display. + .TP + .B \-V, \-\-version + print version information and exit + .TP + .B \-h, \-\-help + print this usage information message and exit .SH "SEE ALSO" The program is documented fully in .IR "Using Emacs as a Server" available via the Info system. .SH AUTHOR ! This manual page was written by Stephane Bortzmeyer ! for the Debian GNU/Linux system. .SH COPYING This manual page is in the public domain.