GNU bug report logs - #22922
25.1.50; Wishlist: There should be a way to postpone messages

Previous Next

Package: emacs;

Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Date: Sun, 6 Mar 2016 13:51:02 UTC

Severity: wishlist

Found in version 25.1.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 22922 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 22922 <at> debbugs.gnu.org
Subject: Re: bug#22922: 25.1.50;
 Wishlist: There should be a way to postpone messages
Date: Sun, 06 Mar 2016 17:32:47 +0200
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Date: Sun, 06 Mar 2016 14:49:38 +0100
> 
> When doing stuff that takes an unknown amount of time, it would be handy
> to have a form like
> 
> (with-delayed-message "Contacting server..."
>   (contact-the-server))
> 
> If the body form completes within reasonable time (defined by
> `delayed-message-timeout', say 1 second), no message is displayed.  If
> more time than that passes, the message is displayed until the form
> exits.  This has to happen no matter what Emacs is doing -- blocking on
> DNS resolution, or running Emacs Lisp code.
> 
> When the body exits, the message (if it has been displayed) is cleared
> (and any previous message shown in the echo area is restored).

Would with-timeout fit the bill?




This bug report was last modified 3 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.