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: Eli Zaretskii
Subject: Re: Confused by y-or-n-p
Date: Wed, 23 Dec 2020 19:35:12 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org,  Richard Stallman <rms@gnu.org>
> Date: Wed, 23 Dec 2020 11:45:46 -0500
> 
> > Would it make sense to add a user option to disallow switching from
> > the minibuffer in the middle of y-or-n-p?  Then people who get
> > confused by this could set it to avoid the confusion.
> 
> I wonder what makes `y-or-n-p` special in this respect.
> IOW, I think the answer is "yes, it would make sense" but I also think
> this option should apply to other cases that `y-or-n-p`.
> 
> 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.



reply via email to

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