From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#40774: Error messages shouldn't be hidden when the user is idle Date: Wed, 22 Apr 2020 18:53:01 +0000 Message-ID: References: <83mu73eagw.fsf@gnu.org> <3HKWEOXkDWKA21dsCFgMgmFIMPR3VwPgNzfTjd7I5Igswu07sfhZaP-td1X4Py66xAD6kDLyLjVmujFkuabkY_S9ZZhgGZwi0IaAV6RS59U=@protonmail.com> <83ftcve6gl.fsf@gnu.org> <83blnje5ro.fsf@gnu.org> <838sine4si.fsf@gnu.org> Reply-To: ndame , ndame Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="120724"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "40774@debbugs.gnu.org" <40774@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 22 20:54:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRKVg-000VGJ-2Z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Apr 2020 20:54:12 +0200 Original-Received: from localhost ([::1]:56128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRKVe-0005vA-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Apr 2020 14:54:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRKVY-0005v2-Fm for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 14:54:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRKVX-0002po-RZ for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 14:54:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRKVX-0002pY-Gd for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 14:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRKVW-0004zm-Gd for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 14:54:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ndame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Apr 2020 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40774 X-GNU-PR-Package: emacs Original-Received: via spool by 40774-submit@debbugs.gnu.org id=B40774.158758159519144 (code B ref 40774); Wed, 22 Apr 2020 18:54:02 +0000 Original-Received: (at 40774) by debbugs.gnu.org; 22 Apr 2020 18:53:15 +0000 Original-Received: from localhost ([127.0.0.1]:53233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRKUk-0004yi-Ss for submit@debbugs.gnu.org; Wed, 22 Apr 2020 14:53:15 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:47825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRKUj-0004yW-EG for 40774@debbugs.gnu.org; Wed, 22 Apr 2020 14:53:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1587581587; bh=U9RhVkyg9ADHqlNwRV1tvexNhohY8YA2LOce7H/osMs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=IzmUZ2mnak5RiB3Jr/L3dQuEk125xXkFaJCCEAuLlUo6N8lSIA8N3hJAaNDgbAbAQ 9hCDlCR90w7muIPSEcn3xXUySqD8GcUcVKYsHS9riMKa0HgsJ9fCoX/28DSVqJ8m9Q Tbt4Y1kravPulEsN7uQtdGKzOzBAmYEJuh7zKNow= In-Reply-To: <838sine4si.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178826 Archived-At: > > 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.