Gnus development mailing list
 help / color / mirror / Atom feed
From: wmperry@aventail.com (William M. Perry)
Subject: Re: Postponed Emacs actions
Date: 22 Nov 1998 12:18:50 -0500	[thread overview]
Message-ID: <86yap3abnp.fsf@kramer.bp.aventail.com> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "22 Nov 1998 17:07:28 +0100"

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> wmperry@aventail.com (William M. Perry) writes:
> 
> >   Nope, all in lisp.  Emacs/W3 still does do it, I just didn't remember the 
> > function name correctly.
> > 
> > (defun url-lazy-message (&rest args)
> >   "Just like `message', but is a no-op if called more than once a second.
> 
> No, not like that -- the other way around.  The postponed message I
> envision will only be shown if not preempted a quarter second after it
> was suggested.
> 
> (postponed-message "This takes a long time"
>   (do-something))
> 
> will be shown if `(do-something)' takes a long while.
> 
> The length of time between messages isn't the concern, although it has 
> an effect on that as well.

  You could do this with itimers, but that's kind of yucky. :)

-Bill P.


  reply	other threads:[~1998-11-22 17:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-21 10:24 Lars Magne Ingebrigtsen
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 [this message]
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=86yap3abnp.fsf@kramer.bp.aventail.com \
    --to=wmperry@aventail.com \
    /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).