From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Message queue for Emacs? Date: Sun, 23 Apr 2017 12:50:36 -0700 Message-ID: <87pog26gz7.fsf@ericabrahamsen.net> References: <87vapv9fyf.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492977120 17762 195.159.176.226 (23 Apr 2017 19:52:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Apr 2017 19:52:00 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 23 21:51:54 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 1d2NY0-0004SD-EL for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Apr 2017 21:51:52 +0200 Original-Received: from localhost ([::1]:40413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2NY6-0006jF-2i for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Apr 2017 15:51:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2NXM-0006gn-Dm for help-gnu-emacs@gnu.org; Sun, 23 Apr 2017 15:51:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2NXH-0000Np-U6 for help-gnu-emacs@gnu.org; Sun, 23 Apr 2017 15:51:12 -0400 Original-Received: from [195.159.176.226] (port=49643 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2NXH-0000Nh-Jt for help-gnu-emacs@gnu.org; Sun, 23 Apr 2017 15:51:07 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d2NX8-0003NS-VO for help-gnu-emacs@gnu.org; Sun, 23 Apr 2017 21:50:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:7DxljkbQNkWD3upsia1uZQy5zSQ= 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:112865 Archived-At: Drew Adams writes: >> 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? >> >> I know about C-h e (view-echo-area-messages), but this is not what I'm >> after. > > See `sit-for' and `sleep-for'. The disadvantage of that is that it would be blocking. It could be interesting if Emacs just piled up messages and displayed them one per second, without blocking whatever comes next. If whatever comes next waits for user input in the minibuffer, hitting any key would cancel/flush the rest of the queue. I can imagine all kinds of things going wrong, but it could be fun.