all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Diane Murray <disumu@x3y2z1.net>
To: emacs-devel@gnu.org
Subject: Use nntp-open-tls-stream in url-snews
Date: Tue, 20 Nov 2007 22:16:11 +0100	[thread overview]
Message-ID: <871wakr52c.fsf@spargel.x3y2z1.net> (raw)

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  <disumu@x3y2z1.net>

	* 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)

             reply	other threads:[~2007-11-20 21:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-20 21:16 Diane Murray [this message]
2007-11-28  8:35 ` Use nntp-open-tls-stream in url-snews Glenn Morris
2007-12-02  2:26   ` Diane Murray
2007-12-02  4:10     ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wakr52c.fsf@spargel.x3y2z1.net \
    --to=disumu@x3y2z1.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.