From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76952 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: Incoming IMAP split problem Date: Fri, 18 Feb 2011 18:52:55 -0500 Message-ID: <871v34aoiw.fsf@maru.md5i.com> References: <871v38c5jt.fsf@maru.md5i.com> <87d3mqhbh0.fsf@hati.baby-gnu.org> <87vd0i1iya.fsf@babel.ls.fi.upm.es> <87lj1d7099.fsf@hati.baby-gnu.org> <87bp290wda.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298073202 5730 80.91.229.12 (18 Feb 2011 23:53:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Feb 2011 23:53:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25288@lists.math.uh.edu Sat Feb 19 00:53:17 2011 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 1Pqa8T-0002aq-93 for ding-account@gmane.org; Sat, 19 Feb 2011 00:53: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 1Pqa8L-00005b-B0; Fri, 18 Feb 2011 17:53:09 -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 1Pqa8J-00005C-F4 for ding@lists.math.uh.edu; Fri, 18 Feb 2011 17:53:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pqa8F-0005HC-8M for ding@lists.math.uh.edu; Fri, 18 Feb 2011 17:53:07 -0600 Original-Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pqa8E-00076R-5F for ding@gnus.org; Sat, 19 Feb 2011 00:53:02 +0100 Original-Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1Pqa87-0001jQ-C2 for ding@gnus.org; Fri, 18 Feb 2011 18:52:55 -0500 In-Reply-To: <87bp290wda.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 18 Feb 2011 15:13:37 -0800") 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:76952 Archived-At: Lars Ingebrigtsen writes: > Daniel Dehennin writes: > >> 17:45:00 166067 UID FETCH 76939 (UID BODY.PEEK[HEADER] BODY.PEEK[1]) >> 17:45:00 166068 UID COPY 76939 "baby-gnu.org.dehennin" >> 17:45:00 NNIMAP SPLIT DEBUG nil ((166068 (76939))) > > Interesting. This is what's failing. > > Could you add the following patch, too? It will add the contents of the > buffer to the log, too, so that we can see what's failing when trying to > parse the COPY results. > > diff --git a/lisp/nnimap.el b/lisp/nnimap.el > index 9c93ee8..645d85a 100644 > --- a/lisp/nnimap.el > +++ b/lisp/nnimap.el > @@ -1821,6 +1821,7 @@ textual parts.") > (nnimap-wait-for-response sequence)))) > > (defun nnimap-parse-copied-articles (sequences) > + (nnimap-log-command "IMAP DEBUG %s %s" sequences (buffer-string)) > (let (sequence copied range) > (goto-char (point-min)) > (while (re-search-forward "^\\([0-9]+\\) OK " nil t) I had to change the log command to include format and a newline, but here's the output, given a single message in the INBOX: 18:50:37 196790 SELECT "INBOX" 18:50:37 196791 UID FETCH 1:* FLAGS 18:50:37 196792 UID FETCH 177059 (UID BODY.PEEK[HEADER] BODY.PEEK[1]) 18:50:37 196793 UID COPY 177059 "mail.misc" 18:50:37 IMAP DEBUG ((196793 (177059))) 196793 OK 18:50:37 NNIMAP SPLIT DEBUG nil ((196793 (177059))) 18:50:37 IMAP DEBUG ((196793 (177059))) 196793 OK -- Michael Welsh Duggan (md5i@md5i.com)