From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathaniel Calloway Newsgroups: gmane.emacs.help Subject: Problem with imap.el under Windows Date: Tue, 15 Apr 2008 17:24:32 -0400 Organization: Road Runner High Speed Online http://www.rr.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208320330 21317 80.91.229.12 (16 Apr 2008 04:32:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2008 04:32:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 06:32:41 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JluvI-0006JJ-3r for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Apr 2008 01:50:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jluud-0002T1-PP for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Apr 2008 19:50:07 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!tmp-post01.iad!news.highwinds-media.com!roadrunner.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:FG86Vev4uScPTjwFeHClnClGyzI= Original-Lines: 42 Original-NNTP-Posting-Host: 67.241.7.2 Original-X-Complaints-To: abuse@rr.com Original-Xref: shelby.stanford.edu gnu.emacs.help:157950 X-Mailman-Approved-At: Tue, 15 Apr 2008 19:49:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53319 Archived-At: Hi all. I'm hoping someone with more experience setting up emacs under windows will be able to help me figure out what the problem is here. It reaks of some OS problem, but I don't know enough about what that problem could be. I've been trying to fix some problems with gnus for a while now and corresponding on gnu.emacs.gnus. However, I've narrowed down the problem to imap.el, so I believe it should be appropriate to post here. Specifically it is a problem with a set of functions in imap.el, the imap-ssl-open, imap-tls-open, and similar functions (imap-BLANK-open, etc, at least each that i've tested). I am putting this out there in case anyone knows of a patch or other solution. I am using gnus 5.11 with emacs 22.2, fyi. To recap the problem, I've been trying to get imap working with gnus under windows. I'm not a windows person so I don't know what specifics of windows might be causing a problem in the code. When I try to connect to a server with any protocol that required an external process (gssapi, tls, ssl, kerberos), after the process is initialized (with the imap-ssl-open type function) emacs locks up. This is not a problem with the external program (the connection is made just fine, and the process is running, waiting for imap commands) or any certs or anything else. Yes I am sure of this. Using imap-tls-open as an example: Running imap-tls-open locks up emacs, but the function (used inu imap-tls-open) open-tls-stream works just fine, and starts a working tls connection from within emacs. The same is true of the other protocols. THEREFORE, it is my guess that there is something in common to these imap.el functions that is breaking emacs. -Nat PS - Don't bother asking for logs from gnutls, opensll, imtest, starttls, etc. They all look fine. If you know how to extract a dump from emacs stuck in an infinate loop of some type, let me know. Otherwise I got nothing.