emacs-devel
[Top][All Lists]
Advanced

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

Re: more url-utils?


From: Stefan Monnier
Subject: Re: more url-utils?
Date: Mon, 30 May 2011 19:17:43 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>> (funcall #'parse-page (url-fetch "http://google.com";))
>> [...]
>>> (url-fetch "http://google.com"; 'parse-page)
>> I.e. the callback takes a single argument.
> Which would be a list of buffer/info/headers?

For example, yes.

> Presently the callback is called with the current buffer set to the
> return buffer.  If the async is to have the same signature as the sync,
> then that's not really practical.

The sync case can set-buffer as well, so both choices are possible
without breaking consistency.  I don't have a strong preference
either way.


        Stefan




reply via email to

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