unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6166: Documentation error in url-retrieve?
@ 2010-05-11  1:11 Lennart Borgman
  2010-05-11  2:00 ` Juanma Barranquero
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2010-05-11  1:11 UTC (permalink / raw)
  To: 6166

The doc string for `url-retrieve' says that the STATUS arg of the
callback has the form:

  (:redirect REDIRECTED-TO) - the request was redirected to this URL
  (:error (ERROR-SYMBOL . DATA)) - an error occurred.  The error can be

However my callback recieved STATUS:

  (:error (error http 500))


This is with a checkout from 2010-05-06 from trunk.





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

* bug#6166: Documentation error in url-retrieve?
  2010-05-11  1:11 bug#6166: Documentation error in url-retrieve? Lennart Borgman
@ 2010-05-11  2:00 ` Juanma Barranquero
  2010-05-11  2:08   ` Lennart Borgman
  0 siblings, 1 reply; 4+ messages in thread
From: Juanma Barranquero @ 2010-05-11  2:00 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 6166

On Tue, May 11, 2010 at 03:11, Lennart Borgman
<lennart.borgman@gmail.com> wrote:

>  (:error (ERROR-SYMBOL . DATA)) - an error occurred.  The error can be
>
> However my callback recieved STATUS:
>
>  (:error (error http 500))

Isn't that compatible with

  ERROR-SYMBOL = error

and

  DATA = (http 500)

?

    Juanma





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

* bug#6166: Documentation error in url-retrieve?
  2010-05-11  2:00 ` Juanma Barranquero
@ 2010-05-11  2:08   ` Lennart Borgman
  2010-05-11 10:15     ` Juanma Barranquero
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2010-05-11  2:08 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 6166

On Tue, May 11, 2010 at 4:00 AM, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Tue, May 11, 2010 at 03:11, Lennart Borgman
> <lennart.borgman@gmail.com> wrote:
>
>>  (:error (ERROR-SYMBOL . DATA)) - an error occurred.  The error can be
>>
>> However my callback recieved STATUS:
>>
>>  (:error (error http 500))
>
> Isn't that compatible with
>
>  ERROR-SYMBOL = error
>
> and
>
>  DATA = (http 500)
>
> ?

Ah, yes. You are right. Thanks.

Sorry for the noise. (I need to learn to read lists.:.)





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

* bug#6166: Documentation error in url-retrieve?
  2010-05-11  2:08   ` Lennart Borgman
@ 2010-05-11 10:15     ` Juanma Barranquero
  0 siblings, 0 replies; 4+ messages in thread
From: Juanma Barranquero @ 2010-05-11 10:15 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: 6166-done

On Tue, May 11, 2010 at 04:08, Lennart Borgman
<lennart.borgman@gmail.com> wrote:

> Sorry for the noise. (I need to learn to read lists.:.)

I'll close this one, then.

    Juanma





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

end of thread, other threads:[~2010-05-11 10:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11  1:11 bug#6166: Documentation error in url-retrieve? Lennart Borgman
2010-05-11  2:00 ` Juanma Barranquero
2010-05-11  2:08   ` Lennart Borgman
2010-05-11 10:15     ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

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

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).