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: Thu, 23 Apr 2020 05:58:01 +0000 Message-ID: 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="111728"; 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 Thu Apr 23 07:59:16 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 1jRUtG-000Sv2-HW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Apr 2020 07:59:14 +0200 Original-Received: from localhost ([::1]:37226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRUtF-0002zA-9W for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Apr 2020 01:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55032) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRUt5-0002yp-D6 for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:59:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRUt4-0000hJ-VB for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42358) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRUt4-0000h8-Jf for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRUt4-000582-HQ for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ndame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Apr 2020 05:59: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.158762149419651 (code B ref 40774); Thu, 23 Apr 2020 05:59:02 +0000 Original-Received: (at 40774) by debbugs.gnu.org; 23 Apr 2020 05:58:14 +0000 Original-Received: from localhost ([127.0.0.1]:53904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRUsH-00056t-TW for submit@debbugs.gnu.org; Thu, 23 Apr 2020 01:58:14 -0400 Original-Received: from mail4.protonmail.ch ([185.70.40.27]:63613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRUsG-00056f-2D for 40774@debbugs.gnu.org; Thu, 23 Apr 2020 01:58:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1587621485; bh=5G1OFRQPSbgcQMQ6eCfCdxDCSnpV0yEvGQS57wLmfKk=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=q6fvgiUzRCndXjJ6bYq1I6ambNzwFjRMi4pmyVo6ahqkAeX9kGNFceIHqYO0x06tZ +H6csxu0h59ZWxOYN96pyc+MOkmi4Vj1Q4tFSYSC5h57w9y5i2GufhiQsx3P8SJ+Ko 9WsZpdaa5F+APAqFb0TjRmoWkldZTgAJS72WqudU= 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:178845 Archived-At: > The method Emacs uses to > determine when to run the next idle timer will not work, It just occurred to me there is no need for idle check at all. The echo area is currently automatically cleared when the user performs a command. Otherwise, a new message can override the echo area. Only the latter needs to be changed, so that a new message does not erase error messages. So if emacs is left alone then arriving error messages are accumulated and shown in a multiline echo area. If a new regular message arrives then it is shown at the bottom of the multiline echo area with the earlier error messages above. And when the user comes back and performs a command then the echo area is cleared as usual. So the only change needed is that error messages can only be cleared from the echo area by the user doing some command. Otherwise they are collected and shown.