* starttls-any-program-available missing
@ 2011-08-12 9:07 Simon Josefsson
2011-08-12 9:21 ` Noorul Islam
2011-08-18 0:22 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 3+ messages in thread
From: Simon Josefsson @ 2011-08-12 9:07 UTC (permalink / raw)
To: ding
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: starttls-any-program-available missing
2011-08-12 9:07 starttls-any-program-available missing Simon Josefsson
@ 2011-08-12 9:21 ` Noorul Islam
2011-08-18 0:22 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Noorul Islam @ 2011-08-12 9:21 UTC (permalink / raw)
To: Simon Josefsson; +Cc: ding
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: starttls-any-program-available missing
2011-08-12 9:07 starttls-any-program-available missing Simon Josefsson
2011-08-12 9:21 ` Noorul Islam
@ 2011-08-18 0:22 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-08-18 0:22 UTC (permalink / raw)
To: ding
Simon Josefsson <simon@josefsson.org> writes:
> 2011-08-12 Simon Josefsson <simon@josefsson.org>
>
> * starttls.el (starttls-any-program-available): Define as obsolete
> function.
Thanks; applied.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-18 0:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-12 9:07 starttls-any-program-available missing Simon Josefsson
2011-08-12 9:21 ` Noorul Islam
2011-08-18 0:22 ` Lars Magne Ingebrigtsen
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).