From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Message queue for Emacs? Date: Mon, 24 Apr 2017 02:37:23 +0200 Message-ID: References: <87vapv9fyf.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492994293 23740 195.159.176.226 (24 Apr 2017 00:38:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Apr 2017 00:38:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 24 02:38:09 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2S12-00063z-7e for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Apr 2017 02:38:08 +0200 Original-Received: from localhost ([::1]:41108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2S18-0002Ao-12 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Apr 2017 20:38:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2S0Z-0002Af-Rf for help-gnu-emacs@gnu.org; Sun, 23 Apr 2017 20:37:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2S0W-0001DM-KC for help-gnu-emacs@gnu.org; Sun, 23 Apr 2017 20:37:39 -0400 Original-Received: from [195.159.176.226] (port=49340 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2S0W-0001CM-Dd for help-gnu-emacs@gnu.org; Sun, 23 Apr 2017 20:37:36 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d2S0L-0005PB-TH for help-gnu-emacs@gnu.org; Mon, 24 Apr 2017 02:37:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 48 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:4cwDrqnOT4tlM9z+mf/pzYbVJeo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112868 Archived-At: Marcin Borkowski wrote: > a lot of Emacs commands send a (message > "...") for a user in the echo area. > Now imagine a command that sends more than of > them (not unlikely e.g. if there are a few > hooks, each printing a message). Of course, > only the last one is then visible. Is there > any way for the next message to be printed > with some delay, so that the previous one is > still visible, say, for a second or two? Easy! First re-write `message' and re-compile Emacs to put all messages in a data structure, then setup the idle timer with some periodic delay, say every one or two seconds, to clear the list message by message and have them appear in a three or four line buffer that appears at the bottom of the screen whenever there are messages, and disappears when the data structure is empty! That should be pretty simple :) As for advice as proposed in another post that would I suspect only be a partial solution as `message' is in C, and probably often called from C as well. > I know about C-h e (view-echo-area-messages), > but this is not what I'm after. Why not? Just open the *Messages* buffer when you feel like you have missed a message or two. In general I think that the messages are an underpowered feature in Emacs. In particular, I'd like a list with unasked for messages that won't be displayed. Every time a message is to be displayed, that list would be consulted to see if there is a match, and if it is, it shouldn't be displayed. -- underground experts united http://user.it.uu.se/~embe8573