From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Unifying network stream Date: Tue, 05 Jul 2011 15:15:38 -0400 Message-ID: References: <64435.199.48.147.39.1309559515.squirrel@lavabit.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309898222 10029 80.91.229.12 (5 Jul 2011 20:37:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 20:37:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 05 22:36:56 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeCMa-0004sR-1T for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 22:36:56 +0200 Original-Received: from localhost ([::1]:46869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeCMZ-0004nE-8P for ged-emacs-devel@m.gmane.org; Tue, 05 Jul 2011 16:36:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeB62-0007pI-77 for emacs-devel@gnu.org; Tue, 05 Jul 2011 15:15:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeB5w-0002Du-95 for emacs-devel@gnu.org; Tue, 05 Jul 2011 15:15:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59881 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeB5v-0002Do-TF for emacs-devel@gnu.org; Tue, 05 Jul 2011 15:15:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EABliE05FxIxr/2dsb2JhbABTqAl4iHrCYYY2BJ5chCw X-IronPort-AV: E=Sophos;i="4.65,481,1304308800"; d="scan'208";a="120564012" Original-Received: from 69-196-140-107.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.107]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 05 Jul 2011 15:15:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9AC2A592B2; Tue, 5 Jul 2011 15:15:38 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 05 Jul 2011 17:18:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141608 Archived-At: >> Are there functions left over which we could mark obsolete to help >> this process? > `open-network-stream' itself now calls `open-starttls-stream' (etc.), so > marking these obsolete is probably somewhat incorrect. Since they won't > go away, but are now relegated to "low-level" functions that you > probably shouldn't call directly. > We could adjust the doc strings of these functions, though? Obsolete declarations do not apply to calls from code that's in the same file as the obsolescence declaration (since Emacs-24), so you can still use an obsolete function without suffering from warnings. This said I can't find open-starttls-stream in Emacs anyway, Stefan