From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Library defaults Date: Tue, 24 Jan 2017 19:08:37 +0100 Message-ID: <87a8ag8h5m.fsf@gnus.org> References: <878tq480hw.fsf@gnus.org> <141d209e-5452-f221-1c74-3c48231b3b84@lanl.gov> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485281629 4348 195.159.176.226 (24 Jan 2017 18:13:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2017 18:13:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 19:13:41 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cW5ak-0006jr-4t for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2017 19:13:14 +0100 Original-Received: from localhost ([::1]:54063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW5ap-0006X7-7a for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2017 13:13:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW5Wg-0002mf-EZ for emacs-devel@gnu.org; Tue, 24 Jan 2017 13:09:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW5Wb-0001kN-Dd for emacs-devel@gnu.org; Tue, 24 Jan 2017 13:09:02 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35071) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cW5Wb-0001ds-7L for emacs-devel@gnu.org; Tue, 24 Jan 2017 13:08:57 -0500 Original-Received: from 2.150.49.21.tmi.telenormobil.no ([2.150.49.21] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cW5WN-0006No-LT; Tue, 24 Jan 2017 19:08:45 +0100 In-Reply-To: <141d209e-5452-f221-1c74-3c48231b3b84@lanl.gov> (Davis Herring's message of "Tue, 24 Jan 2017 09:59:55 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211584 Archived-At: Davis Herring 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