[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url-retrieve may cause hang
From: |
Stefan Monnier |
Subject: |
Re: url-retrieve may cause hang |
Date: |
Tue, 17 Oct 2006 11:38:42 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> - There is no protocol for letting the callback know that retrieval
> failed. Without this patch, the caller would immediately get an
> error, but now the error is signalled in the sentinel. One solution
> would be to introduce an :error argument to the callback, similar to
> the :redirect one.
Yes, this is a basic flaw in the design. It would be good to fix it before
the release. Your suggestion of extending the :redirect to include other
info sounds good. Basically, the callback should be called with 2 args: the
list CBARGS, and a "status" which can be nil (indicating the absence of
anything noteworthy), or (:redirect URL), or (:error ERROR) where ERROR is
of the form such that it can be used in (signal (car ERROR) (cdr ERROR)).
Stefan
- url-retrieve may cause hang, David Reitter, 2006/10/16
- Re: url-retrieve may cause hang, Magnus Henoch, 2006/10/16
- Re: url-retrieve may cause hang, Kim F. Storm, 2006/10/17
- Re: url-retrieve may cause hang, Magnus Henoch, 2006/10/17
- Re: url-retrieve may cause hang,
Stefan Monnier <=
- Re: url-retrieve may cause hang, Magnus Henoch, 2006/10/22
- Re: url-retrieve may cause hang, Richard Stallman, 2006/10/23
- Re: url-retrieve may cause hang, Chong Yidong, 2006/10/25
- Re: url-retrieve may cause hang, Magnus Henoch, 2006/10/25
- Re: url-retrieve may cause hang, Richard Stallman, 2006/10/26
- Re: url-retrieve may cause hang, Magnus Henoch, 2006/10/17
- Re: url-retrieve may cause hang, David Reitter, 2006/10/17
- Re: url-retrieve may cause hang, Michaƫl Cadilhac, 2006/10/18
- Re: url-retrieve may cause hang, Richard Stallman, 2006/10/18
- Re: url-retrieve may cause hang, Magnus Henoch, 2006/10/18