[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Confused by y-or-n-p
From: |
Eli Zaretskii |
Subject: |
Re: Confused by y-or-n-p |
Date: |
Wed, 23 Dec 2020 20:44:08 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org, rms@gnu.org
> Date: Wed, 23 Dec 2020 13:11:53 -0500
>
> >> Maybe it could/should even apply to most uses of the minibuffer?
> >
> > Could be. However, y-or-n-p is somewhat special, in that it allowed
> > only very restricted set of things to type. By contrast
> > read-from-minibuffer always allowed switching out of the minibuffer.
>
> So you're saying the only reason to treat `y-or-n-p` differently is to
> avoid surprising old users?
Old users who have the previous operation of y-or-n-p burned into
their muscle memory, yes.
> Fair enough, but IIRC `y-or-n-p` is not the only function we changed
> recently to use a minibuffer instead of an ad-hoc modal read-event loop,
> so I suspect we might want to apply this new option to those other
> functions as well.
I think you are right.
Re: Confused by y-or-n-p, Lars Ingebrigtsen, 2020/12/23
Re: Confused by y-or-n-p, Karl Fogel, 2020/12/23
Re: Confused by y-or-n-p, Richard Stallman, 2020/12/24
Re: Confused by y-or-n-p, martin rudalics, 2020/12/24