[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] GnuTLS support on Woe32

From: Ted Zlatanov
Subject: Re: [PATCH] GnuTLS support on Woe32
Date: Tue, 26 Apr 2011 22:35:02 -0500
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

On Tue, 26 Apr 2011 19:50:58 -0600 Christoph Scholtes <address@hidden> 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*.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]