unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Two url.el issues
Date: Mon, 06 Feb 2012 21:20:17 +0100	[thread overview]
Message-ID: <87k43zd88u.fsf@gnus.org> (raw)

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	other threads:[~2012-02-06 20:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k43zd88u.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).