[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, 16 May 2011 10:15:39 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
j> Would the defun below be suitable to include in url-util?
j> You nearly always want to work with the data part of the document.
j> The code snippet below occurs a lot in different packages.
j> A wrapper that downloads a file(like curl or wget) would be nice also.
j> (defun org-feed-skip-http-headers (buffer)
> ...
> Yes to both, but like Lars I think the header-skipping should be an
> option for the current API and not a new function.
While Emacs uses them a lot, dynamically-scoped variables used as
implicit extra parameters are bad. In many cases, it's difficult to
avoid using them, but in this case, calling a function after the
url-retrieve call works just as well, so there's no excuse.
Stefan
- Re: more url-utils?, (continued)
- Re: more url-utils?, Stefan Monnier, 2011/05/16
- Re: more url-utils?, Julien Danjou, 2011/05/17
- Re: more url-utils?, Stefan Monnier, 2011/05/16
- Re: more url-utils?, joakim, 2011/05/16
- Re: more url-utils?, Ted Zlatanov, 2011/05/16
- Re: more url-utils?, Lennart Borgman, 2011/05/16
- Re: more url-utils?, joakim, 2011/05/16
- Re: more url-utils?, Lars Magne Ingebrigtsen, 2011/05/17
- Re: more url-utils?, Stefan Monnier, 2011/05/17
Re: more url-utils?, Ted Zlatanov, 2011/05/14
- Re: more url-utils?,
Stefan Monnier <=
- 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, 2011/05/16
Re: more url-utils?, Chong Yidong, 2011/05/16