From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Use nntp-open-tls-stream in url-snews Date: Wed, 28 Nov 2007 03:35:56 -0500 Message-ID: References: <871wakr52c.fsf@spargel.x3y2z1.net> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196248779 5684 80.91.229.10 (28 Nov 2007 11:19:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 11:19:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Diane Murray Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 28 12:25:19 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from [129.240.10.42] (helo=mail-forward.uio.no) by dough.gmane.org with esmtp (Exim 4.50) id 1IxKJ3-0000yQ-Kq for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2007 11:38:13 +0100 Original-Received: from mail-mx8.uio.no ([129.240.10.38]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1IxIlC-0002Sv-PX for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2007 09:59:10 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx8.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IxIkw-0001NM-Ed for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2007 09:59:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxIjw-0008Tu-Cl for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2007 03:57:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxIjl-0008Rl-ER for emacs-devel@gnu.org; Wed, 28 Nov 2007 03:57:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxIjf-0008Nd-3h for emacs-devel@gnu.org; Wed, 28 Nov 2007 03:57:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxIje-0008NS-KC for emacs-devel@gnu.org; Wed, 28 Nov 2007 03:57:34 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IxIje-0001QG-88 for emacs-devel@gnu.org; Wed, 28 Nov 2007 03:57:34 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IxIOi-0001A6-EQ; Wed, 28 Nov 2007 03:35:56 -0500 X-Spook: Steve Case S Key SP4 Croatian explosion security quarter X-Ran: =?us-ascii?Q?=3D=3FhqbP{W~tIfH=3F8=28Bl=3Do=3C=3F'j!o-5=3Dtz*CGV=5F?= =?us-ascii?Q?X+tfV=40-8*~*A!-=22Jk=3AJWWcM=2F=29=5B8=5FfoXBn&?= X-Hue: black X-Attribution: GM In-Reply-To: <871wakr52c.fsf@spargel.x3y2z1.net> (Diane Murray's message of "Tue, 20 Nov 2007 22:16:11 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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 X-UiO-SPF-Received: Received-SPF: pass (mail-mx8.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-ClamAV-Virus: No X-UiO-Spam-info: not spam, SpamAssassin (score=-0.5, required=5.0, autolearn=disabled, AWL=0.511,RCVD_IN_DNSWL_LOW=-1) X-UiO-Scanned: F1B047DFCA014B149D54F1D023A5BFD17C89A9C6 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -4 maxlevel 200 minaction 2 bait 0 mail/h: 76 total 27852 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:84226 Archived-At: Diane Murray wrote: > url-snews still uses `nntp-open-ssl-stream' as the default function to > open connections unless the `url-gateway-method' is set to tls. This > patch changes it to use `nntp-open-tls-stream'. url-vars says ssl is deprecated, but it is still listed. So shouldn't the change be to invert the test, ie: > ! (let ((nntp-open-connection-function (if (eq 'ssl url-gateway-method) > ! nntp-open-ssl-stream > ! nntp-open-tls-stream)))