From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Tue, 08 Mar 2011 10:11:26 +0100 Organization: not if I can help it Message-ID: References: <87ipvwl1nx.wl%claudio.bley@gmail.com> <83oc5ogp89.fsf@gnu.org> <87ipvuwslp.wl%claudio.bley@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299575516 8673 80.91.229.12 (8 Mar 2011 09:11:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2011 09:11:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 10:11:52 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PwsxM-0007Zh-Ju for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 10:11:52 +0100 Original-Received: from localhost ([127.0.0.1]:48885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwsxM-0005ir-24 for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 04:11:52 -0500 Original-Received: from [140.186.70.92] (port=51962 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwsxF-0005i3-JI for emacs-devel@gnu.org; Tue, 08 Mar 2011 04:11:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwsxA-0007Z6-K0 for emacs-devel@gnu.org; Tue, 08 Mar 2011 04:11:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:49514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwsxA-0007Ym-B6 for emacs-devel@gnu.org; Tue, 08 Mar 2011 04:11:40 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pwsx8-0007S4-CY for emacs-devel@gnu.org; Tue, 08 Mar 2011 10:11:38 +0100 Original-Received: from lns-bzn-49f-81-56-191-143.adsl.proxad.net ([81.56.191.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2011 10:11:38 +0100 Original-Received: from rpluim by lns-bzn-49f-81-56-191-143.adsl.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2011 10:11:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lns-bzn-49f-81-56-191-143.adsl.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (cygwin) Cancel-Lock: sha1:v3fuXJYga5I6aLtn+HDlAOGxe5o= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136877 Archived-At: Eli Zaretskii writes: >> From: Robert Pluim >> Date: Tue, 08 Mar 2011 09:29:56 +0100 >> Mail-Copies-To: never >> >> claudio.bley@gmail.com (Claudio Bley) writes: >> >> > I want to detect whether the current Emacs instance has been built >> > with GnuTLS support. If so, load gnutls, otherwise use the old >> > starttls / gnutls-cli approach. >> >> I prefer Lars's suggestion to leave that decision to higher levels of >> the code. > > It should probably simply be a defcustom. I don't see how ``higher > levels of code'' could ever DTRT in this respect. If they can know > something about that, so can gnutls.el. One thing that springs to mind is that eg gnus could ask 'use builtin TLS (o)nce (n)ever (a)lways' or similar, although I agree you could put that in gnutls as well. Anyway, as long as I can turn if off without being overridden elsewhere, I don't mind what the implementation is like. Robert