From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80492 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: url.el cookie policy Date: Thu, 03 Nov 2011 23:39:32 +0100 Message-ID: <878vnwde57.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320360011 31622 80.91.229.12 (3 Nov 2011 22:40:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2011 22:40:11 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 03 23:40:07 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RM5x7-0005Dg-0m for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2011 23:40:05 +0100 Original-Received: from localhost ([::1]:37237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM5x6-0001ur-Bh for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2011 18:40:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM5x3-0001um-QF for emacs-devel@gnu.org; Thu, 03 Nov 2011 18:40:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM5x2-0002h3-Vh for emacs-devel@gnu.org; Thu, 03 Nov 2011 18:40:01 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM5x2-0002go-OA for emacs-devel@gnu.org; Thu, 03 Nov 2011 18:40:00 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RM5x1-00059O-B3 for emacs-devel@gnu.org; Thu, 03 Nov 2011 23:39:59 +0100 Original-Received: from ney92-7-78-233-218-202.fbx.proxad.net ([78.233.218.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2011 23:39:59 +0100 Original-Received: from antoine.levitt by ney92-7-78-233-218-202.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Nov 2011 23:39:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ney92-7-78-233-218-202.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:145860 gmane.emacs.gnus.general:80492 Archived-At: 03/11/11 23:06, Lars Magne Ingebrigtsen > I just discovered that Gnus has been setting (and returning) cookies for > the images that it fetches via `url-retrieve' and friends. While this > is no catastrophe, it's probably not an information/tracking thing that > people would expect to happen when reading stuff via Gnus, I think. > > However, switching this behaviour off in Gnus appears to be kinda > tricky. Since `url-retrieve' (and friends) are asynchronous, and they > create new buffers, neither binding `url-cookie-untrusted-urls' to > `(".*")', nor setting it buffer-locally does the trick. > > So I would suggest changing the default for `url-cookie-untrusted-urls' > to `(".*")' for Emacs 24.1, and then reworking the `url-retrieve' > interface (as previously discussed), and then let it take the cookie > setting thing as a parameter. I've been annoyed from time to time by "saving cookies to ~/.emacs.d/url/cookies..." messages. I set url-cookie-file to nil, but that didn't seem to change anything. I agree that url should ignore cookies by default. I'd be amazed if anyone had any use for them in gnus.