Gnus development mailing list
 help / color / mirror / Atom feed
From: Dan Christensen <jdc@uwo.ca>
To: ding@gnus.org
Subject: Re: Partial IMAP article fetch
Date: Mon, 27 Sep 2010 14:49:49 -0400	[thread overview]
Message-ID: <87sk0vc982.fsf@uwo.ca> (raw)
In-Reply-To: <87zkv3c9fc.fsf@uwo.ca>

Dan Christensen <jdc@uwo.ca> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> Dan Christensen <jdc@uwo.ca> 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 <larsi@gnus.org> writes:
\n
\n> Dan Christensen <jdc@uwo.ca> 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" #<buffer *Article nnimap+rocky:INBOX*>)
  gnus-request-article(5757 "nnimap+rocky:INBOX" #<buffer *Article 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




  reply	other threads:[~2010-09-27 18:49 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-25 16:12 Lars Magne Ingebrigtsen
2010-09-25 17:11 ` Lars Magne Ingebrigtsen
2010-09-26 20:41 ` Dan Christensen
2010-09-27 18:27   ` Lars Magne Ingebrigtsen
2010-09-27 18:45     ` Dan Christensen
2010-09-27 18:49       ` Dan Christensen [this message]
2010-09-27 19:25         ` Lars Magne Ingebrigtsen
2010-09-28  1:18           ` Dan Christensen
2010-09-28 16:05             ` Steinar Bang
2010-09-28 16:14               ` Steinar Bang
2010-09-28 16:16               ` Julien Danjou
2010-09-29 14:56                 ` Lars Magne Ingebrigtsen
2010-09-29 17:58                   ` Steinar Bang
2010-09-29 19:04                     ` Lars Magne Ingebrigtsen
2010-09-29 19:16                       ` Steinar Bang
2010-09-29 19:30                         ` Lars Magne Ingebrigtsen
2010-09-29 19:55                           ` Steinar Bang
2010-09-29 20:12                             ` Lars Magne Ingebrigtsen
2010-09-29 20:24                               ` Steinar Bang
2010-09-29 22:10                                 ` Lars Magne Ingebrigtsen
2010-09-29 22:11                                 ` Lars Magne Ingebrigtsen
2010-09-29 22:15                                   ` Lars Magne Ingebrigtsen
2010-09-30 18:42                                     ` Steinar Bang
2010-09-29 21:21                           ` Andreas Schwab
2010-09-29 21:23                             ` Lars Magne Ingebrigtsen
2010-09-29 22:45                               ` Andreas Schwab
2010-09-29 18:43                   ` Julien Danjou
2010-09-29 18:59                     ` Lars Magne Ingebrigtsen
2010-09-26 20:45 ` Dan Christensen
2010-09-26 20:55   ` Lars Magne Ingebrigtsen
2010-09-27  7:43   ` Steinar Bang
2010-09-27 18:35     ` Lars Magne Ingebrigtsen
2010-09-27 15:19   ` Richard Riley
2010-09-27 18:35     ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sk0vc982.fsf@uwo.ca \
    --to=jdc@uwo.ca \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).