[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more url-utils?
From: |
Julien Danjou |
Subject: |
Re: more url-utils? |
Date: |
Mon, 16 May 2011 20:39:05 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Mon, May 16 2011, address@hidden wrote:
> Changing
> (url-retrieve-synchronously URL)
> To
> (url-retrieve-synchronously URL &optional remove-headers)
>
> ought to sattisfy all participants in this thread?
Not sure it's a good idea.
Having a function to remove/parse headers is more useful, and calling it
like:
(with-current-buffer (url-retrieve-synchronously URL)
(url-remove-headers)
(stuff))
seems enough to me.
And, actually, most of the time you do not want especially to remove
them but at least to go after them. This is a very common code to
search-forward \n\n to move point after the headers.
My 2¢,
--
Julien Danjou
❱ http://julien.danjou.info
pgpNeKNhaoKSr.pgp
Description: PGP signature
- Re: more url-utils?, (continued)
Re: more url-utils?, Ted Zlatanov, 2011/05/14
- Re: more url-utils?, Stefan Monnier, 2011/05/16
- Re: more url-utils?, Tom Tromey, 2011/05/16
- Re: more url-utils?, Stefan Monnier, 2011/05/16
- Re: more url-utils?, joakim, 2011/05/16
- Re: more url-utils?, Lennart Borgman, 2011/05/16
- Re: more url-utils?, Stefan Monnier, 2011/05/16
- Re: more url-utils?,
Julien Danjou <=
Re: more url-utils?, Chong Yidong, 2011/05/16
- Re: more url-utils?, Ted Zlatanov, 2011/05/17
- Re: more url-utils?, Stefan Monnier, 2011/05/17
- Re: more url-utils?, Ted Zlatanov, 2011/05/17
- Re: more url-utils?, Stefan Monnier, 2011/05/18
- 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/18
- Re: more url-utils?, Stefan Monnier, 2011/05/18
- Re: more url-utils?, Ted Zlatanov, 2011/05/18