From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79638 Path: news.gmane.org!not-for-mail From: Noorul Islam Newsgroups: gmane.emacs.gnus.general Subject: Re: starttls-any-program-available missing Date: Fri, 12 Aug 2011 14:51:24 +0530 Message-ID: References: <87mxffhual.fsf@latte.josefsson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1313140914 18566 80.91.229.12 (12 Aug 2011 09:21:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2011 09:21:54 +0000 (UTC) Cc: ding@gnus.org To: Simon Josefsson Original-X-From: ding-owner+M27934@lists.math.uh.edu Fri Aug 12 11:21:50 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qrnw5-0004DE-W2 for ding-account@gmane.org; Fri, 12 Aug 2011 11:21:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Qrnw1-0002J7-5D; Fri, 12 Aug 2011 04:21:45 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Qrnvz-0002Ir-Dt for ding@lists.math.uh.edu; Fri, 12 Aug 2011 04:21:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Qrnvo-0003LX-Hz for ding@lists.math.uh.edu; Fri, 12 Aug 2011 04:21:43 -0500 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qrnvl-0002EW-Sn for ding@gnus.org; Fri, 12 Aug 2011 11:21:30 +0200 Original-Received: by fxe6 with SMTP id 6so3734280fxe.17 for ; Fri, 12 Aug 2011 02:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorul.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=kc5Vz+aJRsMRLV+ripN+U44deAw9yDpN3RlKDAuWzEI=; b=asnhpFVrnfILjo2RdHjCNORlNicpTG5u6NyCvbnKSfOPxviLsMvxGxv/FOJY2JCeDN xUf/UFIp4GVsUFbrX1YI1BwI4T7KEG47eAHx22DW1YRvm2usEzBeswR0WU/t5PmoT6Ov a1B6BQG+RSKvuLG5v1E6LYqyE4eXknNodbZnE= Original-Received: by 10.223.145.16 with SMTP id b16mr951199fav.128.1313140884349; Fri, 12 Aug 2011 02:21:24 -0700 (PDT) Original-Received: by 10.223.87.72 with HTTP; Fri, 12 Aug 2011 02:21:24 -0700 (PDT) In-Reply-To: <87mxffhual.fsf@latte.josefsson.org> X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79638 Archived-At: On Fri, Aug 12, 2011 at 2:37 PM, Simon Josefsson wrot= e: > 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. =A0Something like the patch > below should work, I think? > > /Simon > > 2011-08-12 =A0Simon Josefsson =A0 > > =A0 =A0 =A0 =A0* starttls.el (starttls-any-program-available): Define as = obsolete > =A0 =A0 =A0 =A0function. > > 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." > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 starttls-gnutls-program > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 starttls-program))) > > +(defalias 'starttls-any-program-available 'starttls-available-p) > +(make-obsolete 'starttls-any-program-available 'starttls-available-p > + =A0 =A0 =A0 =A0 =A0 =A0 =A0"2011-08-02") > + > =A0(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