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 19:35:15 +0000 Message-ID: <6ij_9GTWEr8TvtqlwJ__IgMXMaoo6omri90Awd6CZIzQiU5iE7Z7PPkgfm-yjafUtMR4IvbXyWUDvkCnZrMPH5BCS1LprWRcYw6TF6Mq9AU=@protonmail.com> References: <83blnje5ro.fsf@gnu.org> <838sine4si.fsf@gnu.org> <837dy7e3wr.fsf@gnu.org> <-ZmNQQ07JD7L0I5EpXolv4t1UhWBGc4SN0dkJml3cLbBjO6ucAMUzAqsI9Ca69xO_hzlMLfaLs6bY9vq8GAR24RUGu1LZqVoVkXhiJcFgtg=@protonmail.com> <835zdre31u.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="47684"; 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 21:37:13 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 1jRLBJ-000CKH-7O for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Apr 2020 21:37:13 +0200 Original-Received: from localhost ([::1]:56708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRLBI-0008Um-BS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Apr 2020 15:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47694) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRLAB-0007bs-HD for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 15:36:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRLAB-0000rb-1T for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 15:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRLAA-0000rE-Lb for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 15:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRLAA-00068U-HS for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2020 15:36:02 -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 19:36: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.158758412923546 (code B ref 40774); Wed, 22 Apr 2020 19:36:02 +0000 Original-Received: (at 40774) by debbugs.gnu.org; 22 Apr 2020 19:35:29 +0000 Original-Received: from localhost ([127.0.0.1]:53312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRL9c-00067i-U1 for submit@debbugs.gnu.org; Wed, 22 Apr 2020 15:35:29 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:47698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRL9b-00067U-BM for 40774@debbugs.gnu.org; Wed, 22 Apr 2020 15:35:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1587584121; bh=YmOsDYFSzjw97M5/uLaViuAxLVhWllmXHELbRtlXiY0=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=gNacmRyiWrnEgGV+EgsHwL0ML8Vu2H762ziRsOTPnBFnQIabkeq31AmwzBqhAvjQf yOR96l6imdF2jtY6ustvFM3t1taXNa/zuw8QDFuKOxdZCeXZUORywTzbDbvEjzWObB bhDx4h6Wgu7Edr/2vOeECHPEhdh0lKXKuAX2xMiI= In-Reply-To: <835zdre31u.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:178830 Archived-At: > The method Emacs uses to > determine when to run the next idle timer will not work, because when > Emacs is about to print a message, that method will return false, > i.e. tell that the user is not idle. OK, I didn't check how idle timers worked I just assumed the same method can be used. Then I guess the time of the last command can be used if it's available. If the user did not invoke any command for a while then we can assume he's idle. And it doesn't really matter if the determination of idleness is not precise, because it only means that errors occuring during this time won't be hidden by regular messages, they stay in the echo area. And anytime the user actually invokes a command the echo area is cleared as it works currently.