From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Library defaults Date: Tue, 24 Jan 2017 09:59:55 -0700 Organization: XCP-1 Message-ID: <141d209e-5452-f221-1c74-3c48231b3b84@lanl.gov> References: <878tq480hw.fsf@gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1485277428 13321 195.159.176.226 (24 Jan 2017 17:03:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Jan 2017 17:03:48 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 24 18:03:44 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 1cW4VS-00032E-WD for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2017 18:03:43 +0100 Original-Received: from localhost ([::1]:52002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW4VY-0002ZE-54 for ged-emacs-devel@m.gmane.org; Tue, 24 Jan 2017 12:03:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW4Ru-00007n-Bg for emacs-devel@gnu.org; Tue, 24 Jan 2017 12:00:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW4Rr-0000Z2-BK for emacs-devel@gnu.org; Tue, 24 Jan 2017 12:00:02 -0500 Original-Received: from proofpoint4.lanl.gov ([2001:400:4210:400::a4]:47954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cW4Rr-0000Xz-5D for emacs-devel@gnu.org; Tue, 24 Jan 2017 11:59:59 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailgate4.lanl.gov (8.15.0.59/8.15.0.59) with ESMTP id v0OGxuPV031307 for ; Tue, 24 Jan 2017 09:59:56 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id E9962F66168 for ; Tue, 24 Jan 2017 09:59:55 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from bismuth.lanl.gov (bismuth.lanl.gov [128.165.246.103]) by mailrelay2.lanl.gov (Postfix) with ESMTP id D43A1F66167 for ; Tue, 24 Jan 2017 09:59:55 -0700 (MST) In-Reply-To: <878tq480hw.fsf@gnus.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.154, 1.0.8, 0.0.0000 definitions=2017-01-24_13:2017-01-23, 2017-01-24, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2001:400:4210:400::a4 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:211583 Archived-At: > 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.