From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: open-{gnutls,network}-stream backwards compatibility Date: Wed, 02 Jan 2019 20:30:22 +0200 Message-ID: <83y3823oap.fsf@gnu.org> References: <831s5v3s9w.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1546453729 27832 195.159.176.226 (2 Jan 2019 18:28:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2019 18:28:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 19:28:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from listsout.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gelFx-00072i-Ll for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2019 19:28:41 +0100 Original-Received: from localhost ([127.0.0.1]:46702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gelI4-0002fu-Cm for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2019 13:30:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gelHm-0002Xq-Bq for emacs-devel@gnu.org; Wed, 02 Jan 2019 13:30:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gelHh-000100-EP for emacs-devel@gnu.org; Wed, 02 Jan 2019 13:30:34 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gelHh-0000zq-BB; Wed, 02 Jan 2019 13:30:29 -0500 Original-Received: from [176.228.60.248] (port=4030 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gelHg-0007gc-Tq; Wed, 02 Jan 2019 13:30:29 -0500 In-reply-to: (message from Ted Zlatanov on Wed, 02 Jan 2019 18:12:22 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:232098 Archived-At: > From: Ted Zlatanov > Date: Wed, 02 Jan 2019 18:12:22 +0000 > > On Wed, 02 Jan 2019 18:47:55 +0100 Robert Pluim wrote: > > RP> So nil/t would mean :nowait nil/t, and anything else would be a > RP> plist. Itʼs not perfect, but I guess backwards compatibility is > RP> important. > > I like that approach as well, noting also that the `open-gnutls-stream' docs say > > This is a very simple wrapper around `gnutls-negotiate' > > which in turn takes a plist. So maybe the callers should just call > `gnutls-negotiate', and `open-gnutls-stream' should be deprecated > because it has failed to be a simple wrapper :) If we can make the change backward-compatible, there's no reason to deprecate it.