Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
To: ding@gnus.org
Subject: starttls-any-program-available missing
Date: Fri, 12 Aug 2011 11:07:46 +0200	[thread overview]
Message-ID: <87mxffhual.fsf@latte.josefsson.org> (raw)

Is running Gnus from git master together with Emacs 23.2 supported?

I got an error from smtpmail.el (from Emacs) that
starttls-any-program-available is not available, and indeed it was
recently removed from starttls.el in Gnus.  Something like the patch
below should work, I think?

/Simon

2011-08-12  Simon Josefsson  <simon@josefsson.org>

	* starttls.el (starttls-any-program-available): Define as obsolete
	function.

diff --git a/lisp/starttls.el b/lisp/starttls.el
index c1caca9..b995f74 100644
--- a/lisp/starttls.el
+++ b/lisp/starttls.el
@@ -301,6 +301,10 @@ GNUTLS requires a port number."
 		       starttls-gnutls-program
 		     starttls-program)))
 
+(defalias 'starttls-any-program-available 'starttls-available-p)
+(make-obsolete 'starttls-any-program-available 'starttls-available-p
+	       "2011-08-02")
+
 (provide 'starttls)
 
 ;;; starttls.el ends here



             reply	other threads:[~2011-08-12  9:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12  9:07 Simon Josefsson [this message]
2011-08-12  9:21 ` Noorul Islam
2011-08-18  0:22 ` Lars Magne Ingebrigtsen

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=87mxffhual.fsf@latte.josefsson.org \
    --to=simon@josefsson.org \
    --cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).