* Partial IMAP article fetch @ 2010-09-25 16:12 Lars Magne Ingebrigtsen 2010-09-25 17:11 ` Lars Magne Ingebrigtsen ` (2 more replies) 0 siblings, 3 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-25 16:12 UTC (permalink / raw) To: ding 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 haven't implemented a "fetch the entire article" function yet... `A C', perhaps? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-25 16:12 Partial IMAP article fetch Lars Magne Ingebrigtsen @ 2010-09-25 17:11 ` Lars Magne Ingebrigtsen 2010-09-26 20:41 ` Dan Christensen 2010-09-26 20:45 ` Dan Christensen 2 siblings, 0 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-25 17:11 UTC (permalink / raw) To: ding Lars Magne Ingebrigtsen <larsi@gnus.org> writes: > I haven't implemented a "fetch the entire article" function yet... > `A C', perhaps? Done. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-25 16:12 Partial IMAP article fetch 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-26 20:45 ` Dan Christensen 2 siblings, 1 reply; 34+ messages in thread From: Dan Christensen @ 2010-09-26 20:41 UTC (permalink / raw) To: ding Lars Magne Ingebrigtsen <larsi@gnus.org> 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" #<buffer *Article nnimap+rocky:INBOX*>) gnus-request-article(5723 "nnimap+rocky:INBOX" #<buffer *Article 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) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-26 20:41 ` Dan Christensen @ 2010-09-27 18:27 ` Lars Magne Ingebrigtsen 2010-09-27 18:45 ` Dan Christensen 0 siblings, 1 reply; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-27 18:27 UTC (permalink / raw) To: ding 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? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-27 18:27 ` Lars Magne Ingebrigtsen @ 2010-09-27 18:45 ` Dan Christensen 2010-09-27 18:49 ` Dan Christensen 0 siblings, 1 reply; 34+ messages in thread From: Dan Christensen @ 2010-09-27 18:45 UTC (permalink / raw) To: ding [-- Attachment #1: Type: text/plain, Size: 473 bytes --] 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: [-- Attachment #2: test.pdf --] [-- Type: application/pdf, Size: 4737 bytes --] [-- Attachment #3: Type: text/plain, Size: 17 bytes --] Some more text. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-27 18:45 ` Dan Christensen @ 2010-09-27 18:49 ` Dan Christensen 2010-09-27 19:25 ` Lars Magne Ingebrigtsen 0 siblings, 1 reply; 34+ messages in thread From: Dan Christensen @ 2010-09-27 18:49 UTC (permalink / raw) To: ding 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 ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-27 18:49 ` Dan Christensen @ 2010-09-27 19:25 ` Lars Magne Ingebrigtsen 2010-09-28 1:18 ` Dan Christensen 0 siblings, 1 reply; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-27 19:25 UTC (permalink / raw) To: ding Dan Christensen <jdc@uwo.ca> writes: > 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. I found a different bug in this area, but couldn't really reproduce what you're seeing. It may be the same thing, anyway, but perhaps not... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-27 19:25 ` Lars Magne Ingebrigtsen @ 2010-09-28 1:18 ` Dan Christensen 2010-09-28 16:05 ` Steinar Bang 0 siblings, 1 reply; 34+ messages in thread From: Dan Christensen @ 2010-09-28 1:18 UTC (permalink / raw) To: ding Lars Magne Ingebrigtsen <larsi@gnus.org> writes: > I found a different bug in this area, but couldn't really reproduce what > you're seeing. It may be the same thing, anyway, but perhaps not... On that same message from earlier in this thread, I still get an error, but the backtrace looks a bit different: 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(5758 ("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(5758 "INBOX" "rocky" #<buffer *Article nnimap+rocky:INBOX*>) gnus-request-article(5758 "nnimap+rocky:INBOX" #<buffer *Article nnimap+rocky:INBOX*>) gnus-request-article-this-buffer(5758 "nnimap+rocky:INBOX") gnus-article-prepare(5758 nil) gnus-summary-display-article(5758 nil) gnus-summary-select-article(nil force) gnus-summary-show-article(nil) call-interactively(gnus-summary-show-article nil nil) I actually don't have a need for this feature, so I'm just going to disable it. If someone else who needs this is experiencing the problem, they should followup and test any potential fixes. Dan ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 0 siblings, 2 replies; 34+ messages in thread From: Steinar Bang @ 2010-09-28 16:05 UTC (permalink / raw) To: ding I now get the message nnimap-convert-partial-article: Wrong type argument: listp, NIL in the minibuffer, when trying to download a linkedin notification with (setq nnimap-fetch-partial-articles "text/") set. Here's the backtrace with debug-on-error set: Debugger entered--Lisp error: (wrong-type-argument listp NIL) nnimap-insert-partial-structure(((("text" "plain" ... NIL NIL "quoted-printable" 101 7 NIL "1.1" NIL NIL) ("text" "html" ... NIL NIL "quoted-printable" 2031 76 NIL "1.2" NIL NIL) "alternative" ("boundary" "_000_8CB8350290F97643937B9BF6821EAB5E0287BBF55489IZEXCH01osl_") NIL NIL NIL) ("application" "vnd.openxmlformats-officedocument.wordprocessingml.document" ("name" "KFU-INFO_SEPT_10_3.docx") NIL "KFU-INFO_SEPT_10_3.docx" "base64" 106582 NIL ("attachment" ...) "2" NIL) "mixed" ("boundary" "_004_8CB8350290F97643937B9BF6821EAB5E0287BBF55489IZEXCH01osl_") NIL ("nb-NO") NIL) (("1.2" "<html xmlns:v=3D\"urn:schemas-microsoft-com:vml\" xmlns:o=3D\"urn:schemas-micr=\nosoft-com:office:office\" xmlns:w=3D\"urn:schemas-microsoft-com:office:word\" =\nxmlns:m=3D\"http://schemas.microsoft.com/office/2004/12/omml\" xmlns=3D\"http:=\n//www.w3.org/TR/REC-html40\">\n\n<head>\n<meta http-equiv=3DContent-Type content=3D\"text/html; charset=3Diso-8859-1\"=\n>\n<meta name=3DGenerator content=3D\"Microsoft Word 12 (filtered medium)\">\n<style>\n<!--\n /* Font Definitions */\n @font-face\n {font-family:\"Cambria Math\";\n panose-1:2 4 5 3 5 4 6 3 2 4;}\n@font-face\n {font-family:Calibri;\n panose-1:2 15 5 2 2 2 4 3 2 4;}\n /* Style Definitions */\n p.MsoNormal, li.MsoNormal, div.MsoNormal\n {margin:0cm;\n margin-bottom:.0001pt;\n font-size:11.0pt;\n font-family:\"Calibri\",\"sans-serif\";}\na:link, span.MsoHyperlink\n {mso-style-priority:99;\n color:blue;\n text-decoration:underline;}\na:visited, span.MsoHyperlinkFollowed\n {mso-style-priority:99;\n color:purple;\n text-decoration:underline;}\nspan.EpostStil17\n {mso-style-type:personal-compose;\n font-family:\"Calibri\",\"sans-serif\";\n color:windowtext;}\n.MsoChpDefault\n {mso-style-type:export-only;}\n@page WordSection1\n {size:612.0pt 792.0pt;\n margin:70.85pt 70.85pt 70.85pt 70.85pt;}\ndiv.WordSection1\n {page:WordSection1;}\n-->\n</style>\n<!--[if gte mso 9]><xml>\n <o:shapedefaults v:ext=3D\"edit\" spidmax=3D\"1026\" />\n</xml><![endif]--><!--[if gte mso 9]><xml>\n <o:shapelayout v:ext=3D\"edit\">\n <o:idmap v:ext=3D\"edit\" data=3D\"1\" />\n </o:shapelayout></xml><![endif]-->\n</head>\n\n<body lang=3DNO-BOK link=3Dblue vlink=3Dpurple>\n\n<div class=3DWordSection1>\n\n<p class=3DMsoNormal>Vedlagt f=F8lger KFU-Info.<o:p></o:p></p>\n\n<p class=3DMsoNormal><o:p> </o:p></p>\n\n<p class=3DMsoNormal><o:p> </o:p></p>\n\n<p class=3DMsoNormal>Med vennlig hilsen<o:p></o:p></p>\n\n<p class=3DMsoNormal>Kristel M Lysenst=F8en<o:p></o:p></p>\n\n<p class=3DMsoNormal>Konsulent<o:p></o:p></p>\n\n<p class=3DMsoNormal>Vestli Skole<o:p></o:p></p>\n\n</div>\n\n</body>\n\n</html>\n") ("1.1" "Vedlagt f=F8lger KFU-Info.\n\n\nMed vennlig hilsen\nKristel M Lysenst=F8en\nKonsulent\nVestli Skole\n"))) nnimap-convert-partial-article(((("text" "plain" ... NIL NIL "quoted-printable" 101 7 NIL "1.1" NIL NIL) ("text" "html" ... NIL NIL "quoted-printable" 2031 76 NIL "1.2" NIL NIL) "alternative" ("boundary" "_000_8CB8350290F97643937B9BF6821EAB5E0287BBF55489IZEXCH01osl_") NIL NIL NIL) ("application" "vnd.openxmlformats-officedocument.wordprocessingml.document" ("name" "KFU-INFO_SEPT_10_3.docx") NIL "KFU-INFO_SEPT_10_3.docx" "base64" 106582 NIL ("attachment" ...) "2" NIL) "mixed" ("boundary" "_004_8CB8350290F97643937B9BF6821EAB5E0287BBF55489IZEXCH01osl_") NIL ("nb-NO") NIL)) nnimap-get-partial-article(7163 ("1.1" "1.2") ((("text" "plain" ... NIL NIL "quoted-printable" 101 7 NIL "1.1" NIL NIL) ("text" "html" ... NIL NIL "quoted-printable" 2031 76 NIL "1.2" NIL NIL) "alternative" ("boundary" "_000_8CB8350290F97643937B9BF6821EAB5E0287BBF55489IZEXCH01osl_") NIL NIL NIL) ("application" "vnd.openxmlformats-officedocument.wordprocessingml.document" ("name" "KFU-INFO_SEPT_10_3.docx") NIL "KFU-INFO_SEPT_10_3.docx" "base64" 106582 NIL ("attachment" ...) "2" NIL) "mixed" ("boundary" "_004_8CB8350290F97643937B9BF6821EAB5E0287BBF55489IZEXCH01osl_") NIL ("nb-NO") NIL)) nnimap-request-article(7163 "dod" "privat" #<buffer *Article nnimap+privat:dod*>) gnus-request-article(7163 "nnimap+privat:dod" #<buffer *Article nnimap+privat:dod*>) gnus-request-article-this-buffer(7163 "nnimap+privat:dod") gnus-article-prepare(7163 nil) gnus-summary-display-article(7163) gnus-summary-next-page(nil) call-interactively(gnus-summary-next-page) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-28 16:05 ` Steinar Bang @ 2010-09-28 16:14 ` Steinar Bang 2010-09-28 16:16 ` Julien Danjou 1 sibling, 0 replies; 34+ messages in thread From: Steinar Bang @ 2010-09-28 16:14 UTC (permalink / raw) To: ding >>>>> Steinar Bang <sb@dod.no>: > I now get the message > nnimap-convert-partial-article: Wrong type argument: listp, NIL > in the minibuffer, when trying to download a linkedin notification > with > (setq nnimap-fetch-partial-articles "text/") > set. A couple of notes: 1. I'm using agent on this nnimap server 2. The IMAP server is dovecot 1.2.13 3. The message in question is a multipart/alternative with one text/plain part and one text/html part Here are the MIME headers of the article: Content-type: multipart/alternative; boundary="----=_Part_58720007_1649977348.1285684857645" ------=_Part_58720007_1649977348.1285684857645 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable ------=_Part_58720007_1649977348.1285684857645 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 1 sibling, 1 reply; 34+ messages in thread From: Julien Danjou @ 2010-09-28 16:16 UTC (permalink / raw) To: ding [-- Attachment #1: Type: text/plain, Size: 2109 bytes --] On Tue, Sep 28 2010, Steinar Bang wrote: Same here, with a mail on this list nnimap-insert-partial-structure((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 138 5 NIL "1" NIL NIL) ("text" "x-patch" ("charset" "us-ascii") NIL NIL "7bit" 507 11 NIL "2" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) (("2" "--- GNUS-NEWS 2010-04-22 01:29:56.000000000 +0800\r\n+++ GNUS-NEWS.new 2010-09-28 12:48:25.000000000 +0800\r\n@@ -50,7 +50,7 @@\r\n The primary change this brings is support for DIGEST-MD5 and NTLM, when\r\n the server supports it.\r\n \r\n-** Gnus includes a password cache mechanism in password.el.\r\n+** Gnus includes a password cache mechanism in password-cache.el.\r\n \r\n It is enabled by default (see `password-cache'), with a short timeout of\r\n 16 seconds (see `password-cache-expiry'). If PGG is used as the PGP\r\n") ("1" "In GNUS-NEWS, it mentions password.el, but in source its name was\r\nchanged to password-cache.el.\r\n\r\nAttached is diff file to fix this.\r\n\r\n"))) nnimap-convert-partial-article((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 138 5 NIL "1" NIL NIL) ("text" "x-patch" ("charset" "us-ascii") NIL NIL "7bit" 507 11 NIL "2" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-get-partial-article(2371 ("1" "2") (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 138 5 NIL "1" NIL NIL) ("text" "x-patch" ("charset" "us-ascii") NIL NIL "7bit" 507 11 NIL "2" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-request-article(2371 "lists.ding" "Naquadah" #<buffer *Article nnimap+Naquadah:lists.ding*>) gnus-request-article(2371 "nnimap+Naquadah:lists.ding" #<buffer *Article nnimap+Naquadah:lists.ding*>) gnus-request-article-this-buffer(2371 "nnimap+Naquadah:lists.ding") gnus-article-prepare(2371 nil) gnus-summary-display-article(2371 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up nil nil) (maybe several backtraces will help :-)) With "text/" set. -- Julien Danjou // ᐰ <julien@danjou.info> http://julien.danjou.info [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 18:43 ` Julien Danjou 0 siblings, 2 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 14:56 UTC (permalink / raw) To: ding Julien Danjou <julien@danjou.info> writes: > Same here, with a mail on this list With that backtrace, I was able to reproduce the bug, and it's possibly fixed now. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 18:43 ` Julien Danjou 1 sibling, 1 reply; 34+ messages in thread From: Steinar Bang @ 2010-09-29 17:58 UTC (permalink / raw) To: ding >>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>: > Julien Danjou <julien@danjou.info> writes: >> Same here, with a mail on this list > With that backtrace, I was able to reproduce the bug, and it's possibly > fixed now. It doesn't crash for me anymore on the LinkedIn article, but what shows up in the *Article* buffer is this: 7169 LinkedIn Network Updates, 9/28/2010 LinkedIn Updates <updates@linkedin.com> Tue, 28 Sep 2010 07:40:57 -0700 (PDT) <213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod> 16003 69 Id: Ip: Queue: pp This is also the content of the file ~/News/agent/nnimap/privat/dod/7169 If I press `A C' the article appears (the text/plain part I think... maybe... I'm trying to suppress HTML as much as possible, but with the new HTML support I'm not really sure what's happening). But the agent article isn't updated. It still contains the text above. Probably not much good when offlined...? :-) Do you need the article to test with? ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 17:58 ` Steinar Bang @ 2010-09-29 19:04 ` Lars Magne Ingebrigtsen 2010-09-29 19:16 ` Steinar Bang 0 siblings, 1 reply; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 19:04 UTC (permalink / raw) To: ding Steinar Bang <sb@dod.no> writes: > It doesn't crash for me anymore on the LinkedIn article, but what shows > up in the *Article* buffer is this: > > 7169 LinkedIn Network Updates, 9/28/2010 LinkedIn Updates <updates@linkedin.com> Tue, 28 Sep 2010 07:40:57 -0700 (PDT) <213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod> 16003 69 Id: Ip: Queue: > pp That's bizarre. That's a NOV line, and not an article. I think this has to be a separate issue of something invalid ending up in your Agent files, and not related to the partial fetch... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 19:04 ` Lars Magne Ingebrigtsen @ 2010-09-29 19:16 ` Steinar Bang 2010-09-29 19:30 ` Lars Magne Ingebrigtsen 0 siblings, 1 reply; 34+ messages in thread From: Steinar Bang @ 2010-09-29 19:16 UTC (permalink / raw) To: ding >>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>: > Steinar Bang <sb@dod.no> writes: >> It doesn't crash for me anymore on the LinkedIn article, but what shows >> up in the *Article* buffer is this: >> >> 7169 LinkedIn Network Updates, 9/28/2010 LinkedIn Updates <updates@linkedin.com> Tue, 28 Sep 2010 07:40:57 -0700 (PDT) <213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod> 16003 69 Id: Ip: Queue: >> pp > That's bizarre. That's a NOV line, and not an article. > I think this has to be a separate issue of something invalid ending up > in your Agent files, and not related to the partial fetch... Indeed. The last 4 articles in the agent consisted of NOV lines of different length. Two with approximate the contents of the .overview files, one with a few NOV lines, and this last one with just the NOV line for that particular article. I've seen it before. I cleaned out the b0rken agent files, and visit the article again, and this time it opened. However, I forwarded the article I thought had the problem to you, with a BCC to myself, and the BCC'd articles gets the following stack trace when trying to open: Debugger entered--Lisp error: (wrong-type-argument listp NIL) nnimap-insert-partial-structure((("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) (("1" "Her er problemartikkelen jeg nevnte p=E5 gnus-gruppa:\n\n"))) nnimap-convert-partial-article((("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-get-partial-article(7192 ("1") (("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-request-article(7192 "dod" "privat" #<buffer *Article nnimap+privat:dod*>) gnus-request-article(7192 "nnimap+privat:dod" #<buffer *Article nnimap+privat:dod*>) gnus-request-article-this-buffer(7192 "nnimap+privat:dod") gnus-article-prepare(7192 nil) gnus-summary-display-article(7192 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 21:21 ` Andreas Schwab 0 siblings, 2 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 19:30 UTC (permalink / raw) To: ding Steinar Bang <sb@dod.no> writes: > Debugger entered--Lisp error: (wrong-type-argument listp NIL) > nnimap-insert-partial-structure((... "LinkedIn Network Updates, > 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.5 Your backtrace is full of dots, so I can't reproduce this. :-) (setq print-level nil) (setq print-length nil) you should get a complete backtrace. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 21:21 ` Andreas Schwab 1 sibling, 1 reply; 34+ messages in thread From: Steinar Bang @ 2010-09-29 19:55 UTC (permalink / raw) To: ding >>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>: > Steinar Bang <sb@dod.no> writes: >> Debugger entered--Lisp error: (wrong-type-argument listp NIL) >> nnimap-insert-partial-structure((... "LinkedIn Network Updates, >> 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.5 > Your backtrace is full of dots, so I can't reproduce this. :-) > (setq print-level nil) > (setq print-length nil) > you should get a complete backtrace. I've done this in *scratch* before entering the group and trying to visit the article, but I still get the dots. (setq print-level nil) nil (setq print-length nil) nil (setq debug-on-error t) t Do I need to load some .el files first, instead of the .elc to get a meaningful trace? Here's the stack trace dots and all: Debugger entered--Lisp error: (wrong-type-argument listp NIL) nnimap-insert-partial-structure((("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) (("1" "Her er problemartikkelen jeg nevnte p=E5 gnus-gruppa:\n\n"))) nnimap-convert-partial-article((("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-get-partial-article(7192 ("1") (("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-request-article(7192 "dod" "privat" #<buffer *Article nnimap+privat:dod*>) gnus-request-article(7192 "nnimap+privat:dod" #<buffer *Article nnimap+privat:dod*>) gnus-request-article-this-buffer(7192 "nnimap+privat:dod") gnus-article-prepare(7192 nil) gnus-summary-display-article(7192) gnus-summary-next-page(nil) call-interactively(gnus-summary-next-page) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 19:55 ` Steinar Bang @ 2010-09-29 20:12 ` Lars Magne Ingebrigtsen 2010-09-29 20:24 ` Steinar Bang 0 siblings, 1 reply; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 20:12 UTC (permalink / raw) To: ding Steinar Bang <sb@dod.no> writes: > (setq print-level nil) > nil > > (setq print-length nil) > nil Perhaps there are some other variables that override this? I've always been confused by the Emacs print-length variables. Anyway, I checked in a fix for this area some minutes ago. Can you still reproduce the bug with the current git? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 0 siblings, 2 replies; 34+ messages in thread From: Steinar Bang @ 2010-09-29 20:24 UTC (permalink / raw) To: ding >>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>: > Anyway, I checked in a fix for this area some minutes ago. Can you > still reproduce the bug with the current git? Looks like it: Debugger entered--Lisp error: (wrong-type-argument listp NIL) nnimap-insert-partial-structure((("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) (("1" "Her er problemartikkelen jeg nevnte p=E5 gnus-gruppa:\n\n"))) nnimap-convert-partial-article((("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-get-partial-article(7192 ("1") (("text" "plain" ("charset" "iso-8859-1") NIL NIL "quoted-printable" 57 2 NIL "1" NIL NIL) ("message" "rfc822" NIL NIL NIL "7bit" 16383 ("Tue, 28 Sep 2010 07:40:57 -0700 (PDT)" "LinkedIn Network Updates, 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.58720010.1285684857650.JavaMail.app@ech3-cdn43.prod>") (... ... "alternative" ... NIL NIL NIL) "2" NIL ("inline" NIL) NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL)) nnimap-request-article(7192 "dod" "privat" #<buffer *Article nnimap+privat:dod*>) gnus-request-article(7192 "nnimap+privat:dod" #<buffer *Article nnimap+privat:dod*>) gnus-request-article-this-buffer(7192 "nnimap+privat:dod") gnus-article-prepare(7192 nil) gnus-summary-display-article(7192 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 20:24 ` Steinar Bang @ 2010-09-29 22:10 ` Lars Magne Ingebrigtsen 2010-09-29 22:11 ` Lars Magne Ingebrigtsen 1 sibling, 0 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 22:10 UTC (permalink / raw) To: ding Steinar Bang <sb@dod.no> writes: > Debugger entered--Lisp error: (wrong-type-argument listp NIL) > nnimap-insert-partial-structure( Could you edebug through `nnimap-insert-partial-structure' and see which variable it's saying is nil? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 1 sibling, 1 reply; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 22:11 UTC (permalink / raw) To: ding Steinar Bang <sb@dod.no> writes: > Debugger entered--Lisp error: (wrong-type-argument listp NIL) Oh! Never mind. "NIL"? In capital letters? Where did that come from? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 22:11 ` Lars Magne Ingebrigtsen @ 2010-09-29 22:15 ` Lars Magne Ingebrigtsen 2010-09-30 18:42 ` Steinar Bang 0 siblings, 1 reply; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 22:15 UTC (permalink / raw) To: ding Lars Magne Ingebrigtsen <larsi@gnus.org> writes: > Oh! Never mind. "NIL"? In capital letters? Where did that come from? Oh, I see. They're as "NIL" literals from the IMAP server. Fixed and pushed. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 22:15 ` Lars Magne Ingebrigtsen @ 2010-09-30 18:42 ` Steinar Bang 0 siblings, 0 replies; 34+ messages in thread From: Steinar Bang @ 2010-09-30 18:42 UTC (permalink / raw) To: ding >>>>> Lars Magne Ingebrigtsen <larsi@gnus.org>: > Lars Magne Ingebrigtsen <larsi@gnus.org> writes: >> Oh! Never mind. "NIL"? In capital letters? Where did that come from? > Oh, I see. They're as "NIL" literals from the IMAP server. > Fixed and pushed. Verified. No more NIL when visiting multipart messages consisting of a text/plain followed by a forwarded multipart message. But nnimap+agent has stopped caching when reading. I will start a new thread for that issue. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 19:30 ` Lars Magne Ingebrigtsen 2010-09-29 19:55 ` Steinar Bang @ 2010-09-29 21:21 ` Andreas Schwab 2010-09-29 21:23 ` Lars Magne Ingebrigtsen 1 sibling, 1 reply; 34+ messages in thread From: Andreas Schwab @ 2010-09-29 21:21 UTC (permalink / raw) To: ding Lars Magne Ingebrigtsen <larsi@gnus.org> writes: > Steinar Bang <sb@dod.no> writes: > >> Debugger entered--Lisp error: (wrong-type-argument listp NIL) >> nnimap-insert-partial-structure((... "LinkedIn Network Updates, >> 9/28/2010" ... ... ... ... NIL NIL NIL "<213149815.5 > > Your backtrace is full of dots, so I can't reproduce this. :-) > > (setq print-level nil) > (setq print-length nil) > > you should get a complete backtrace. (backtrace) overrides it. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 21:21 ` Andreas Schwab @ 2010-09-29 21:23 ` Lars Magne Ingebrigtsen 2010-09-29 22:45 ` Andreas Schwab 0 siblings, 1 reply; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 21:23 UTC (permalink / raw) To: ding Andreas Schwab <schwab@linux-m68k.org> writes: > (backtrace) overrides it. Is there no way to get a complete backtrace, then? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 21:23 ` Lars Magne Ingebrigtsen @ 2010-09-29 22:45 ` Andreas Schwab 0 siblings, 0 replies; 34+ messages in thread From: Andreas Schwab @ 2010-09-29 22:45 UTC (permalink / raw) To: ding Lars Magne Ingebrigtsen <larsi@gnus.org> writes: > Andreas Schwab <schwab@linux-m68k.org> writes: > >> (backtrace) overrides it. > > Is there no way to get a complete backtrace, then? Modify the sources. :-) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 14:56 ` Lars Magne Ingebrigtsen 2010-09-29 17:58 ` Steinar Bang @ 2010-09-29 18:43 ` Julien Danjou 2010-09-29 18:59 ` Lars Magne Ingebrigtsen 1 sibling, 1 reply; 34+ messages in thread From: Julien Danjou @ 2010-09-29 18:43 UTC (permalink / raw) To: ding [-- Attachment #1: Type: text/plain, Size: 3571 bytes --] On Wed, Sep 29 2010, Lars Magne Ingebrigtsen wrote: > Julien Danjou <julien@danjou.info> writes: > >> Same here, with a mail on this list > > With that backtrace, I was able to reproduce the bug, and it's possibly > fixed now. Now, another one opening ding cvs commit group: Debugger entered--Lisp error: (wrong-type-argument char-or-string-p ("boundary" "=-=-=")) nnimap-insert-partial-structure((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 817 17 NIL "1.1" NIL NIL) ("text" "x-diff" ("charset" "us-ascii") NIL "Make completing-read function configurable" "quoted-printable" 5031 123 NIL "1.2" NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 61 3 NIL "1.3" NIL NIL) ("text" "x-diff" ("charset" "us-ascii") NIL "Introduce gnus-completing-read" "quoted-printable" 55742 1405 NIL "1.4" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) (("1.4" "From=2070b9d629b53480965639385faa352687a7ef61ca Mon Sep 17 00:00:00 2001\r\nFrom: Julien Danjou <julien@danjou.info>\r\nDate: Tue, 28 Sep 2010 18:06:46 +0200\r\nSubject: [PATCH] Introduce gnus-completing-read\r\n\r\nSigned-off-by: Julien Danjou <julien@danjou.info>y care about.\r\n\r\n"))) nnimap-convert-partial-article(((("text" "plain" ... NIL NIL "7bit" 817 17 NIL "1.1" NIL NIL) ("text" "x-diff" ... NIL "Make completing-read function configurable" "quoted-printable" 5031 123 NIL "1.2" NIL NIL) ("text" "plain" ... NIL NIL "7bit" 61 3 NIL "1.3" NIL NIL) ("text" "x-diff" ... NIL "Introduce gnus-completing-read" "quoted-printable" 55742 1405 NIL "1.4" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) ("application" "pgp-signature" NIL NIL NIL "7bit" 203 NIL NIL "2" NIL) "signed" ("boundary" "==-=-=" "micalg" "pgp-sha1" "protocol" "application/pgp-signature") NIL NIL NIL)) nnimap-get-partial-article(2426 ("1.1" "1.2" "1.3" "1.4") ((("text" "plain" ... NIL NIL "7bit" 817 17 NIL "1.1" NIL NIL) ("text" "x-diff" ... NIL "Make completing-read function configurable" "quoted-printable" 5031 123 NIL "1.2" NIL NIL) ("text" "plain" ... NIL NIL "7bit" 61 3 NIL "1.3" NIL NIL) ("text" "x-diff" ... NIL "Introduce gnus-completing-read" "quoted-printable" 55742 1405 NIL "1.4" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) ("application" "pgp-signature" NIL NIL NIL "7bit" 203 NIL NIL "2" NIL) "signed" ("boundary" "==-=-=" "micalg" "pgp-sha1" "protocol" "application/pgp-signature") NIL NIL NIL)) nnimap-request-article(2426 "Naquadah.lists.ding" "Mail" nil) gnus-request-article(2426 "Naquadah.lists.ding") gnus-score-body((((touched nil) ("to" ...) ("cc" ...) ("from" ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) ("subject" ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) ("references" ... ...) ("body" ...) (mark -5000))) "body" 734044 734037 nil) gnus-score-headers(("/home/jd/News/Naquadah.lists.ding.SCORE" "/home/jd/.gnus.score") nil) gnus-possibly-score-headers() gnus-summary-read-group-1("Naquadah.lists.ding" nil t nil nil nil) gnus-summary-read-group("Naquadah.lists.ding" nil t nil nil nil nil) gnus-group-read-group(nil t) gnus-group-select-group(nil) call-interactively(gnus-group-select-group nil nil) I've cut the last function because it has the full mail content which is very long. I've: (setq nnimap-fetch-partial-articles "text/") As usual. -- Julien Danjou // ᐰ <julien@danjou.info> http://julien.danjou.info [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-29 18:43 ` Julien Danjou @ 2010-09-29 18:59 ` Lars Magne Ingebrigtsen 0 siblings, 0 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-29 18:59 UTC (permalink / raw) To: ding Julien Danjou <julien@danjou.info> writes: > Now, another one opening ding cvs commit group: > > Debugger entered--Lisp error: (wrong-type-argument char-or-string-p ("boundary" "=-=-=")) If I eval this from your backtrace: (nnimap-insert-partial-structure '(("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 817 17 NIL "1.1" NIL NIL) ("text" "x-diff" ("charset" "us-ascii") NIL "Make completing-read function configurable" "quoted-printable" 5031 123 NIL "1.2" NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 61 3 NIL "1.3" NIL NIL) ("text" "x-diff" ("charset" "us-ascii") NIL "Introduce gnus-completing-read" "quoted-printable" 55742 1405 NIL "1.4" NIL NIL) "mixed" ("boundary" "=-=-=") NIL NIL NIL) '(("1.4" "From=2070b9d629b53480965639385faa352687a7ef61ca Mon Sep 17 00:00:00 2001 \nFrom: Julien Danjou <julien@danjou.info> \nDate: Tue, 28 Sep 2010 18:06:46 +0200 \nSubject: [PATCH] Introduce gnus-completing-read \n \nSigned-off-by: Julien Danjou <julien@danjou.info>y care about. \n \n"))) it doesn't fail... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-25 16:12 Partial IMAP article fetch Lars Magne Ingebrigtsen 2010-09-25 17:11 ` Lars Magne Ingebrigtsen 2010-09-26 20:41 ` Dan Christensen @ 2010-09-26 20:45 ` Dan Christensen 2010-09-26 20:55 ` Lars Magne Ingebrigtsen ` (2 more replies) 2 siblings, 3 replies; 34+ messages in thread From: Dan Christensen @ 2010-09-26 20:45 UTC (permalink / raw) To: ding Lars Magne Ingebrigtsen <larsi@gnus.org> 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. [renamed to gnus-fetch-partial-articles] Should there be a server variable for this too? E.g. I might want this for a slow remote server, but not for a local server. Dan ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 15:19 ` Richard Riley 2 siblings, 0 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-26 20:55 UTC (permalink / raw) To: ding Dan Christensen <jdc@uwo.ca> writes: > [renamed to gnus-fetch-partial-articles] > > Should there be a server variable for this too? E.g. I might want this > for a slow remote server, but not for a local server. Hm. Well, you can set it via group parameters, but that's not as convenient... Adding a server parameter is kinda icky, though, because Gnus is now just binding `gnus-fetch-partial-articles' to nil to ensure that the backend fetches the complete article in the `A C' command. There would have to be a more complex interface for fetching complete articles if we redo this as a server variable... I think... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 2 siblings, 1 reply; 34+ messages in thread From: Steinar Bang @ 2010-09-27 7:43 UTC (permalink / raw) To: ding >>>>> Dan Christensen <jdc@uwo.ca>: > Lars Magne Ingebrigtsen <larsi@gnus.org> 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. > [renamed to gnus-fetch-partial-articles] Ah, that may be why it didn't work for me...? :-) > Should there be a server variable for this too? E.g. I might want this > for a slow remote server, but not for a local server. Good point. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-27 7:43 ` Steinar Bang @ 2010-09-27 18:35 ` Lars Magne Ingebrigtsen 0 siblings, 0 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-27 18:35 UTC (permalink / raw) To: ding Steinar Bang <sb@dod.no> writes: >> Should there be a server variable for this too? E.g. I might want this >> for a slow remote server, but not for a local server. > > Good point. Now implemented. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 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 15:19 ` Richard Riley 2010-09-27 18:35 ` Lars Magne Ingebrigtsen 2 siblings, 1 reply; 34+ messages in thread From: Richard Riley @ 2010-09-27 15:19 UTC (permalink / raw) To: Dan Christensen; +Cc: ding Dan Christensen <jdc@uwo.ca> writes: > Lars Magne Ingebrigtsen <larsi@gnus.org> 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. > > [renamed to gnus-fetch-partial-articles] > > Should there be a server variable for this too? E.g. I might want > this > for a slow remote server, but not for a local server. > > Dan > Setting that to 't and then trying to read the post from Dave Goldberg about start tls, I got "nnimap-convert-partial-article: Wrong type argument: char-or-string-p, nil" So back to nil and the article read fine. (latest git pull as of now). ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: Partial IMAP article fetch 2010-09-27 15:19 ` Richard Riley @ 2010-09-27 18:35 ` Lars Magne Ingebrigtsen 0 siblings, 0 replies; 34+ messages in thread From: Lars Magne Ingebrigtsen @ 2010-09-27 18:35 UTC (permalink / raw) To: ding Richard Riley <rileyrg@googlemail.com> writes: > Setting that to 't and then trying to read the post from Dave Goldberg > about start tls, I got > > "nnimap-convert-partial-article: Wrong type argument: char-or-string-p, > nil" (setq debug-on-error t) and post the backtrace. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen ^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2010-09-30 18:42 UTC | newest] Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-09-25 16:12 Partial IMAP article fetch 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 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
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).