unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Cancel asynch url-retrieve.
@ 2006-10-18 10:19 Michaël Cadilhac
  2006-10-18 10:48 ` Leo
  0 siblings, 1 reply; 5+ messages in thread
From: Michaël Cadilhac @ 2006-10-18 10:19 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cancel asynch url-retrieve.
  2006-10-18 10:19 Cancel asynch url-retrieve Michaël Cadilhac
@ 2006-10-18 10:48 ` Leo
  2006-10-18 16:20   ` Michaël Cadilhac
  2006-10-18 16:35   ` Magnus Henoch
  0 siblings, 2 replies; 5+ messages in thread
From: Leo @ 2006-10-18 10:48 UTC (permalink / raw)


On Wed, 18/10/06 11:19 +0100, Michaël Cadilhac wrote:


[...]

>
> Is there a (even Q&D) solution ?

Have you tried the latest Emacs CVS? I think there is fix.

-- 
Leo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cancel asynch url-retrieve.
  2006-10-18 10:48 ` Leo
@ 2006-10-18 16:20   ` Michaël Cadilhac
  2006-10-18 16:35   ` Magnus Henoch
  1 sibling, 0 replies; 5+ messages in thread
From: Michaël Cadilhac @ 2006-10-18 16:20 UTC (permalink / raw)
  Cc: help-gnu-emacs


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

Leo <sdl.web@gmail.com> writes:

> On Wed, 18/10/06 11:19 +0100, Michaël Cadilhac wrote:
>
> [...]
>
>>
>> Is there a (even Q&D) solution ?
>
> Have you tried the latest Emacs CVS? I think there is fix.

I use Emacs CVS, and tried the patch « url-async », but it does not
resolve that case. I will report this « bug », however.

-- 
/!\ My mail address changed, please update your files accordingly.
 |      Michaël `Micha' Cadilhac   |  «Tu aimeras ton prochain.»            |
 |         Epita/LRDE Promo 2007   |    D'abord, Dieu ou pas,               |
 |  http://michael.cadilhac.name   |       j'ai horreur qu'on me tutoie.    |
 `--  -   JID: micha@amessage.be --'           -- P. Desproges         -  --'

[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cancel asynch url-retrieve.
  2006-10-18 10:48 ` Leo
  2006-10-18 16:20   ` Michaël Cadilhac
@ 2006-10-18 16:35   ` Magnus Henoch
  2006-10-18 17:36     ` Leo
  1 sibling, 1 reply; 5+ messages in thread
From: Magnus Henoch @ 2006-10-18 16:35 UTC (permalink / raw)


Leo <sdl.web@gmail.com> writes:

>> Is there a (even Q&D) solution ?
>
> Have you tried the latest Emacs CVS? I think there is fix.

Not yet.  I'm working on it, and hope that the fix will be in CVS in
a week or so.

See this thread:
http://thread.gmane.org/gmane.emacs.devel/60801/focus=60801

Magnus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cancel asynch url-retrieve.
  2006-10-18 16:35   ` Magnus Henoch
@ 2006-10-18 17:36     ` Leo
  0 siblings, 0 replies; 5+ messages in thread
From: Leo @ 2006-10-18 17:36 UTC (permalink / raw)


On Wed, 18/10/06 17:35 +0100, Magnus Henoch wrote:

> Leo <sdl.web@gmail.com> writes:
>
>>> Is there a (even Q&D) solution ?
>>
>> Have you tried the latest Emacs CVS? I think there is fix.
>
> Not yet.  I'm working on it, and hope that the fix will be in CVS in
> a week or so.
>
> See this thread:
> http://thread.gmane.org/gmane.emacs.devel/60801/focus=60801
>
> Magnus

Thank you for clarifying this.

-- 
Leo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-18 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18 10:19 Cancel asynch url-retrieve Michaël Cadilhac
2006-10-18 10:48 ` Leo
2006-10-18 16:20   ` Michaël Cadilhac
2006-10-18 16:35   ` Magnus Henoch
2006-10-18 17:36     ` Leo

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 read-only IMAP folder(s) and NNTP newsgroup(s).