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: Fri, 25 Dec 2020 13:32:49 +0200

> Cc: emacs-devel@gnu.org, rms@gnu.org
> From: martin rudalics <rudalics@gmx.at>
> Date: Fri, 25 Dec 2020 10:07:17 +0100
> 
>  >> (defun minibuffer-lock ()
>  >>    (when (active-minibuffer-window)
>  >>      (select-window (active-minibuffer-window))))
>  >>
>  >> (add-hook 'post-command-hook #'minibuffer-lock)
>  >
>  > Would something like that work to give users an option discussed in
>  > this thread for y-or-n-p?
> 
> There are two orthogonal issues here: Whether to enable recursive
> minibuffers and whether to allow leaving the minibuffer window while
> asking a 'y-or-n-p' question.  The above addresses the latter only.

Isn't that enough to solve the problem which started this thread?



reply via email to

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