all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: michael@cadilhac.name (Michaël Cadilhac)
Subject: Cancel asynch url-retrieve.
Date: Wed, 18 Oct 2006 12:19:07 +0200	[thread overview]
Message-ID: <87ejt60vvo.fsf@lrde.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 910 bytes --]

Hi!

Some websites I use, mainly through Gnus, happen to sometimes be down.
This is  not a problem  when I use  `g' in Gnus,  as I can  cancel the
process by hitting C-g.

However, with the gnus-demon, this retrieval is not cancelable, and,
worst, get my Emacs stuck.

For example, the following can cause Emacs to not respond:

(run-with-timer 1 nil (lambda ()
                        (url-retrieve "http://20minutes.fr" 'ignore)))

if 20minutes.fr does not respond.

Is there a (even Q&D) solution ?

-- 
/!\ My mail address changed, please update your files accordingly.
 |      Michaël `Micha' Cadilhac   |  Pour les 35-40 ans, l'humour          |
 |         Epita/LRDE Promo 2007   |       c'est une plus-value.            |
 |  http://michael.cadilhac.name   |          -- Guillaume L.               |
 `--  -   JID: micha@amessage.be --'                                   -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2006-10-18 10:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 10:19 Michaël Cadilhac [this message]
2006-10-18 10:48 ` Cancel asynch url-retrieve Leo
2006-10-18 16:20   ` Michaël Cadilhac
2006-10-18 16:35   ` Magnus Henoch
2006-10-18 17:36     ` Leo

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=87ejt60vvo.fsf@lrde.org \
    --to=michael@cadilhac.name \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.