GNU bug report logs - #40774
Error messages shouldn't be hidden when the user is idle

Previous Next

Package: emacs;

Reported by: ndame <ndame <at> protonmail.com>

Date: Wed, 22 Apr 2020 16:23:01 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: ndame <ndame <at> protonmail.com>
Cc: 40774 <at> debbugs.gnu.org
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 <at> protonmail.com>
> Cc: "40774 <at> debbugs.gnu.org" <40774 <at> 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.




This bug report was last modified 3 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.