From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68150 Path: news.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.gnus.general Subject: Re: FIXMEs in imap.el and nnimap.el Date: Tue, 13 Jan 2009 10:40:31 +0000 Message-ID: <87k58za3q8.fsf@liv.ac.uk> References: <87iqphil5p.fsf@liv.ac.uk> <87ocz3n8d4.fsf@marauder.physik.uni-ulm.de> <87iqpa99wy.fsf@liv.ac.uk> <87wsde7t5j.fsf_-_@marauder.physik.uni-ulm.de> <86mye95p27.fsf@lifelogs.com> <878wpt48qj.fsf@marauder.physik.uni-ulm.de> <86d4eyvryx.fsf@lifelogs.com> <878wplcxws.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231843266 27387 80.91.229.12 (13 Jan 2009 10:41:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2009 10:41:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16594@lists.math.uh.edu Tue Jan 13 11:42:18 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LMgiu-0004fV-On for ding-account@gmane.org; Tue, 13 Jan 2009 11:42:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LMggq-0003wM-ML; Tue, 13 Jan 2009 04:40:08 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LMggp-0003w5-8R for ding@lists.math.uh.edu; Tue, 13 Jan 2009 04:40:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LMggm-0000e5-LZ for ding@lists.math.uh.edu; Tue, 13 Jan 2009 04:40:07 -0600 Original-Received: from mxa.liv.ac.uk ([138.253.100.59]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LMgh3-0007nI-00 for ; Tue, 13 Jan 2009 11:40:21 +0100 Original-Received: from mailhubb.liv.ac.uk ([138.253.100.37]) by mxa.liv.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1LMggH-00088P-HH for ding@gnus.org; Tue, 13 Jan 2009 10:39:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=mailhubb.liv.ac.uk) by mailhubb.liv.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1LMggH-0005sJ-G3 for ding@gnus.org; Tue, 13 Jan 2009 10:39:33 +0000 Original-Received: from pc102091.liv.ac.uk ([138.253.102.91] helo=albion) by mailhubb.liv.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1LMggH-0005sG-9q for ding@gnus.org; Tue, 13 Jan 2009 10:39:33 +0000 Original-Received: from dlove by albion with local (Exim 4.69) (envelope-from ) id 1LMghD-0005VP-Tn for ding@gnus.org; Tue, 13 Jan 2009 10:40:31 +0000 X-Draft-From: ("nnimap+imap.liv.ac.uk:Misc" 3389) In-Reply-To: <878wplcxws.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Thu, 8 Jan 2009 21:04:19 +0000") User-Agent: Gnus/5.110011 (No Gnus v0.11) X-Spam-Score: -5.6 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68150 Archived-At: I'm afraid there's something wrong with my fix, but it seems to be something like a race condition, and isn't consistently reproducible. It also goes away when I try to debug it. I see the old error sometimes when starting Gnus afresh, and the trace says imap-fetch-safe is called from nnimap-find-minmax-uid. It appears that the condition-case in imap-fetch-safe isn't catching the error thrown by imap-parse-message. Now I think about it, I'm more puzzled, and obviously don't understand the logic. An error in a process filter should be caught anyway, so I wonder why the code ever works, though it does some of the time. Any ideas? Setting imap-enable-exchange-bug-workaround globally works, of course, and it's not clear to me what the problem is with always using the workaround anyhow. Are there servers on which it's known to fail or be noticeably slow?