From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68152 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: IMAP and Exchange 2007 - imap-fetch-safe (was: FIXMEs in imap.el and nnimap.el) Date: Tue, 13 Jan 2009 18:00:03 +0100 Message-ID: <87k58zm99o.fsf_-_@marauder.physik.uni-ulm.de> 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> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231866090 16145 80.91.229.12 (13 Jan 2009 17:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2009 17:01:30 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org, Bjorn Solberg , Simon Josefsson To: Dave Love Original-X-From: ding-owner+M16596@lists.math.uh.edu Tue Jan 13 18:02:39 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 1LMmey-0002br-Ur for ding-account@gmane.org; Tue, 13 Jan 2009 18:02:37 +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 1LMmcq-0005sK-OC; Tue, 13 Jan 2009 11:00:24 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LMmcp-0005s3-9j for ding@lists.math.uh.edu; Tue, 13 Jan 2009 11:00:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LMmcl-0000Db-VN for ding@lists.math.uh.edu; Tue, 13 Jan 2009 11:00:23 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LMmd2-0004Gk-00 for ; Tue, 13 Jan 2009 18:00:36 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n0DH07KC012965; Tue, 13 Jan 2009 18:00:11 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 297A51C98C; Tue, 13 Jan 2009 18:00:07 +0100 (CET) X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68152 gmane.emacs.devel:107821 On Tue, Jan 13 2009, Dave Love wrote: > 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. Bjorn Solberg reported that the fix wont work for him too: See on ding, or http://thread.gmane.org/gmane.emacs.gnus.general/68106/focus=68138 where he posted the *imap-debug*" buffer. > 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? Maybe someone on emacs-devel has an idea (Cc-ed). For emacs-devel: we are talking about the recent addition `imap-fetch-safe' in `imap.el' and `nnimap.el'. AFAICS, the code in the Emacs trunk is uptodate. Note that Dave uses Emacs 21, Bjorn uses Emacs/23.0.50 according to his headers. > Setting imap-enable-exchange-bug-workaround globally works, of course, It should also be possible to set it as a server variable (info "(gnus)Server Variables"). > 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 Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/