[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Confused by y-or-n-p
From: |
Richard Stallman |
Subject: |
Re: Confused by y-or-n-p |
Date: |
Sat, 26 Dec 2020 05:24:17 -0500 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> Still I'd suggest to allow users to
> > separately choose for both, 'y-or-n-p' _and_ 'yes-or-no-p' dialogues,
> > whether they want Emacs to handle them in a modal or non-modal way.
That would have these drawbacks
* It would mean extra complexity to debug, maintain, and document
* It would not directly provide the old behavior, only a basis for it.
People who want that would have to implement that.
Does anyone really WANT this generality, or is it generality for
generality's sake?
> Indeed. Here is a possible way to make the minibuffer modal:
> (defun minibuffer-lock ()
> (when (active-minibuffer-window)
> (select-window (active-minibuffer-window))))
I am not sure what behavior that would give.
But I think it is NOT the behavior that y-or-n-p used to
have, which was to reject unexpected answers.
What was the reason for implementing this change in the
single-character-answer commands? Who actually wanted the change in
behavior? And for what use cases?
If people really like the new behavior, I won't argue against it.
But maybe we should turn it off by default, like recursive minibuffers.
--
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- RE: Confused by y-or-n-p, (continued)
- RE: Confused by y-or-n-p, Drew Adams, 2020/12/28
- Re: Confused by y-or-n-p, Juri Linkov, 2020/12/28
- Re: Confused by y-or-n-p, Richard Stallman, 2020/12/26
- Re: Confused by y-or-n-p, Eli Zaretskii, 2020/12/26
- Re: Confused by y-or-n-p, Richard Stallman, 2020/12/27
- Re: Confused by y-or-n-p, Juri Linkov, 2020/12/25
- Re: Confused by y-or-n-p, Eli Zaretskii, 2020/12/25
- Re: Confused by y-or-n-p, martin rudalics, 2020/12/25
- Re: Confused by y-or-n-p, Eli Zaretskii, 2020/12/25
- Re: Confused by y-or-n-p, martin rudalics, 2020/12/25
- Re: Confused by y-or-n-p,
Richard Stallman <=
- Sv: Confused by y-or-n-p, arthur miller, 2020/12/26
- Re: Confused by y-or-n-p, Richard Stallman, 2020/12/27
- Re: Confused by y-or-n-p, Eli Zaretskii, 2020/12/26
- Re: Confused by y-or-n-p, martin rudalics, 2020/12/26
- Re: Confused by y-or-n-p, Richard Stallman, 2020/12/27
- RE: Confused by y-or-n-p, Drew Adams, 2020/12/26
Re: Confused by y-or-n-p, Richard Stallman, 2020/12/24
Re: Confused by y-or-n-p, Juri Linkov, 2020/12/28