GNU bug report logs -
#50390
Improve documentation of 'read-char-choice-use-read-key' and 'y-or-n-p-use-read-key'
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Sun, 5 Sep 2021 02:57:01 UTC
Severity: wishlist
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
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 50390 in the body.
You can then email your comments to 50390 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
juri <at> linkov.net, bug-gnu-emacs <at> gnu.org
:
bug#50390
; Package
emacs
.
(Sun, 05 Sep 2021 02:57:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Kangas <stefan <at> marxist.se>
:
New bug report received and forwarded. Copy sent to
juri <at> linkov.net, bug-gnu-emacs <at> gnu.org
.
(Sun, 05 Sep 2021 02:57:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Severity: wishlist
X-Debbugs-CC: Juri Linkov <juri <at> linkov.net>
I read in NEWS for Emacs 28:
New variables 'read-char-choice-use-read-key' and 'y-or-n-p-use-read-key'.
When I look into the documentation of those variables, I do not get
any explanation of why I would want to use them. I also can't find
any explanation in the manual.
Even just one or two sentences that indicates its typical use would be
very helpful here.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50390
; Package
emacs
.
(Sun, 05 Sep 2021 08:12:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 50390 <at> debbugs.gnu.org (full text, mbox):
> I read in NEWS for Emacs 28:
>
> New variables 'read-char-choice-use-read-key' and 'y-or-n-p-use-read-key'.
>
> When I look into the documentation of those variables, I do not get
> any explanation of why I would want to use them. I also can't find
> any explanation in the manual.
>
> Even just one or two sentences that indicates its typical use would be
> very helpful here.
The problem is that read-char-choice still has no docstring.
After adding it, the docstring of read-char-choice should
refer to read-char-choice-use-read-key and explain it.
y-or-n-p already has docstring and should mention y-or-n-p-use-read-key.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50390
; Package
emacs
.
(Sun, 05 Sep 2021 10:04:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 50390 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> linkov.net> writes:
>> When I look into the documentation of those variables, I do not get
>> any explanation of why I would want to use them. I also can't find
>> any explanation in the manual.
>>
>> Even just one or two sentences that indicates its typical use would be
>> very helpful here.
>
> The problem is that read-char-choice still has no docstring.
> After adding it, the docstring of read-char-choice should
> refer to read-char-choice-use-read-key and explain it.
>
> y-or-n-p already has docstring and should mention y-or-n-p-use-read-key.
I've now added some text to the doc strings of the variables and
functions to try to explain what the difference here is, which isn't
obvious. Feel free to improve more -- it's kinda hard to succinctly
explain the user interface difference here.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
50390 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 05 Sep 2021 10:04:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50390
; Package
emacs
.
(Sun, 05 Sep 2021 10:12:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 50390 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 05 Sep 2021 12:03:28 +0200
> Cc: Stefan Kangas <stefan <at> marxist.se>, 50390 <at> debbugs.gnu.org
>
> I've now added some text to the doc strings of the variables and
> functions to try to explain what the difference here is, which isn't
> obvious. Feel free to improve more -- it's kinda hard to succinctly
> explain the user interface difference here.
What is the non-succinct explanation?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50390
; Package
emacs
.
(Sun, 05 Sep 2021 10:14:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 50390 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> I've now added some text to the doc strings of the variables and
>> functions to try to explain what the difference here is, which isn't
>> obvious. Feel free to improve more -- it's kinda hard to succinctly
>> explain the user interface difference here.
>
> What is the non-succinct explanation?
It's in the patch. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50390
; Package
emacs
.
(Sun, 05 Sep 2021 10:33:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 50390 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: stefan <at> marxist.se, 50390 <at> debbugs.gnu.org, juri <at> linkov.net
> Date: Sun, 05 Sep 2021 12:13:23 +0200
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> I've now added some text to the doc strings of the variables and
> >> functions to try to explain what the difference here is, which isn't
> >> obvious. Feel free to improve more -- it's kinda hard to succinctly
> >> explain the user interface difference here.
> >
> > What is the non-succinct explanation?
>
> It's in the patch. :-)
LGTM.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 03 Oct 2021 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 205 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.