Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Fetching all messages into the Agent
Date: Mon, 24 Dec 2012 21:34:18 +0100	[thread overview]
Message-ID: <87hanb42b9.fsf@gnus.org> (raw)
In-Reply-To: <87fw2xecjz.fsf@lifelogs.com>

Ted Zlatanov <tzz@lifelogs.com> writes:

> May I suggest a macro like (with-timeout-message TIMEOUT MESSAGE BODY)?

I just had a new idea.  What about

(with-timeout-forms
   (progn
     (bla)
     (bla))
  (1 (message "This is sure taking a lot of time..."))
  (10 (message "This is sure taking forever!")))

A la condition-case and stuff, although here we have forms that are
run if the main form takes too long.  And we can have several of them,
like "Waiting for Gmail to finish; type C-g to skip" in the second
form.

And stuff.  This almost sounds generally useful.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Lars Magne Ingebrigtsen




      parent reply	other threads:[~2012-12-24 20:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-13 14:01 Richard Riley
2012-06-14  7:57 ` Robert Pluim
2012-06-14  7:58 ` Eric S Fraga
2012-06-14 10:17   ` Tassilo Horn
2012-06-14 14:17   ` Wolfgang Jenkner
2012-06-14 15:45     ` Eric S Fraga
2012-06-14 17:41       ` Wolfgang Jenkner
2012-06-14 16:04     ` Tassilo Horn
2012-06-15 15:27       ` Eric S Fraga
2012-06-15 15:40     ` Eric S Fraga
2012-06-20 18:33       ` Lars Magne Ingebrigtsen
2012-06-21  8:37         ` Eric S Fraga
2012-06-21 11:33         ` Richard Riley
2012-06-21 15:35           ` Vagn Johansen
2012-12-23  2:18         ` Ted Zlatanov
2012-12-24 20:30           ` Lars Ingebrigtsen
2012-12-24 20:34           ` Lars Ingebrigtsen [this message]

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=87hanb42b9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@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).