all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Davis Herring <herring@lanl.gov>
Cc: emacs-devel@gnu.org
Subject: Re: Library defaults
Date: Tue, 24 Jan 2017 19:08:37 +0100	[thread overview]
Message-ID: <87a8ag8h5m.fsf@gnus.org> (raw)
In-Reply-To: <141d209e-5452-f221-1c74-3c48231b3b84@lanl.gov> (Davis Herring's message of "Tue, 24 Jan 2017 09:59:55 -0700")

Davis Herring <herring@lanl.gov> writes:

>> 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)
>   ...)

Yes, major applications would look like that.  (Or really -- eww would
implement a function that would bar "third party cookies" etc according
to user settings.)

But not all clients are larger applications like that, and for those
choosing the wrong defaults would result in slightly sad-looking code.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2017-01-24 18:08 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
2017-01-24 18:08   ` Lars Ingebrigtsen [this message]
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

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

  git send-email \
    --in-reply-to=87a8ag8h5m.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=herring@lanl.gov \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.