From: Davis Herring <herring@lanl.gov>
To: emacs-devel@gnu.org
Subject: Re: Library defaults
Date: Tue, 24 Jan 2017 09:59:55 -0700 [thread overview]
Message-ID: <141d209e-5452-f221-1c74-3c48231b3b84@lanl.gov> (raw)
In-Reply-To: <878tq480hw.fsf@gnus.org>
> So it's really: Make the defaults developer-friendly or source code
> friendly? Because all calls from applications will end up looking like
>
> (with-url ("http..." :cookies t
> :cache t
> :verbose 0)
> ...)
>
> And that's kinda sad, too.
No, they should end up looking like
(with-url ("http..." :cookies client4--cookies
:cache client4--cache)
...)
because it is not only the _fact_ of using cookies and cache but also
the contents of those data stores that should be client-specific.
Cookies serve as a "persona" that should be under the control of the
client/user, and the client/user may know when a cache is stale or
unneeded and want to clear it themselves. (I imagine there is also a
privacy concern if two personas are used but they share a cache that can
be detected via logging the HEAD requests that do not produce a GET.)
In case it's not obvious, client4 would if appropriate offer a
"don't-use-cookies/cache" customization that caused
client4--cookies/cache to be nil.
Davis
PS - Yes, non-verbose should be the default, but that is indeed merely a
stylistic concern.
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
next prev parent reply other threads:[~2017-01-24 16:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-21 23:19 Library defaults Lars Ingebrigtsen
2017-01-24 16:59 ` Davis Herring [this message]
2017-01-24 18:08 ` Lars Ingebrigtsen
2017-01-26 23:03 ` Ted Zlatanov
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=141d209e-5452-f221-1c74-3c48231b3b84@lanl.gov \
--to=herring@lanl.gov \
--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).