From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Diane Murray Newsgroups: gmane.emacs.devel Subject: Use nntp-open-tls-stream in url-snews Date: Tue, 20 Nov 2007 22:16:11 +0100 Message-ID: <871wakr52c.fsf@spargel.x3y2z1.net> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1195593319 9048 80.91.229.12 (20 Nov 2007 21:15:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2007 21:15:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 20 22:15:22 2007 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.50) id 1IuaR9-0005HV-TF for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 22:15:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuaQv-00051Y-Kb for ged-emacs-devel@m.gmane.org; Tue, 20 Nov 2007 16:15:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuaQi-0004rr-Ve for emacs-devel@gnu.org; Tue, 20 Nov 2007 16:14:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuaQe-0004mu-Bi for emacs-devel@gnu.org; Tue, 20 Nov 2007 16:14:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuaQd-0004mV-Oo for emacs-devel@gnu.org; Tue, 20 Nov 2007 16:14:43 -0500 Original-Received: from mailout08.sul.t-online.de ([194.25.134.20] helo=mailout08.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuaQd-0003Ir-EV for emacs-devel@gnu.org; Tue, 20 Nov 2007 16:14:43 -0500 Original-Received: from fwd35.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1IuaQb-0002SJ-00; Tue, 20 Nov 2007 22:14:41 +0100 Original-Received: from spargel.x3y2z1.net (Tz3W5UZCQhyl0IzJvLsEPAvX70vDDXXW5T7VGcO4vqhwaBHxhyOdNOGovvL3qbqwrX@[84.189.204.158]) by fwd35.aul.t-online.de with esmtp id 1IuaQ9-147i9w0; Tue, 20 Nov 2007 22:14:13 +0100 X-ID: Tz3W5UZCQhyl0IzJvLsEPAvX70vDDXXW5T7VGcO4vqhwaBHxhyOdNOGovvL3qbqwrX@t-dialin.net X-TOI-MSGID: 1b8ed54e-668a-4c2d-8865-ce4894a6f5cd X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:83739 Archived-At: 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'. This also fixes a bug where an error would occur because the function names weren't quoted. 2007-11-20 Diane Murray * url-news.el (url-snews): Always use `nntp-open-tls-stream'. *** url-news.el 22 Sep 2007 04:02:28 +0200 1.14.2.2 --- url-news.el 20 Nov 2007 22:05:17 +0100 *************** *** 127,135 **** ;;;###autoload (defun url-snews (url) ! (let ((nntp-open-connection-function (if (eq 'tls url-gateway-method) ! nntp-open-tls-stream ! nntp-open-ssl-stream))) (url-news url))) (provide 'url-news) --- 127,133 ---- ;;;###autoload (defun url-snews (url) ! (let ((nntp-open-connection-function 'nntp-open-tls-stream)) (url-news url))) (provide 'url-news)