bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6945: active-minibuffer-window returns nil when prompt overwritten b


From: Lars Ingebrigtsen
Subject: bug#6945: active-minibuffer-window returns nil when prompt overwritten by message
Date: Thu, 20 Aug 2020 20:25:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lennart Borgman <lennart.borgman@gmail.com> writes:

> Eval the following
>
> (defun temp-active-mb ()
>   (message "active-minibuffer-window = %s" (active-minibuffer-window)))
>
> (progn
>   (run-with-idle-timer 1 nil 'message "idle message")
>   (run-with-idle-timer 2 nil 'temp-active-mb)
>   (y-or-n-p "Prompt: ")
>   )
>
> This gives me the message "active-minibuffer-window = nil".
>
> Is there any way then to discover whether Emacs is displaying a prompt
> and waiting for input?

I'm unable to reproduce this bug in Emacs 28.  The way prompts work with
asynchronous messages has changed substantially over the last year,
which probably explains it.  So I'm closing this bug report -- if
there's still an issue here, please respond to the debbugs address and
we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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