From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Tue, 26 Apr 2011 22:35:02 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8762q04ba1.fsf@lifelogs.com> References: <87ipvwl1nx.wl%claudio.bley@gmail.com> <87aagn2tpr.fsf@lifelogs.com> <87wrjquacf.fsf@lifelogs.com> <87lj05svwh.fsf@lifelogs.com> <87bp11imgb.wl%claudio.bley@gmail.com> <8739mc5nes.fsf@lifelogs.com> <87ipuubao6.fsf@lifelogs.com> <87fwpjfkkz.fsf@lifelogs.com> <87bp072fb1.fsf@lifelogs.com> <874o5vimm5.fsf@lifelogs.com> <87zknjmcyk.fsf@lifelogs.com> <87sjta2zvp.fsf@lifelogs.com> <87liyzglkh.fsf@lifelogs.com> <4DB77682.1070605@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1303875328 1813 80.91.229.12 (27 Apr 2011 03:35:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2011 03:35:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 27 05:35:25 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 1QEvX9-00056g-3y for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2011 05:35:23 +0200 Original-Received: from localhost ([::1]:55768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEvX8-0002FV-IZ for ged-emacs-devel@m.gmane.org; Tue, 26 Apr 2011 23:35:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEvX5-0002FF-Rn for emacs-devel@gnu.org; Tue, 26 Apr 2011 23:35:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEvX4-0003Oj-Lp for emacs-devel@gnu.org; Tue, 26 Apr 2011 23:35:19 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:44368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEvX4-0003Of-CM for emacs-devel@gnu.org; Tue, 26 Apr 2011 23:35:18 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QEvX1-00053k-7c for emacs-devel@gnu.org; Wed, 27 Apr 2011 05:35:15 +0200 Original-Received: from c-67-186-102-106.hsd1.il.comcast.net ([67.186.102.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 05:35:15 +0200 Original-Received: from tzz by c-67-186-102-106.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Apr 2011 05:35:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-186-102-106.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:shGBO8QCnDwwZ4/oTb5tvN8NoSI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:138826 Archived-At: On Tue, 26 Apr 2011 19:50:58 -0600 Christoph Scholtes wrote: CS> On 4/24/2011 7:35 PM, Ted Zlatanov wrote: >> Please yell if it breaks things for you. Also please test it on W32 and >> I hope we can start shipping the binaries for that platform with the >> GnuTLS support enabled. CS> I compiled the trunk with GnuTLS support on Windows 7. If I dont CS> provide the dlls (libgnutls-26.dll, libgcrypt.dll etc.) Emacs issues CS> an error message on startup ("Dll x not found.") and does not start at CS> all. CS> Can we make it behave like for any of the graphics dll's, where the CS> support might be enabled at compile time, but the dll must not CS> necessarily be present to use Emacs at all? Sure, but someone with access to W32 machines would have to write and test it, I can't. CS> Then, I am trying to use GnuTLS for receiving email with Gnus. How do CS> configure Emacs to use GnuTLS? Is there any documentation? CS> This is my server configuration CS> (setq gnus-select-method CS> '(nnimap "gmail" CS> (nnimap-address "imap.gmail.com") CS> (nnimap-stream starttls) CS> (nnimap-server-port 993))) CS> Should this be enough or do I need to do anything else? CS> On M-x gnus Emacs hangs with the message "Opening connection to CS> imap.gmail.com..." in the minibuffer and nothing happens. It depends on what version of Gnus and Emacs you are using. If you're using the trunk version of both, I think you want (nnimap-stream ssl), but I honestly don't remember all the permutations before then. You can test that GnuTLS support works, in any case, with (require 'gnutls) (open-gnutls-stream "tls" "tls-buffer" "imap.gmail.com" "imaps") Set `gnutls-log-level' to 1 to get details in *Messages*. Ted