From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71910 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Partial IMAP article fetch Date: Sun, 26 Sep 2010 16:41:25 -0400 Message-ID: <87lj6oi6fe.fsf@uwo.ca> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285533706 23048 80.91.229.12 (26 Sep 2010 20:41:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 20:41:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20283@lists.math.uh.edu Sun Sep 26 22:41:44 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 1Ozy2Z-0001Wx-2Q for ding-account@gmane.org; Sun, 26 Sep 2010 22:41:43 +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 1Ozy2X-0002JC-HS; Sun, 26 Sep 2010 15:41:41 -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 1Ozy2V-0002Ir-NM for ding@lists.math.uh.edu; Sun, 26 Sep 2010 15:41:39 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ozy2R-0007ng-B7 for ding@lists.math.uh.edu; Sun, 26 Sep 2010 15:41:39 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ozy2Q-00055J-00 for ; Sun, 26 Sep 2010 22:41:34 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ozy2O-0001UM-Rr for ding@gnus.org; Sun, 26 Sep 2010 22:41:32 +0200 Original-Received: from bas3-london14-1096786111.dsl.bell.ca ([65.95.160.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 22:41:32 +0200 Original-Received: from jdc by bas3-london14-1096786111.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Sep 2010 22:41:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bas3-london14-1096786111.dsl.bell.ca User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:R2yrBGAh5Rshmp+LMPVJwxeI2GI= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71910 Archived-At: Lars Magne Ingebrigtsen writes: > I've now implemented IMAP particle article fetch. That took a lot > more code than I thought. > > (setq nnimap-fetch-partial-articles "text/") > > to test. I tried (setq gnus-fetch-partial-articles "text/") and got the following on an article with a text part, a pdf part and then a text part. (This in the only article I tried.) Dan Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) nnimap-insert-partial-structure((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 14 2 NIL "1" NIL NIL) ("application" "pdf" NIL NIL NIL "base64" 213264 NIL ("attachment" ...) "2" NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 14 2 NIL "3" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) (("3" "\nMore text.\n") ("1" "Some text.\n\n"))) nnimap-convert-partial-article((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 14 2 NIL "1" NIL NIL) ("application" "pdf" NIL NIL NIL "base64" 213264 NIL ("attachment" ...) "2" NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 14 2 NIL "3" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-get-partial-article(5723 ("1" "3") (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 14 2 NIL "1" NIL NIL) ("application" "pdf" NIL NIL NIL "base64" 213264 NIL ("attachment" ...) "2" NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 14 2 NIL "3" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-request-article(5723 "INBOX" "rocky" #) gnus-request-article(5723 "nnimap+rocky:INBOX" #) gnus-request-article-this-buffer(5723 "nnimap+rocky:INBOX") gnus-article-prepare(5723 nil) gnus-summary-display-article(5723 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up nil nil)