From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Newsgroups: gmane.emacs.devel,gmane.emacs.windows
Subject: Re: bug#10612: GnuTLS bundled with the windows Emacs binaries
Date: Thu, 22 Mar 2012 19:38:30 +0100
Message-ID: <m3zkb8eb15.fsf@stories.gnus.org>
References: <84boromyob.fsf@tum.de> <m3lipk5scv.fsf@stories.gnus.org>
	<84ipknew07.fsf@tum.de> <87ipjzs512.fsf@gnus.org>
	<87wr8e8o58.fsf_-_@lifelogs.com>
	<CAAeL0SQsvGjOwpbyknorVrhNn9r+FwLPFZxQthofOZk-YfEaqw@mail.gmail.com>
	<jk2bb4$gv0$1@dough.gmane.org>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: dough.gmane.org 1332441547 7821 80.91.229.3 (22 Mar 2012 18:39:07 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Thu, 22 Mar 2012 18:39:07 +0000 (UTC)
Cc: help-emacs-windows@gnu.org, emacs-devel@gnu.org
To: Uday S Reddy <usr.vm.rocks@gmail.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 19:39:06 2012
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1SAmue-0005WO-0a
	for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2012 19:39:04 +0100
Original-Received: from localhost ([::1]:50037 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1SAmud-0002Hc-EH
	for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2012 14:39:03 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:50471)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <larsi@gnus.org>) id 1SAmuV-0002Fo-Gl
	for emacs-devel@gnu.org; Thu, 22 Mar 2012 14:39:01 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <larsi@gnus.org>) id 1SAmuM-0005ma-SG
	for emacs-devel@gnu.org; Thu, 22 Mar 2012 14:38:54 -0400
Original-Received: from hermes.netfonds.no ([80.91.224.195]:52430)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <larsi@gnus.org>)
	id 1SAmuH-0005kL-Vy; Thu, 22 Mar 2012 14:38:42 -0400
Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]
	helo=stories.gnus.org)
	by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.72) (envelope-from <larsi@gnus.org>)
	id 1SAmu7-00068J-BM; Thu, 22 Mar 2012 19:38:31 +0100
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEVzbnRzcnd1dXgDAgH4
	+PhybXPNzc////9RTVCNjI79oIouAAACYUlEQVQ4jU2UQY/aMBCFzSHScgMqVeqteCtabm0DbLi1
	LIrFLdUqbHokpDGca8WbWyUWwd66KSLwbzszdgJGQkk+zXszY4+ZrpaAn1b1K1N+kiZaZzpRUstc
	JxXIUj9Nlcj1IUvU7kn0tDSA/pWcTHv5wh/dJ6PsCgj1YZL24+X5y7I3upeqBqnqx73Oj1XT2+zH
	t/JYg4nkBW93i+Zw4w7d2cACJfNe0W23GYtCF9ZylwkTcfQ5fAfghO4DkI8nKxUfEbQARNsNgNOI
	gNIzThEtxwkD1HLvDAClKiK8cfcAypVAqfjMubUIoz+odTsmj5xbbySUl7vDJgrFKykWOhEBiRHr
	cwGgYzyCaAsJe59eAGQQgB4tFoCSY7Qe0aPgFGHcGVboDlFqukbAScphDmblPgOYcZLqdJGE6I/E
	K5mOaw8wATEKGWPlRQVCXOThSQC+BcwAKuSztB7dOiIII9TyDkyt68Ipwnh4Ept4VV/ljd3166Qu
	HtAslr3yursXMhTMXxcUQYQFbI875e5L40G9ophLS0x3L1qk5KF5XAMnqNN6hh1Mk8IU2AoDJ4w8
	AF6BG4Va6O1QxNXW6okBLToL4cVcndMKoBJ29/SVgMh512bF7I7HdOD0pM95h5pyY5QG9lCvU8y3
	AVpGqRjb+Ujy/itINXA+sCGPKwt0fujC5DTeP2xpcO6UHRw9m/JF/93f808PRy0d1DOYqLeLYzNY
	zd032/E/mV7NefktmX9fHr3lfPxUXsZZZ2Imevkvf/S7fMnK65tB+/bKgCEX9IXZO0XBFSLwkvHt
	ewVqXj38B909S3PmwkxmAAAAAElFTkSuQmCC
X-Now-Playing: Split's _Oval, Liturgy_: "Liturgy - (untitled)"
In-Reply-To: <jk2bb4$gv0$1@dough.gmane.org> (Uday S. Reddy's message of "Sat, 
	17 Mar 2012 15:41:21 +0000")
User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux)
X-MailScanner-ID: 1SAmu7-00068J-BM
MailScanner-NULL-Check: 1333046311.57501@2XOehuXz+jS3wP+jJG3niA
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 80.91.224.195
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.devel:149181 gmane.emacs.windows:5322
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/149181>

Uday S Reddy <usr.vm.rocks@gmail.com> writes:

>     smtpmail-send-it: Sending failed: Emacs does not support TLS, and
> no external `gnutls-cli.exe' program was found
>
> Running locate-file, I see
>
>    (locate-file "gnutls-cli.exe" exec-path)
>    "c:/Cygwin/bin/gnutls-cli.exe"

This error message is totally wrong now, because we redefined to be:

(defun starttls-available-p ()
  "Say whether the STARTTLS programs are available."
  (and (not (memq system-type '(windows-nt ms-dos)))
       (executable-find (if starttls-use-gnutls
			    starttls-gnutls-program
			  starttls-program))))

That is, if we're under Windows, we just give up, because gnutls-cli
doesn't work, because we don't have signals under Windows.

So I'll fix the error message to be less misleading.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/