From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Two url.el issues Date: Mon, 06 Feb 2012 21:20:17 +0100 Organization: Programmerer Ingebrigtsen Message-ID: <87k43zd88u.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328559644 29615 80.91.229.3 (6 Feb 2012 20:20:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 20:20:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 06 21:20:41 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RuV3I-000380-0U for ged-emacs-devel@m.gmane.org; Mon, 06 Feb 2012 21:20:40 +0100 Original-Received: from localhost ([::1]:53967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuV3H-00022w-H8 for ged-emacs-devel@m.gmane.org; Mon, 06 Feb 2012 15:20:39 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuV3B-00022I-DK for emacs-devel@gnu.org; Mon, 06 Feb 2012 15:20:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuV36-0004Fg-Rq for emacs-devel@gnu.org; Mon, 06 Feb 2012 15:20:33 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuV36-0004Fa-LQ for emacs-devel@gnu.org; Mon, 06 Feb 2012 15:20:28 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RuV35-000328-An for emacs-devel@gnu.org; Mon, 06 Feb 2012 21:20:27 +0100 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Feb 2012 21:20:27 +0100 Original-Received: from larsi by 93-41-188-50.ip82.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Feb 2012 21:20:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-41-188-50.ip82.fastwebnet.it Mail-Copies-To: never User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:Yc8Nr3UgXD16VAxCWXPa+L1/2ps= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148284 Archived-At: 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