From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: smtpmail on Windows native Emacs with gnutls-cli from Cygwin freeze. Date: Mon, 24 Oct 2011 03:15:33 -0400 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1319440544 4635 80.91.229.12 (24 Oct 2011 07:15:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2011 07:15:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Oleksandr Gavenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 24 09:15:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIEl0-0002hI-QC for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2011 09:15:38 +0200 Original-Received: from localhost ([::1]:57705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIEl0-00054c-3e for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2011 03:15:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIEkx-00054M-9p for emacs-devel@gnu.org; Mon, 24 Oct 2011 03:15:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIEkw-0002YI-4S for emacs-devel@gnu.org; Mon, 24 Oct 2011 03:15:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIEkv-0002YE-VK for emacs-devel@gnu.org; Mon, 24 Oct 2011 03:15:34 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RIEkv-0005Iz-SN; Mon, 24 Oct 2011 03:15:33 -0400 In-reply-to: (message from Oleksandr Gavenko on Mon, 24 Oct 2011 00:53:12 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:145458 Archived-At: > From: Oleksandr Gavenko > Date: Mon, 24 Oct 2011 00:53:12 +0300 > > I like use native Emacs with Cygwin toolset. It does not > hard to friend then. But from time to time I discover some issues. > > Now time I finally try setup Emacs to work with mail. > > GMail SMTP require TLS connection. As usual this done by > 'gnus/starttls.el'. > > After configuring smtpmail (send-mail-function==smtpmail-send-it) > I try compose mail: > > C-x m bla-bla-bla C-c C-c > > Emacs freeze! Try same in Cygwin Emacs and all OK! Was your native Windows build of Emacs built with GnuTLS support? See the section in nt/INSTALL about "Optional GnuTLS support", for the details. I understand that if you build Emacs with GnuTLS support and install the GnuTLS binaries from the URL in that section, you will have gnutls in the native Emacs without any need for the Cygwin gnutls executable, and without any need to hack Emacs for SIGALRM. If the GnuTLS configuration described in nt/INSTALL doesn't work, please submit a bug report. I'm quite sure several people use that configuration successfully. > Conclusion from this story: check return codes... and don't use > unsupported configuration! The latter. Especially if the supported configuration already has GnuTLS support built into it.