[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

(with-current-buffer (url-retrieve-synchronously URL)

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

Attachment: pgpNeKNhaoKSr.pgp
Description: PGP signature

reply via email to

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