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

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

bug#40774: Error messages shouldn't be hidden when the user is idle


From: Eli Zaretskii
Subject: bug#40774: Error messages shouldn't be hidden when the user is idle
Date: Wed, 22 Apr 2020 22:06:28 +0300

> Date: Wed, 22 Apr 2020 18:53:01 +0000
> From: ndame <ndame@protonmail.com>
> Cc: "40774@debbugs.gnu.org" <40774@debbugs.gnu.org>
> 
> > You want the Emacs behavior to change depending on whether "the user
> > is idle" or not, right? If the practical implementation of that will
> > be "when Emacs is idle", you might not have the behavior you wanted,
> > because Emacs might not be idle when the user is.
> 
> If Emacs prints a message then the message function can check if the
> user is idle using the same condition what run-with-idle-timer
> uses and if so then it can handle displaying the message in different way.

But that's exactly the problem I see with your proposed strategy:
when Emacs prints a message, it is _never_ idle, by definition.





reply via email to

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