emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confused by y-or-n-p


From: Juri Linkov
Subject: Re: Confused by y-or-n-p
Date: Thu, 14 Jan 2021 10:50:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>   > Its name should be consistent with another variable
>   > use-short-answers that could be used to replace
>   > yes-or-no-p with y-or-n-p.  These two should have names
>   > that preclude confusion between their meanings.
>
>   > Also use-short-answers could be used by the existing variable
>   > read-answer-short.
>
> That might be good, but needs working out the details.

Maybe also there is a need to add a separate option that
turns short y-or-n-p queries to long yes-or-no-p questions?

So when it's non-nil and y-or-n-p is called, it will redirect
the prompt to yes-or-no-p to ask a long yes-or-no question.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]