From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72966 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: New IMAP mail parsing bug Date: Mon, 11 Oct 2010 16:17:13 -0400 Message-ID: <8762x8pjqu.fsf@maru.md5i.com> References: <87aamkptdl.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286828287 19241 80.91.229.12 (11 Oct 2010 20:18:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2010 20:18:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21338@lists.math.uh.edu Mon Oct 11 22:18:05 2010 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.69) (envelope-from ) id 1P5Oou-0000Nl-IO for ding-account@gmane.org; Mon, 11 Oct 2010 22:18:04 +0200 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 1P5Ooj-0004m7-RT; Mon, 11 Oct 2010 15:17:53 -0500 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 1P5Ooi-0004lt-KE for ding@lists.math.uh.edu; Mon, 11 Oct 2010 15:17:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P5Ood-0005eM-Hl for ding@lists.math.uh.edu; Mon, 11 Oct 2010 15:17:52 -0500 Original-Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P5Ooc-0007FH-00 for ; Mon, 11 Oct 2010 22:17:46 +0200 Original-Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1P5Oo5-0002Br-MZ for ding@gnus.org; Mon, 11 Oct 2010 16:17:13 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 11 Oct 2010 20:31:50 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72966 Archived-At: Lars Magne Ingebrigtsen writes: > Michael Welsh Duggan writes: > >> The nil comes from second nnimap-get-length call. The first one returns >> 2272 as expected, but the forward char only skips to the line containing >> the "BODY[1] NIL)" bit. I expect that the NIL is the problem. The >> attached file may or may not be missing the carriage returns at the end >> of each line. > > I think the problem is that the message has no body. I'm not able to > test this myself, but I think the fix I just checked in might fix the > problem. Seems to have worked. I'm not quite sure. The first time I ran it, there was an error, but I didn't have debug-on-error set. The second time, no error. I'll keep an eye on it in the future. -- Michael Welsh Duggan (md5i@md5i.com)