emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two url.el issues


From: Lars Ingebrigtsen
Subject: Two url.el issues
Date: Mon, 06 Feb 2012 21:20:17 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

There are two url.el issues that I think should be resolved before Emacs
24 is released.

1) `url-retrieve' and friends cache everything they download, but
nothing is expired, so ~/.emacs.d/url/cache grows huge.  I think the
least intrusive way to fix this would be to have (say) every
(zerop (mod (incf url-counter-thing) 1000)) times the functions are
called do an expiry run.  Does this sound reasonable?

2) url stores and serves cookies by default, and that's a privacy
intrusion, especially when used by shr.el, which is a news-ish mail-ish
context.  But url.el has no easy way to disable cookies on a per-call
basis.  At this point there are three options: 1) Leave it as is.  2)
Disable cookies globally.  3) I can hack up some pretty invasive stuff
to allow per-connection cookie settings.  Opinions?

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




reply via email to

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