GNU bug report logs -
#59961
[PATCH] ; * lib-src/emacsclient.c: Add parameters option information.
Previous Next
Reported by: lu4nx <lx <at> shellcodes.org>
Date: Sun, 11 Dec 2022 09:34:02 UTC
Severity: minor
Tags: patch, wontfix
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59961 in the body.
You can then email your comments to 59961 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Sun, 11 Dec 2022 09:34:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
lu4nx <lx <at> shellcodes.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 11 Dec 2022 09:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
---
lib-src/emacsclient.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index af488128ba..a0c5b84bc5 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1669,10 +1669,10 @@ set_socket (bool no_exit_if_error)
/* No implicit or explicit socket, and no alternate editor. */
message (true, "%s: No socket or alternate editor. Please use:\n\n"
#ifdef SOCKETS_IN_FILE_SYSTEM
-"\t--socket-name\n"
+"\t--socket-name=SOCKET\n"
#endif
-"\t--server-file (or environment variable EMACS_SERVER_FILE)\n\
-\t--alternate-editor (or environment variable ALTERNATE_EDITOR)\n",
+"\t--server-file=SERVER (or environment variable EMACS_SERVER_FILE)\n\
+\t--alternate-editor=EDITOR (or environment variable ALTERNATE_EDITOR)\n",
progname);
exit (EXIT_FAILURE);
}
--
2.38.1
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Sun, 11 Dec 2022 10:27:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 59961 <at> debbugs.gnu.org (full text, mbox):
> Cc: lu4nx <lx <at> shellcodes.org>
> From: lu4nx <lx <at> shellcodes.org>
> Date: Sun, 11 Dec 2022 17:32:32 +0800
>
> ---
> lib-src/emacsclient.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
> index af488128ba..a0c5b84bc5 100644
> --- a/lib-src/emacsclient.c
> +++ b/lib-src/emacsclient.c
> @@ -1669,10 +1669,10 @@ set_socket (bool no_exit_if_error)
> /* No implicit or explicit socket, and no alternate editor. */
> message (true, "%s: No socket or alternate editor. Please use:\n\n"
> #ifdef SOCKETS_IN_FILE_SYSTEM
> -"\t--socket-name\n"
> +"\t--socket-name=SOCKET\n"
> #endif
> -"\t--server-file (or environment variable EMACS_SERVER_FILE)\n\
> -\t--alternate-editor (or environment variable ALTERNATE_EDITOR)\n",
> +"\t--server-file=SERVER (or environment variable EMACS_SERVER_FILE)\n\
> +\t--alternate-editor=EDITOR (or environment variable ALTERNATE_EDITOR)\n",
> progname);
> exit (EXIT_FAILURE);
> }
The --help message already says that. Why do we need that in an error
message as well?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Sun, 11 Dec 2022 10:53:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 59961 <at> debbugs.gnu.org (full text, mbox):
On Sun, 11 Dec 2022 12:26:16 +0200
Eli Zaretskii <eliz <at> gnu.org> wrote:
> The --help message already says that. Why do we need that in an error
> message as well?
Because when I forgot `server-start`, the information given was not
intuitive enough, and I needed to use `--help` again. And these three
parameters themselves need to provide value, so adding them will be
more intuitive. Thanks.
Severity set to 'minor' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 13 Dec 2022 01:21:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Sun, 15 Jan 2023 10:17:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 59961 <at> debbugs.gnu.org (full text, mbox):
lux <lx <at> shellcodes.org> writes:
> On Sun, 11 Dec 2022 12:26:16 +0200
> Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>> The --help message already says that. Why do we need that in an error
>> message as well?
>
> Because when I forgot `server-start`, the information given was not
> intuitive enough, and I needed to use `--help` again. And these three
> parameters themselves need to provide value, so adding them will be
> more intuitive. Thanks.
Hi, this question seems to be forgotten?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Sun, 15 Jan 2023 10:41:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 59961 <at> debbugs.gnu.org (full text, mbox):
> From: lux <lx <at> shellcodes.org>
> Cc: 59961 <at> debbugs.gnu.org
> Date: Sun, 15 Jan 2023 18:16:43 +0800
>
> lux <lx <at> shellcodes.org> writes:
>
> > On Sun, 11 Dec 2022 12:26:16 +0200
> > Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> >> The --help message already says that. Why do we need that in an error
> >> message as well?
> >
> > Because when I forgot `server-start`, the information given was not
> > intuitive enough, and I needed to use `--help` again. And these three
> > parameters themselves need to provide value, so adding them will be
> > more intuitive. Thanks.
>
> Hi, this question seems to be forgotten?
No, not forgotten. I just don't think we should make this change, as
the text says which features/options to use, not how to use them.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Wed, 10 Jan 2024 22:36:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 59961 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: lux <lx <at> shellcodes.org>
>> Cc: 59961 <at> debbugs.gnu.org
>> Date: Sun, 15 Jan 2023 18:16:43 +0800
>>
>> lux <lx <at> shellcodes.org> writes:
>>
>> > On Sun, 11 Dec 2022 12:26:16 +0200
>> > Eli Zaretskii <eliz <at> gnu.org> wrote:
>> >
>> >> The --help message already says that. Why do we need that in an error
>> >> message as well?
>> >
>> > Because when I forgot `server-start`, the information given was not
>> > intuitive enough, and I needed to use `--help` again. And these three
>> > parameters themselves need to provide value, so adding them will be
>> > more intuitive. Thanks.
>>
>> Hi, this question seems to be forgotten?
>
> No, not forgotten. I just don't think we should make this change, as
> the text says which features/options to use, not how to use them.
What's the drawback to being a bit more helpful though?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Thu, 11 Jan 2024 10:29:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 59961 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Wed, 10 Jan 2024 14:35:00 -0800
> Cc: lux <lx <at> shellcodes.org>, 59961 <at> debbugs.gnu.org
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> From: lux <lx <at> shellcodes.org>
> >> Cc: 59961 <at> debbugs.gnu.org
> >> Date: Sun, 15 Jan 2023 18:16:43 +0800
> >>
> >> lux <lx <at> shellcodes.org> writes:
> >>
> >> > On Sun, 11 Dec 2022 12:26:16 +0200
> >> > Eli Zaretskii <eliz <at> gnu.org> wrote:
> >> >
> >> >> The --help message already says that. Why do we need that in an error
> >> >> message as well?
> >> >
> >> > Because when I forgot `server-start`, the information given was not
> >> > intuitive enough, and I needed to use `--help` again. And these three
> >> > parameters themselves need to provide value, so adding them will be
> >> > more intuitive. Thanks.
> >>
> >> Hi, this question seems to be forgotten?
> >
> > No, not forgotten. I just don't think we should make this change, as
> > the text says which features/options to use, not how to use them.
>
> What's the drawback to being a bit more helpful though?
The message becomes longer. And it only added the info to the
command-line options, but not to the corresponding environment
variables. Finally, the meaning of SOCKET and SERVER are never
explained.
So it simply sounded to me like a personal issue that is not
necessarily relevant to everyone else.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#59961
; Package
emacs
.
(Thu, 11 Jan 2024 20:22:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 59961 <at> debbugs.gnu.org (full text, mbox):
tags 59961 + wontfix
close 59961
thanks
Eli Zaretskii <eliz <at> gnu.org> writes:
> The message becomes longer. And it only added the info to the
> command-line options, but not to the corresponding environment
> variables. Finally, the meaning of SOCKET and SERVER are never
> explained.
>
> So it simply sounded to me like a personal issue that is not
> necessarily relevant to everyone else.
Taking another look, I can see where you're coming from. Adding more
text doesn't add significant information in this case, and it does make
it longer.
I'm closing the bug as wontfix, with apologies to lux for not accepting
the patch. Thanks for sending it.
Added tag(s) wontfix.
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 11 Jan 2024 20:22:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
59961 <at> debbugs.gnu.org and lu4nx <lx <at> shellcodes.org>
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 11 Jan 2024 20:22:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 09 Feb 2024 12:24:14 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 90 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.