[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more url-utils?
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: more url-utils? |
Date: |
Tue, 31 May 2011 20:38:38 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> url-fetch could be defined to replace the current content of the buffer,
> if that's deemed necessary (i.e. mostly if it needs to use
> set-buffer-multibyte, which should ideally only ever be used on empty
> buffers).
Right... so it wouldn't be like `insert-file-contents', where you'd get
more stuff into a buffer already containing stuff.
The normal synchronous calling pattern would be
(with-temp-buffer
(let ((info (url-fetch "http://google.com")))
... do stuff))
while the async case would be
(url-fetch "http://google.com" (lambda (info) ... do stuff))
Yeah, that looks nice to me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Re: more url-utils?, (continued)
- 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, 2011/05/30
- 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 <=
- 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
- Re: ELisp futures and continuations/coroutines, Ted Zlatanov, 2011/05/19
- Re: ELisp futures and continuations/coroutines, Thien-Thi Nguyen, 2011/05/19
- Re: ELisp futures and continuations/coroutines, Ted Zlatanov, 2011/05/19
- Re: ELisp futures and continuations/coroutines, Thien-Thi Nguyen, 2011/05/19
- Re: ELisp futures and continuations/coroutines, Ted Zlatanov, 2011/05/19