From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68153 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: IMAP and Exchange 2007 - imap-fetch-safe Date: Tue, 13 Jan 2009 18:20:35 +0100 Message-ID: <87fxjn9l7g.fsf@mocca.josefsson.org> 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> <87k58za3q8.fsf@liv.ac.uk> <87k58zm99o.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 1231867266 21150 80.91.229.12 (13 Jan 2009 17:21:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2009 17:21:06 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org, Bjorn Solberg To: Dave Love Original-X-From: ding-owner+M16597@lists.math.uh.edu Tue Jan 13 18:22:17 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 1LMmxt-0002OI-Pa for ding-account@gmane.org; Tue, 13 Jan 2009 18:22:10 +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 1LMmwV-00060D-Sl; Tue, 13 Jan 2009 11:20:43 -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 1LMmwU-0005zu-JJ for ding@lists.math.uh.edu; Tue, 13 Jan 2009 11:20:42 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LMmwR-00027i-GP for ding@lists.math.uh.edu; Tue, 13 Jan 2009 11:20:42 -0600 Original-Received: from yxa-v.extundo.com ([83.241.177.39]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LMmwi-0004WM-00 for ; Tue, 13 Jan 2009 18:20:56 +0100 Original-Received: from c80-216-27-189.bredband.comhem.se ([80.216.27.189] helo=mocca.josefsson.org) by yxa-v.extundo.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1LMmwP-0005Co-3A; Tue, 13 Jan 2009 18:20:37 +0100 OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:090113:fx@gnu.org::3b3QTDNv/7kWRgnF:4soT X-Hashcash: 1:22:090113:ding@gnus.org::fO36bjr+BCBB6Q3b:EHI2 X-Hashcash: 1:22:090113:emacs-devel@gnu.org::asYwPFsqIe5WI3er:L1K6 X-Hashcash: 1:22:090113:bjorn_ding2@hekneby.org::pdftd9AFxy2A+eRn:UO9i In-Reply-To: <87k58zm99o.fsf_-_@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Tue, 13 Jan 2009 18:00:03 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.2.5 (2008-06-10) host=yxa-v.extundo.com X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68153 gmane.emacs.devel:107822 Archived-At: Reiner Steib writes: >> 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. Maybe the problem is a condition-case within another condition-case work? I recall problems related to this when run as an async process filter. Maybe it is possible to re-write the approach without using condition-case, that would likely be easier to debug anyway. >> 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? > > Simon? Others? > http://thread.gmane.org/gmane.emacs.gnus.general/66635/focus=94117 I'd prefer to avoid sending the Exchange bug-workaround approach ("1,*:*") to any server that does not need it. I've seen servers that (internally) open up all e-mails in the folder and searches them, but for the 1,* approach was able to return data quickly. This may be old information now, but generally I don't see why imap.el should send poor protocol output to all servers just because Exchange is broken. /Simon