emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more url-utils?


From: Ted Zlatanov
Subject: Re: more url-utils?
Date: Tue, 17 May 2011 21:14:51 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Tue, 17 May 2011 21:11:23 -0300 Stefan Monnier <address@hidden> wrote: 

>> 3) Asynchronous usage with a callback (`url-headers-alist',
>> `url-headers-as-string', and `url-retrieved-ok' are still available):

>> (with-url-contents-buffer "http://host"; '((url-request-method "POST")) 
>> callback-closure
>> (message "this will run AFTER the retrieval and the callback-closure are 
>> done"))

SM> In which sense is this asynchronous?

Same as the current url.el code.

SM> What's the difference between the code run in call-back-closure from
SM> the code in `body'?

Since I'm proposing a macro, the callback-closure is funcalled while the
body is inlined.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]