From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Library defaults Date: Thu, 26 Jan 2017 18:03:54 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87h94ltodh.fsf@lifelogs.com> References: <878tq480hw.fsf@gnus.org> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485471947 9094 195.159.176.226 (26 Jan 2017 23:05:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2017 23:05:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 27 00:05: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 1cWt6o-0001X9-AU for ged-emacs-devel@m.gmane.org; Fri, 27 Jan 2017 00:05:38 +0100 Original-Received: from localhost ([::1]:41832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWt6t-0007ds-L5 for ged-emacs-devel@m.gmane.org; Thu, 26 Jan 2017 18:05:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWt6m-0007df-7W for emacs-devel@gnu.org; Thu, 26 Jan 2017 18:05:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWt6i-0008DG-4O for emacs-devel@gnu.org; Thu, 26 Jan 2017 18:05:36 -0500 Original-Received: from [195.159.176.226] (port=36317 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWt6h-0008DA-Uj for emacs-devel@gnu.org; Thu, 26 Jan 2017 18:05:32 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cWt6J-0007Ti-GQ for emacs-devel@gnu.org; Fri, 27 Jan 2017 00:05:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Cancel-Lock: sha1:ys3jNcUgT7f8CQH/WufZK7pnDj8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:211628 Archived-At: On Sun, 22 Jan 2017 00:19:23 +0100 Lars Ingebrigtsen wrote: LI> Controlling things like cookies and caching is an application-level LI> thing and not a library level thing (i.e., a browser like eww should LI> allow the user to control whether to send cookies or not; not a global LI> setting that affects the lower-level library). LI> But still, nice defaults in a low-level library is also nice. ... LI> So it's really: Make the defaults developer-friendly or source code LI> friendly? Because all calls from applications will end up looking like LI> (with-url ("http..." :cookies t LI> :cache t LI> :verbose 0) LI> ...) I think Michael Albinus' work with per-connection profiles/variables is useful here. I plan to use it with GnuTLS[1], at least, and I think it could be useful here as well. Ted [1] insert pithy footnote about time management