emacs-devel
[Top][All Lists]
Advanced

[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 12:45:03 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Stefan> While Emacs uses them a lot, dynamically-scoped variables used as
Stefan> implicit extra parameters are bad.  In many cases, it's difficult to
Stefan> avoid using them, but in this case, calling a function after the
Stefan> url-retrieve call works just as well, so there's no excuse.
> IIRC, in package.el I had to special-case some URL types, because
> headers are inconsistently used.  E.g., I think the 'ftp' method won't
> leave headers in the buffer.  It would be nice if this bit were handled
> by the url package rather than all the callers.

Sounds like an inconsistency that needs fixing, indeed.  You might want
to make a bug-report for it.


        Stefan


PS: Of course, that doesn't mean that the way to distinguish the "with
header" and "without header" cases should be via
a dynamically-scoped variable.



reply via email to

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