Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Postponed Emacs actions
Date: 21 Nov 1998 11:24:16 +0100	[thread overview]
Message-ID: <m3ogq15oof.fsf@sparky.gnus.org> (raw)

When one does things that usually takes a long time, you message to
tell the user that Emacs is doing whatever it's doing.

Filling paragraphs...
Filling paragraphs...done

However, in many cases the action doesn't take all that long, so you
just get a flutter of these messages, which is annoying.

Wouldn't it be neat if you could say

(maybe-message "Filling paragraphs..."
  (do-that-thing)
  ...)

and then that message would only be displayed if `do-that-thing' took
more than ¼ second.

Does this sound useful? 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


             reply	other threads:[~1998-11-21 10:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-21 10:24 Lars Magne Ingebrigtsen [this message]
1998-11-21 10:47 ` William M. Perry
1998-11-22  7:02   ` Lars Magne Ingebrigtsen
1998-11-22 15:02     ` William M. Perry
1998-11-22 16:07       ` Lars Magne Ingebrigtsen
1998-11-22 17:18         ` William M. Perry
1998-11-24  9:39           ` Lars Magne Ingebrigtsen
1998-11-21 14:59 ` Simon Josefsson
1998-11-22  7:03   ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ogq15oof.fsf@sparky.gnus.org \
    --to=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).