From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75528 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap-fetch-partial-articles does not seem to work with forwarded articles Date: Sun, 02 Jan 2011 20:42:28 +0100 Organization: not if I can help it Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293997415 5802 80.91.229.12 (2 Jan 2011 19:43:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Jan 2011 19:43:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23879@lists.math.uh.edu Sun Jan 02 20:43:30 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 1PZTpw-0004MY-7P for ding-account@gmane.org; Sun, 02 Jan 2011 20:43:28 +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 1PZTpM-0006Kg-2B; Sun, 02 Jan 2011 13:42:52 -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 1PZTpL-0006KZ-5j for ding@lists.math.uh.edu; Sun, 02 Jan 2011 13:42:51 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PZTpH-0000s7-1E for ding@lists.math.uh.edu; Sun, 02 Jan 2011 13:42:51 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PZTpG-0002FM-9J for ding@gnus.org; Sun, 02 Jan 2011 20:42:46 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PZTpF-0003xJ-S4 for ding@gnus.org; Sun, 02 Jan 2011 20:42:45 +0100 Original-Received: from lns-bzn-49f-81-56-191-143.adsl.proxad.net ([81.56.191.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Jan 2011 20:42:45 +0100 Original-Received: from rpluim by lns-bzn-49f-81-56-191-143.adsl.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Jan 2011 20:42:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lns-bzn-49f-81-56-191-143.adsl.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b29 (cygwin32) Cancel-Lock: sha1:7wJPScyQBgI5gLorrcAspGtKBIU= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75528 Archived-At: Lars Magne Ingebrigtsen writes: > Robert Pluim writes: > >> Debugger entered--Lisp error: (wrong-type-argument >> number-char-or-marker-p nil) >> nnimap-convert-partial-article((("text" "plain" ("charset" >> "us-ascii") nil nil "quoted-printable" 0 0 nil "1" nil nil) >> ("message" "rfc822" nil nil nil "7bit" 1638 ("tue, 21 dec 2010 >> 09:10:16 -0500" "re: nmc + e-cscf" ... nil nil ... nil nil >> "" >> "<8ccdd3219a5a4d43a6d3b43d9764774b960a4ae0@mailbox1.company.com>") >> ("text" "plain" ... nil nil "quoted-printable" 658 25 nil nil >> "en-us" nil) "2" nil nil nil nil) "mixed" ("boundary" >> "_002_pkn39pri4stfsfthisisreallyinvalid_") nil "en-us")) > > Your backtrace data has been truncated, so I can't really reproduce this > bug. I think setting print-length and print-level to nil should > probably fix this, but I'm not sure how your version of XEmacs does this > exactly. Hmm, they're both set to nil, so something has gone wrong. Anyway, I edebug'd nnimap-convert-partial-article, and it's failing because (while (looking-at ".*BODY\\[\\([.0-9]+\\)\\]") (setq id (match-string 1) bytes (nnimap-get-length)) <== this is returning NIL. If I've understood the code, this should be parsing the BODY response, which is BODY[1] NIL UID 49140) at this point. I'm not terribly familiar with IMAP, but I guess you're expecting something a little more descriptive of the body than 'NIL' ;) Trying to understand the relevant section of the RFC has given me a headache, so I'll leave it to you to decide if this is a bug in Gnus or in the Exchange server I'm talking to :) Regards Robert