[Top][All Lists]
[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
- Re: more url-utils?, (continued)
- Re: more url-utils?, Ted Zlatanov, 2011/05/18
- Re: more url-utils?, Stefan Monnier, 2011/05/18
- Re: more url-utils?, Ted Zlatanov, 2011/05/19
- Re: more url-utils?, Stefan Monnier, 2011/05/19
- Re: more url-utils?, Ted Zlatanov, 2011/05/19
- Re: more url-utils?, Stefan Monnier, 2011/05/19
- Re: more url-utils?, Ted Zlatanov, 2011/05/19
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/30
- Re: more url-utils?, Stefan Monnier, 2011/05/30
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/30
- Re: more url-utils?,
Stefan Monnier <=
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/30
- Re: more url-utils?, Stefan Monnier, 2011/05/30
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/31
- Re: more url-utils?, Stefan Monnier, 2011/05/31
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/31
- Re: more url-utils?, joakim, 2011/05/19
- Re: more url-utils?, Stefan Monnier, 2011/05/19
- ELisp futures and continuations/coroutines (was: more url-utils?), Ted Zlatanov, 2011/05/19
- Re: ELisp futures and continuations/coroutines, Stefan Monnier, 2011/05/19
- Re: ELisp futures and continuations/coroutines, joakim, 2011/05/19