Gnus development mailing list
 help / color / mirror / Atom feed
From: Noorul Islam <noorul@noorul.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ding@gnus.org
Subject: Re: starttls-any-program-available missing
Date: Fri, 12 Aug 2011 14:51:24 +0530	[thread overview]
Message-ID: <CA+H4GH_H_41+qJSdUoth_Xa1ARHRfwp2w3EHqUQ81Lpee2jS0A@mail.gmail.com> (raw)
In-Reply-To: <87mxffhual.fsf@latte.josefsson.org>

On Fri, Aug 12, 2011 at 2:37 PM, Simon Josefsson <simon@josefsson.org> wrote:
> 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)
>

Cool!

Actually I faced similar issue but I was using Emacs 24 and I just
pulled latest changes and compiled Emacs 24 and everything worked.

I think for Emacs 23 users your patch seems to be perfect.

Thanks and Regards
Noorul



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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12  9:07 Simon Josefsson
2011-08-12  9:21 ` Noorul Islam [this message]
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=CA+H4GH_H_41+qJSdUoth_Xa1ARHRfwp2w3EHqUQ81Lpee2jS0A@mail.gmail.com \
    --to=noorul@noorul.com \
    --cc=ding@gnus.org \
    --cc=simon@josefsson.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).