From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Ted Zlatanov <tzz@lifelogs.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#25061: consider adding %COMPAT to default gnutls priority string
Date: Sun, 10 Dec 2017 08:29:27 -0500
Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?=
	=?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @
	Cienfuegos
Message-ID: <87k1xu90eg.fsf@lifelogs.com>
References: <87zikiwpl6.fsf@igalia.com> <878trzo5ys.fsf@lifelogs.com>
	<87fum7o0qu.fsf@gnu.org> <87zikfmiiy.fsf@lifelogs.com>
	<878tq0dqgw.fsf@gnus.org> <87sho1gemz.fsf@gnu.org>
	<87vasigi2c.fsf@igalia.com> <871sv2krfc.fsf@lifelogs.com>
	<8360d1yzvj.fsf@gnu.org> <877exbhbc5.fsf@lifelogs.com>
	<87k21bj7sb.fsf@detlef> <87y3phgf3a.fsf@lifelogs.com>
	<83k210mr8l.fsf@gnu.org> <83374t117z.fsf@gnu.org>
	<87a7yra2bz.fsf@lifelogs.com> <83o9n7t669.fsf@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1512912611 28821 195.159.176.226 (10 Dec 2017 13:30:11 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 10 Dec 2017 13:30:11 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Cc: wingo@igalia.com, 25061@debbugs.gnu.org, ludo@gnu.org,
	michael.albinus@gmx.de, larsi@gnus.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 10 14:30:07 2017
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1eO1gE-0007Hb-HT
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Dec 2017 14:30:06 +0100
Original-Received: from localhost ([::1]:44744 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1eO1gL-0000Ux-U8
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Dec 2017 08:30:13 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37388)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eO1gE-0000Ua-1Z
	for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:30:07 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eO1gA-0002ZU-Ub
	for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:30:06 -0500
Original-Received: from debbugs.gnu.org ([208.118.235.43]:45911)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1eO1gA-0002ZG-RJ
	for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:30:02 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1eO1gA-00042v-GR
	for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:30:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Ted Zlatanov <tzz@lifelogs.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 10 Dec 2017 13:30:02 +0000
Resent-Message-ID: <handler.25061.B25061.151291257615490@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 25061
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 25061-submit@debbugs.gnu.org id=B25061.151291257615490
	(code B ref 25061); Sun, 10 Dec 2017 13:30:02 +0000
Original-Received: (at 25061) by debbugs.gnu.org; 10 Dec 2017 13:29:36 +0000
Original-Received: from localhost ([127.0.0.1]:54592 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1eO1fj-00041m-Po
	for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:29:35 -0500
Original-Received: from mail-qk0-f172.google.com ([209.85.220.172]:45489)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <tzz@lifelogs.com>) id 1eO1fi-00041a-M8
	for 25061@debbugs.gnu.org; Sun, 10 Dec 2017 08:29:34 -0500
Original-Received: by mail-qk0-f172.google.com with SMTP id d141so4083454qkc.12
	for <25061@debbugs.gnu.org>; Sun, 10 Dec 2017 05:29:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google;
	h=from:to:cc:subject:organization:references:mail-copies-to:date
	:in-reply-to:message-id:user-agent:mime-version;
	bh=q6Jfi53lP0rp8OSPF4oOWMGtSghmadhKwc58OFg5b6Y=;
	b=Rple7BKDuSF7iw51L0piLc38pyHn99t78hYWCji7vl/hU7Fjd98FK1QjZI55Sl2OO6
	vm+vhfnZul7vjVLhtab6en/XzA8gJlM12wHAkK0HGSXb2Ew/ETEJCyeF8Z4bW7UXNxRn
	+YeduvxogTgb5Zxtdc74yYG9nWllA3YBPJ8DI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:from:to:cc:subject:organization:references
	:mail-copies-to:date:in-reply-to:message-id:user-agent:mime-version;
	bh=q6Jfi53lP0rp8OSPF4oOWMGtSghmadhKwc58OFg5b6Y=;
	b=s/O98h01PXFLq6K2irD9Wr7grOE20EWynblrUgnEQlTnryt62tZGqpNDruSU7hFpeN
	cF/EvUmf1s5JewvaWHTrTG3TPSxegQd9duWmdY8sN7Fc4TkROt/heqP96Qpe7MJ/2y3w
	ImXu3gcTj+oK7LFsGeF0WT7zeFerlC9GcUNAIIbRV8R426tK/Y/tHbZmDkasZ7ubx2OT
	7A3ZAyQyYUgxIPCDG2bZwbzzBw4gX8PAfoz6rR/3JTWTrURNVv1Pm3uCMIkWZng0o/bl
	mxNJ3ccnw+f3HXhBJKVyBKGWXMMJYVmiBWboZLJSoyQ3ZZKSyj2LcZNC6pkBV5McWFjm
	k0BQ==
X-Gm-Message-State: AKGB3mKbaNbeS0eu1D9EtwJ4epBMwxrU+Y851wVxk/Z0fM5UvezwEEdx
	QvHhknVGXrbpfbyeQx6/04VPFg==
X-Google-Smtp-Source: AGs4zMYPZOSguucSLebYkMU85hZr2u+s9HCem41zzkdYO6Y1/au2E5CMe5HdsgJ3jGQkm2syRM9How==
X-Received: by 10.55.18.92 with SMTP id c89mr43320657qkh.297.1512912569207;
	Sun, 10 Dec 2017 05:29:29 -0800 (PST)
Original-Received: from flea (c-76-28-41-155.hsd1.ma.comcast.net. [76.28.41.155])
	by smtp.gmail.com with ESMTPSA id
	o64sm2657939qte.62.2017.12.10.05.29.28
	(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
	Sun, 10 Dec 2017 05:29:28 -0800 (PST)
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
In-Reply-To: <83o9n7t669.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Dec
	2017 09:04:30 +0200")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:140891
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/140891>

On Sun, 10 Dec 2017 09:04:30 +0200 Eli Zaretskii <eliz@gnu.org> wrote: 

EZ> Is everything you proposed strictly needed to fix the original
EZ> problem?  It sounds like a lot of changes just for having the
EZ> equivalent of '(setq gnutls-algorithm-priority "NORMAL:%DUMBFW")'
EZ> setting in effect.

It's a plan to provide a facility that can solve the underlying problem
of heterogeneous network setups.

EZ> E.g., could we simply make the above the default
EZ> value of gnutls-algorithm-priority for Emacs 26.1, and do all the rest
EZ> on master?

Yes, let's.

EZ> Previously, you said:

>> I'd rather stay with the current defaults and defer the rest of the work
>> to when connection-specific settings are available.

EZ> but you didn't explain why you didn't like changing the defaults.  If
EZ> that's because you thought it wasn't very clean, then would such a
EZ> change be okay just as a temporary measure, to be replaced by a
EZ> cleaner solution in Emacs 27?  Or can this default hurt something?

It would change behavior for everyone for the sake of fixing a few
setups. Does %DUMBFW or %COMPAT create a risk that's not justified by
the functionality it provides? These exceptions have a way of living
long past their expiration date.

If we're confident that's the right thing, then let's change it in the
release and add a note in the docs. I'm OK with the change; any other
comments? What should be the actual string?

Regardless, I'll make the connection profile changes in master, which
gives us more time to find problems and provide a better integration for
them. I'll discuss it in emacs-devel. Thank you for your consideration
and help.

Ted