* update of emacsclient.1
@ 2005-08-17 10:32 Emilio Lopes
2005-08-17 11:10 ` Lennart Borgman
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Emilio Lopes @ 2005-08-17 10:32 UTC (permalink / raw)
enclosed is a patch updating the man page of Emacsclient. I hope the
changes are appropriate.
I have one question though. Under "DESCRIPTION" it says:
You typically do not call emacsclient directly. Instead, you set the
environment variable EDITOR to emacsclient and let programs like 'vipw'
or 'bug' or anything run it for you, which will use an existing Emacs
to visit the file.
I myself call `emacsclient' often from the shell. And should these
`vipw' and `bug' programs be really mentioned? I use Debian GNU/Linux,
the system for which the man page was originally written, but I don't
have this `bug' program.
What people think of changing the above paragraph to
You can either call emacsclient directly or set the environment
variable EDITOR to 'emacsclient' and let other programs run it for
you, thus using an existing Emacs to edit the file.
?
Here is the patch:
2005-08-17 Emilio C. Lopes <eclig@gmx.net>
* emacsclient.1 (DESCRIPTION): reflect inclusion in the Emacs
distribution.
(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 Wed Aug 17 12:27:14 2005
--- new-emacs-darcs.eclig/etc/emacsclient.1 Wed Aug 17 12:18:48 2005
***************
*** 9,21 ****
.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
--- 9,21 ----
.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 typically do not call
.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 <bortzmeyer@debian.org>,
! for the Debian GNU/Linux system (but may be used by others).
.SH COPYING
This manual page is in the public domain.
--- 54,81 ----
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 <bortzmeyer@debian.org>,
! for the Debian GNU/Linux system.
.SH COPYING
This manual page is in the public domain.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-17 10:32 update of emacsclient.1 Emilio Lopes
@ 2005-08-17 11:10 ` Lennart Borgman
2005-08-17 13:30 ` Drew Adams
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Lennart Borgman @ 2005-08-17 11:10 UTC (permalink / raw)
Cc: emacs-devel
Emilio Lopes wrote:
>What people think of changing the above paragraph to
>
> You can either call emacsclient directly or set the environment
> variable EDITOR to 'emacsclient' and let other programs run it for
> you, thus using an existing Emacs to edit the file.
>
>
I think it is good to change the original text. However I would like to
suggest to use a more OS neutral text. I do not believe the proposed use
of EDITOR always work. Maybe you can say something like "Many programs
look in the environment variable EDITOR ... "?
I think it would also be good to mention the desktop integration. I do
not know exactly how this look on other OS:es but on my w32 system
clicking a file of a type associated with Emacs will open this by
calling gnuclientw (which is soon to be replaced by emacsclientw on w32
I hope).
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: update of emacsclient.1
2005-08-17 10:32 update of emacsclient.1 Emilio Lopes
2005-08-17 11:10 ` Lennart Borgman
@ 2005-08-17 13:30 ` Drew Adams
2005-08-17 16:58 ` Emilio Lopes
2005-08-18 14:47 ` Richard M. Stallman
3 siblings, 0 replies; 14+ messages in thread
From: Drew Adams @ 2005-08-17 13:30 UTC (permalink / raw)
Under "DESCRIPTION" it says:
You typically do not call emacsclient directly. Instead,
you set the environment variable EDITOR to emacsclient and
let programs like 'vipw' or 'bug' or anything run it for
you, which will use an existing Emacs to visit the file.
I myself call `emacsclient' often from the shell. And should these
`vipw' and `bug' programs be really mentioned? I use Debian GNU/Linux,
the system for which the man page was originally written, but I don't
have this `bug' program.
What people think of changing the above paragraph to
You can either call emacsclient directly or set the environment
variable EDITOR to 'emacsclient' and let other programs run it for
you, thus using an existing Emacs to edit the file.
I agree. On Windows, for instance, 1) users will most often access it via
file associations or shortcuts; 2) users won't have those programs, either.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-17 10:32 update of emacsclient.1 Emilio Lopes
2005-08-17 11:10 ` Lennart Borgman
2005-08-17 13:30 ` Drew Adams
@ 2005-08-17 16:58 ` Emilio Lopes
2005-08-17 17:35 ` Lennart Borgman
2005-08-19 16:15 ` Richard M. Stallman
2005-08-18 14:47 ` Richard M. Stallman
3 siblings, 2 replies; 14+ messages in thread
From: Emilio Lopes @ 2005-08-17 16:58 UTC (permalink / raw)
I wrote:
> enclosed is a patch updating the man page of Emacsclient. I hope
> the changes are appropriate. [...]
After collecting suggestions from others, I came up with the following
changes. They already include the patch I sent before.
2005-08-17 Emilio C. Lopes <eclig@gmx.net>
* emacsclient.1 (DESCRIPTION): reflect inclusion in the Emacs
distribution. Made the 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 Wed Aug 17 18:54:07 2005
--- new-emacs-darcs.eclig/etc/emacsclient.1 Wed Aug 17 18:51:17 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/Linux 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 <bortzmeyer@debian.org>,
! 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 <bortzmeyer@debian.org>
! for the Debian GNU/Linux system.
.SH COPYING
This manual page is in the public domain.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-17 16:58 ` Emilio Lopes
@ 2005-08-17 17:35 ` Lennart Borgman
2005-08-19 16:15 ` Richard M. Stallman
1 sibling, 0 replies; 14+ messages in thread
From: Lennart Borgman @ 2005-08-17 17:35 UTC (permalink / raw)
Cc: emacs-devel
Emilio Lopes wrote:
>
>! You can either call
> .B emacsclient
>! directly or let other programs run it for you when necessary. On
>! GNU/Linux 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.
>
>
Thanks, I believe this is much less confusing for those users that use
"other operating systems". Beside that it tells them that this perhaps
does not work on their system it tells how it works on GNU/Linux.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-17 10:32 update of emacsclient.1 Emilio Lopes
` (2 preceding siblings ...)
2005-08-17 16:58 ` Emilio Lopes
@ 2005-08-18 14:47 ` Richard M. Stallman
2005-08-18 15:24 ` Lennart Borgman
3 siblings, 1 reply; 14+ messages in thread
From: Richard M. Stallman @ 2005-08-18 14:47 UTC (permalink / raw)
Cc: emacs-devel
What people think of changing the above paragraph to
You can either call emacsclient directly or set the environment
variable EDITOR to 'emacsclient' and let other programs run it for
you, thus using an existing Emacs to edit the file.
I think that is good. Would someone please install it?
Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-18 14:47 ` Richard M. Stallman
@ 2005-08-18 15:24 ` Lennart Borgman
0 siblings, 0 replies; 14+ messages in thread
From: Lennart Borgman @ 2005-08-18 15:24 UTC (permalink / raw)
Cc: Emilio Lopes, emacs-devel
Richard M. Stallman wrote:
> What people think of changing the above paragraph to
>
> You can either call emacsclient directly or set the environment
> variable EDITOR to 'emacsclient' and let other programs run it for
> you, thus using an existing Emacs to edit the file.
>
>
>I think that is good. Would someone please install it?
>Thanks.
>
>
Could we please use the next version Emilio sent instead? It is more
independent of the OS used. This will cause less confusion and save
peoples time I believe. Then we can do more.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-17 16:58 ` Emilio Lopes
2005-08-17 17:35 ` Lennart Borgman
@ 2005-08-19 16:15 ` Richard M. Stallman
2005-08-19 16:33 ` Emilio Lopes
2005-08-19 16:42 ` Jose E. Marchesi
1 sibling, 2 replies; 14+ messages in thread
From: Richard M. Stallman @ 2005-08-19 16:15 UTC (permalink / raw)
Cc: emacs-devel
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.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-19 16:15 ` Richard M. Stallman
@ 2005-08-19 16:33 ` Emilio Lopes
2005-08-20 17:22 ` Richard M. Stallman
2005-08-19 16:42 ` Jose E. Marchesi
1 sibling, 1 reply; 14+ messages in thread
From: Emilio Lopes @ 2005-08-19 16:33 UTC (permalink / raw)
Cc: emacs-devel
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 <eclig@gmx.net>
* 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 <bortzmeyer@debian.org>,
! 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 <bortzmeyer@debian.org>
! for the Debian GNU/Linux system.
.SH COPYING
This manual page is in the public domain.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-19 16:15 ` Richard M. Stallman
2005-08-19 16:33 ` Emilio Lopes
@ 2005-08-19 16:42 ` Jose E. Marchesi
2005-08-19 18:45 ` Ken Raeburn
1 sibling, 1 reply; 14+ messages in thread
From: Jose E. Marchesi @ 2005-08-19 16:42 UTC (permalink / raw)
Cc: Emilio Lopes, emacs-devel
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.
I think would be good to avoid the use of the plural of "Unix", and
subst it with POSIX, such as "on GNU and POSIX systems". Afterall,
there is only one Unix(TM), owned by SCO (afaik).
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-19 16:42 ` Jose E. Marchesi
@ 2005-08-19 18:45 ` Ken Raeburn
0 siblings, 0 replies; 14+ messages in thread
From: Ken Raeburn @ 2005-08-19 18:45 UTC (permalink / raw)
Cc: emacs-devel
On Aug 19, 2005, at 12:42, Jose E. Marchesi wrote:
> I think would be good to avoid the use of the plural of "Unix", and
> subst it with POSIX, such as "on GNU and POSIX systems". Afterall,
> there is only one Unix(TM), owned by SCO (afaik).
The Open Group holds the trademark on "UNIX", and several vendors are
licensed to use it.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-19 16:33 ` Emilio Lopes
@ 2005-08-20 17:22 ` Richard M. Stallman
2005-08-27 18:21 ` Emilio Lopes
0 siblings, 1 reply; 14+ messages in thread
From: Richard M. Stallman @ 2005-08-20 17:22 UTC (permalink / raw)
Cc: emacs-devel
Would someone please install your changes?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-20 17:22 ` Richard M. Stallman
@ 2005-08-27 18:21 ` Emilio Lopes
2005-08-27 22:02 ` Thien-Thi Nguyen
0 siblings, 1 reply; 14+ messages in thread
From: Emilio Lopes @ 2005-08-27 18:21 UTC (permalink / raw)
Richard M Stallman writes:
> Would someone please install your changes?
It seems `someone' forgot this... :-(
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: update of emacsclient.1
2005-08-27 18:21 ` Emilio Lopes
@ 2005-08-27 22:02 ` Thien-Thi Nguyen
0 siblings, 0 replies; 14+ messages in thread
From: Thien-Thi Nguyen @ 2005-08-27 22:02 UTC (permalink / raw)
Cc: emacs-devel
Emilio Lopes <eclig@gmx.net> writes:
> It seems `someone' forgot this... :-(
sometimes `someone' just needs a friendly reminder. :-)
i have installed the patch.
thi
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2005-08-27 22:02 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-17 10:32 update of emacsclient.1 Emilio Lopes
2005-08-17 11:10 ` Lennart Borgman
2005-08-17 13:30 ` Drew Adams
2005-08-17 16:58 ` Emilio Lopes
2005-08-17 17:35 ` Lennart Borgman
2005-08-19 16:15 ` Richard M. Stallman
2005-08-19 16:33 ` Emilio Lopes
2005-08-20 17:22 ` Richard M. Stallman
2005-08-27 18:21 ` Emilio Lopes
2005-08-27 22:02 ` Thien-Thi Nguyen
2005-08-19 16:42 ` Jose E. Marchesi
2005-08-19 18:45 ` Ken Raeburn
2005-08-18 14:47 ` Richard M. Stallman
2005-08-18 15:24 ` Lennart Borgman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).