From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72036 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Partial IMAP article fetch Date: Mon, 27 Sep 2010 14:49:49 -0400 Message-ID: <87sk0vc982.fsf@uwo.ca> References: <87lj6oi6fe.fsf@uwo.ca> <87zkv3c9fc.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1285613430 10858 80.91.229.12 (27 Sep 2010 18:50:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Sep 2010 18:50:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M20409@lists.math.uh.edu Mon Sep 27 20:50:29 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 1P0ImR-0003f7-S1 for ding-account@gmane.org; Mon, 27 Sep 2010 20:50:28 +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 1P0ImP-0003dv-09; Mon, 27 Sep 2010 13:50:25 -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 1P0ImM-0003cb-67 for ding@lists.math.uh.edu; Mon, 27 Sep 2010 13:50:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P0Im8-000423-Um for ding@lists.math.uh.edu; Mon, 27 Sep 2010 13:50:22 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P0Im8-0007lu-00 for ; Mon, 27 Sep 2010 20:50:08 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0Im5-0003SC-6D for ding@gnus.org; Mon, 27 Sep 2010 20:50:05 +0200 Original-Received: from bas3-london14-1096779890.dsl.bell.ca ([65.95.136.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 20:50:05 +0200 Original-Received: from jdc by bas3-london14-1096779890.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 20:50:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bas3-london14-1096779890.dsl.bell.ca User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:YPm8HQI3slFkMQjREizonTQSfiw= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72036 Archived-At: Dan Christensen writes: > Lars Magne Ingebrigtsen writes: > >> Dan Christensen writes: >> >>> 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.) >> >> I've tried to reproduce this, but I can't. Does it happen with non-PDF >> parts, too? > > Yes, it's quite consistent for me. I'll try attaching a small pdf here > and see what happens: > > > > Some more text. If I copy the previous message (with the test.pdf attachment) to my INBOX, and then try to open it, I get a backtrace: Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil) nnimap-insert-partial-structure((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 490 17 NIL "1" NIL NIL) ("application" "pdf" NIL NIL NIL "base64" 6482 NIL ("attachment" ...) "2" NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 19 2 NIL "3" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) (("3" " \nSome more text. \n") ("1" "Lars Magne Ingebrigtsen writes: \n \n> Dan Christensen writes: \n> \n>> I tried \n>> \n>> (setq gnus-fetch-partial-articles \"text/\") \n>> \n>> and got the following on an article with a text part, a pdf part and \n>> then a text part. (This in the only article I tried.) \n> \n> I've tried to reproduce this, but I can't. Does it happen with non-PDF \n> parts, too? \n \nYes, it's quite consistent for me. I'll try attaching a small pdf here \nand see what happens: \n \n"))) nnimap-convert-partial-article((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 490 17 NIL "1" NIL NIL) ("application" "pdf" NIL NIL NIL "base64" 6482 NIL ("attachment" ...) "2" NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 19 2 NIL "3" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-get-partial-article(5757 ("1" "3") (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 490 17 NIL "1" NIL NIL) ("application" "pdf" NIL NIL NIL "base64" 6482 NIL ("attachment" ...) "2" NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 19 2 NIL "3" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-request-article(5757 "INBOX" "rocky" #) gnus-request-article(5757 "nnimap+rocky:INBOX" #) gnus-request-article-this-buffer(5757 "nnimap+rocky:INBOX") gnus-article-prepare(5757 nil) gnus-summary-display-article(5757 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up nil nil) Dan