Re: [PATCH 2/2] notmuch.el:notmuch-search-process-filter: Rewritten. Cope with incomp...
authorThomas Schwinge <thomas@schwinge.name>
Tue, 15 Nov 2011 11:34:25 +0000 (12:34 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:11 +0000 (09:40 -0800)
1a/dabf47f0fde1544b45b20b36b69219dbc7bead [new file with mode: 0644]

diff --git a/1a/dabf47f0fde1544b45b20b36b69219dbc7bead b/1a/dabf47f0fde1544b45b20b36b69219dbc7bead
new file mode 100644 (file)
index 0000000..e7cfb5a
--- /dev/null
@@ -0,0 +1,442 @@
+Return-Path: <thomas@schwinge.name>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 70039431FB6\r
+       for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 03:35:17 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id dM8V9nxYTxUf for <notmuch@notmuchmail.org>;\r
+       Tue, 15 Nov 2011 03:35:13 -0800 (PST)\r
+Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de\r
+       [80.67.31.42])\r
+       by olra.theworths.org (Postfix) with ESMTP id 60620429E26\r
+       for <notmuch@notmuchmail.org>; Tue, 15 Nov 2011 03:35:12 -0800 (PST)\r
+Received: from [87.180.30.217] (helo=stokes.schwinge.homeip.net)\r
+       by smtprelay04.ispgateway.de with esmtpa (Exim 4.68)\r
+       (envelope-from <thomas@schwinge.name>) id 1RQHID-0000ZI-9K\r
+       for notmuch@notmuchmail.org; Tue, 15 Nov 2011 12:35:09 +0100\r
+Received: (qmail 807 invoked from network); 15 Nov 2011 11:34:46 -0000\r
+Received: from kepler.schwinge.homeip.net (192.168.111.7)\r
+       by stokes.schwinge.homeip.net with QMQP; 15 Nov 2011 11:34:46 -0000\r
+Received: (nullmailer pid 24684 invoked by uid 1000);\r
+       Tue, 15 Nov 2011 11:34:46 -0000\r
+From: Thomas Schwinge <thomas@schwinge.name>\r
+To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/2] notmuch.el:notmuch-search-process-filter: Rewritten.\r
+       Cope with incomplete lines.\r
+In-Reply-To: <87r5ae8lem.fsf@yoom.home.cworth.org>\r
+References: <87zkqeiffj.fsf@kepler.schwinge.homeip.net>\r
+       <1296690999-16542-3-git-send-email-thomas@schwinge.name>\r
+       <87r5ae8lem.fsf@yoom.home.cworth.org>\r
+User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1\r
+       (i486-pc-linux-gnu)\r
+Date: Tue, 15 Nov 2011 12:34:25 +0100\r
+Message-ID: <87pqgtmxfi.fsf@kepler.schwinge.homeip.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-Df-Sender: dGhvbWFzQHNjaHdpbmdlLm5hbWU=\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 15 Nov 2011 11:35:17 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi!\r
+\r
+On Thu, 10 Mar 2011 18:02:09 -0800, Carl Worth <cworth@cworth.org> wrote:\r
+> On Thu,  3 Feb 2011 00:56:39 +0100, Thomas Schwinge <thomas@schwinge.name=\r
+> wrote:\r
+> > This issue has been lying in ambush as of 2009-11-24's commit\r
+> > 93af7b574598637c2766dd1f8ef343962c9a8efb.\r
+>=20\r
+> Thanks very much for tracking down this bug, Thomas. What a nasty bug to\r
+> have in notmuch!\r
+>=20\r
+> Your fix seems to drop the last thread from the search results\r
+> view. I've now committed a slightly modified fix that avoids that\r
+> problem. I also made the test case provide slightly cleaner results.\r
+>=20\r
+> Let me know if you see any problems.\r
+\r
+That is much better, thanks!\r
+\r
+But we're not there yet...  %-| That is, today I hit another issue that\r
+appears to hide in the same elisp code.  See ``Error: Unexpected output\r
+From=20notmuch search''.  (And, thanks to eBay for long subject lines...)\r
+\r
+Unfortunately I'm totally out of time at the moment (final month of\r
+writing and wrapping up my diploma thesis), so I'm just dumping my state\r
+here, for now.\r
+\r
+Screen scrape from Emacs UI:\r
+\r
+     Today 09:47 [29/31] Francisco Cribari, Falcon1, Ian Ozsvald, Philip As=\r
+ton, Clark Evans, Ed S, Koen, quarara, Malte Finsterwalder, Sukhikh Nick, C=\r
+hristian Prim, Eliah Kagan, nebula, Rik Theys, Seth Forshee, Nick Nguyen, a=\r
+a-hcl, Launchpad Bug Tracker  [Bug 606238] Re: synaptic touchpad not recogn=\r
+ized on dell latitude e6510 and others (direct inbox incoming unread)\r
+     Today 02:10 [1/2]   David Bremner, Thomas Schwinge    [PATCH] dump: Do=\r
+n't sort. (direct inbox incoming list notmuch)\r
+     Today 01:45 [81/110] bugzilla@redhat.com  [Bug 590880] Trackpad on Del=\r
+l Inspiron E6410 not recognized (direct inbox incoming later unread waiting)\r
+     Today 00:19 [2/10]  Bryce Harrington, Extender, juliobispo, Paul, kara=\r
+luh, Eliah Kagan  [Bug 507062] Re: synaptic assert failure: synaptic: ../..=\r
+/src/xcb_io.c:385: _XAllocID: Assertion `ret !=3D inval_id' failed. (direct=\r
+ inbox incoming unread)\r
+     Yest. 23:01 [1/5]   Maren J=C3=B6rlitschka, Julia Schmautz, Monika Hum=\r
+=C3=A9rez  Huhu (direct inbox incoming musical)\r
+     Yest. 15:18 [1/1]   Birgit auf Reisen    [Neuer Artikel] Willkommen zu=\r
+r=C3=BCck :) (direct inbox incoming)\r
+     Yest. 13:29 [1/1]   Matthias Bauch       Ein Fest... (direct inbox inc=\r
+oming)\r
+     Yest. 07:09 [1/3]   Quantumsolutions UG, Thomas Schwinge  Rechnung f=\r
+=C3=BCr Artikel Mustang 4GB DDR2 800MHz Ram Speicher Pc6400 Pc Dimm 800( Ar=\r
+tikelnummer: 350365327282 )... (attachment debit direct ebay inbox incoming=\r
+ replied signed)\r
+      Sun. 22:56 [2/2]   Jan Harnisch, Denis H=C3=BCckel     Proben... (dir=\r
+ect inbox incoming nachtspaziergang)\r
+      Sun. 22:16 [1/1]   Maksym Planeta       Fixing tmpfs and defpager (at=\r
+tachment direct hurd inbox incoming list)\r
+      Sun. 18:41 [1/1]   eBay                 Ihre Rechnung f=C3=BCr eBay-K=\r
+=C3=A4ufe: Mot=C3=B6rhead : The Best of -- 2 CD`s -- (170720368449#),Black =\r
+Sabbath : Sabbath Bloody Sabbath (170724295045#),Mot=C3=B6rhead : Snake Bit=\r
+e Love (170724295430#),Goethes Erben : Die Brut (170724254795#),Ozzy Osbour=\r
+ne : No Rest for the Wicked (170724295884#),METAL BALLADS : Vol . 2 (170724=\r
+323789#),Brother Cane : Same (170720367821#),In Extremo : Mein rasend Herz =\r
+(170720368143#),Whitesnake : 1987 (170720427089#),GIANT : Time to Burn (170=\r
+720394773#),Kiss : Revenge (170720395093#),Def Leppard : Adrenalize (170720=\r
+367895#),Goethes Erben : Der Traum an die Erinnerung (170724254679#),Rollin=\r
+s Band : Come in and Burn (170720395418#),Wolfhound / Anne Haigis : Truth -=\r
+- Jeton -- (170724297186#),Ozzy Osbourne : No more Tears (170720395234#),Ni=\r
+ghtwish : Wishmaster (170720426915#),Mot=C3=B6rhead : No sleep`til Hammersm=\r
+ith (170720368358#),Def Leppard : High`n`Dry (170720367981#),The Moody Blue=\r
+s : Days of Future Past (170724296562#),JACKYL : Same (170720368246#),Judas=\r
+ Priest : Stained Class (170720394999#),God Forbid : Gone Forever (17072042=\r
+6298#),DIO : Dream Evil (170724254266#),Don Dokken : Up from the Ashes (170=\r
+720368061#) (direct ebay inbox incoming unread)\r
+      Sun. 18:35 [1/1]   eBay                 Herzlichen Gl=C3=BCckwunsch, =\r
+der Artikel METAL BALLADS : Vol . 2 geh=C3=B6rt Ihnen! (direct ebay inbox i=\r
+ncoming unread)\r
+      Sun. 18:02 [1/1]   eBay                 Ihre Rechnung f=C3=BCr eBay-K=\r
+=C3=A4ufe: Mot=C3=B6rhead : The Best of -- 2 CD`s -- (170720368449#),Ozzy O=\r
+sbourne : No more Tears (170720395234#),Wolfhound / Anne Haigis : Truth -- =\r
+Jeton -- (170724297186#),Nightwish : Wishmaster (170720426915#),Black Sabba=\r
+th : Sabbath Bloody Sabbath (170724295045#),Mot=C3=B6rhead : Snake Bite Lov=\r
+e (170724295430#),Mot=C3=B6rhead : No sleep`til Hammersmith (170720368358#)=\r
+,Goethes Erben : Die Brut (170724254795#),Ozzy Osbourne : No Rest for the W=\r
+icked (170724295884#),Brother Cane : Same (170720367821#),Def Leppard : Hig=\r
+h`n`Dry (170720367981#),In Extremo : Mein rasend Herz (170720368143#),White=\r
+snake : 1987 (170720427089#),The Moody Blues : Days of Future Past (1707242=\r
+96562#),GIANT : Time to Burn (170720394773#),Kiss : Revenge (170720395093#)=\r
+,JACKYL : Same (170720368246#),Def Leppard : Adrenalize (170720367895#)\r
+    Error: Unexpected output from notmuch search:\r
+    ,Judas Priest : Stained Class (170720394999#),Goethes Erben : Der Traum=\r
+ an die Erinnerung (170724254679#),Rollins Band : Come in and Burn (1707203=\r
+95418#),God Forbid : Gone Forever (170720426298#),DIO : Dream Evil (1707242=\r
+54266#),Don Dokken : Up from the Ashes (170720368061#) (direct ebay inbox i=\r
+ncoming unread)\r
+=20=20=20=20\r
+      Sun. 17:59 [1/1]   eBay                 Herzlichen Gl=C3=BCckwunsch, =\r
+der Artikel Wolfhound / Anne Haigis : Truth -- Jeton -- geh=C3=B6rt Ihnen! =\r
+(direct ebay inbox incoming unread)\r
+      Sun. 17:59 [1/1]   eBay                 Herzlichen Gl=C3=BCckwunsch, =\r
+der Artikel The Moody Blues : Days of Future Past geh=C3=B6rt Ihnen! (direc=\r
+t ebay inbox incoming unread)\r
+    [...]\r
+\r
+Part of strace of notmuch:\r
+\r
+    [...]\r
+    write(1, "thread:0000000000002889  Today 09:47 [29/31] Francisco Cribar=\r
+i, Falcon1, Ian Ozsvald, Philip Aston, Clark Evans, Ed S, Koen, quarara, Ma=\r
+lte Finsterwalder, Sukhikh Nick, Christian Prim, Eliah Kagan, nebula, Rik T=\r
+heys, Seth Forshee, Nick Nguyen| aa-hcl, Launchpad Bug Tracker; [Bug 606238=\r
+] Re: synaptic touchpad not recognized on dell latitude e6510 and others (d=\r
+irect inbox incoming unread)\nthread:000000000002d069  Today 02:10 [1/2] Da=\r
+vid Bremner| Thomas Schwinge; [PATCH] dump: Don't sort. (direct inbox incom=\r
+ing list notmuch)\nthread:0000000000001980  Today 01:45 [81/110] bugzilla@r=\r
+edhat.com; [Bug 590880] Trackpad on Dell Inspiron E6410 not recognized (dir=\r
+ect inbox incoming later unread waiting)\nthread:0000000000008628  Today 00=\r
+:19 [2/10] Bryce Harrington| Extender, juliobispo, Paul, karaluh, Eliah Kag=\r
+an; [Bug 507062] Re: synaptic assert failure: synaptic: ../../src/xcb_io.c:=\r
+385: _XAllocID: Assertion `ret !=3D inval_id' failed. (direct inbox incomin=\r
+g unread)\nthread:0000000000034f79  Yest. 23:01 [1/5] Maren J\303\266rlitsc=\r
+hka| Julia Schmautz, Monika Hum\303\251rez; Huhu (direct inbox incoming mus=\r
+ical)\nthread:0000000000035c8c  Yest. 15:18 [1/1] Birgit aufReisen; [Neuer =\r
+Artikel] Willkommen zur\303\274ck :) (direct inbox incoming)\nthread:000000=\r
+0000035c66  Yest. 13:29 [1/1] Matthias Bauch; Ein Fest... (direct inbox inc=\r
+oming)\nthread:00000000000309c2  Yest. 07:09 [1/3] Quantumsolutions UG| Tho=\r
+mas Schwinge; Rechnung f\303\274r Artikel Mustang 4GB DDR2 800MHz Ram Speic=\r
+her Pc6400 Pc Dimm 800( Artikelnummer: 350365327282 )... (attachment debit =\r
+direct ebay inbox incoming replied signed)\nthread:0000000000035b63   Sun. =\r
+22:56 [2/2] Jan Harnisch, Denis H\303\274ckel; Proben... (direct inbox inco=\r
+ming nachtspaziergang)\nthread:0000000000035b7a   Sun. 22:16 [1/1] Maksym P=\r
+laneta; Fixing tmpfs and defpager (attachment direct hurd inbox incoming li=\r
+st)\nthread:0000000000035b5b   Sun. 18:41 [1/1] eBay; Ihre Rechnung f\303\2=\r
+74r eBay-K\303\244ufe: Mot\303\266rhead : The Best of -- 2 CD`s -- (1707203=\r
+68449#),Black Sabbath : Sabbath Bloody Sabbath (170724295045#),Mot\303\266r=\r
+head : Snake Bite Love (170724295430#),Goethes Erben : Die Brut (1707242547=\r
+95#),Ozzy Osbourne : No Rest for the Wicked (170724295884#),METAL BALLADS :=\r
+ Vol . 2 (170724323789#),Brother Cane : Same (170720367821#),In Extremo : M=\r
+ein rasend Herz (170720368143#),Whitesnake : 1987 (170720427089#),GIANT : T=\r
+ime to Burn (170720394773#),Kiss : Revenge (170720395093#),Def Leppard : Ad=\r
+renalize (170720367895#),Goethes Erben : Der Traum an die Erinnerung (17072=\r
+4254679#),Rollins Band : Come in and Burn (170720395418#),Wolfhound / Anne =\r
+Haigis : Truth -- Jeton -- (170724297186#),Ozzy Osbourne : No more Tears (1=\r
+70720395234#),Nightwish : Wishmaster (170720426915#),Mot\303\266rhead : No =\r
+sleep`til Hammersmith (170720368358#),Def Leppard : High`n`Dry (17072036798=\r
+1#),The Moody Blues : Days of Future Past (170724296562#),JACKYL : Same (17=\r
+0720368246#),Judas Priest : Stained Class (170720394999#),God Forbid : Gone=\r
+ Forever (170720426298#),DIO : Dream Evil (170724254266#),Don Dokken : Up f=\r
+rom the Ashes (170720368061#) (direct ebay inbox incoming unread)\nthread:0=\r
+000000000035b5a   Sun. 18:35 [1/1] eBay; Herzlichen Gl\303\274ckwunsch, der=\r
+ Artikel METAL BALLADS : Vol . 2 geh\303\266rt Ihnen! (direct ebay inbox in=\r
+coming unread)\nthread:0000000000035b46   Sun. 18:02 [1/1] eBay; Ihre Rechn=\r
+ung f\303\274r eBay-K\303\244ufe: Mot\303\266rhead : The Best of -- 2 CD`s =\r
+-- (170720368449#),Ozzy Osbourne : No more Tears (170720395234#),Wolfhound =\r
+/ Anne Haigis : Truth -- Jeton -- (170724297186#),Nightwish : Wishmaster (1=\r
+70720426915#),Black Sabbath : Sabbath Bloody Sabbath (170724295045#),Mot\30=\r
+3\266rhead : Snake Bite Love (170724295430#),Mot\303\266rhead : No sleep`ti=\r
+l Hammersmith (170720368358#),Goethes Erben : Die Brut (170724254795#),Ozzy=\r
+ Osbourne : No Rest for the Wicked (170724295884#),Brother Cane : Same (170=\r
+720367821#),Def Leppard : High`n`Dry (170720367981#),In Extremo : Mein rase=\r
+nd Herz (170720368143#),Whitesnake : 1987(170720427089#),The Moody Blues : =\r
+Days of Future Past (170724296562#),GIANT : Time to Burn (170720394773#),Ki=\r
+ss : Revenge (170720395093#),JACKYL : Same (170720368246#),Def Leppard : Ad=\r
+renalize (170720367895#)", 4096) =3D 4096\r
+    [...]\r
+    write(1, ",Judas Priest : Stained Class (170720394999#),Goethes Erben :=\r
+ Der Traum an die Erinnerung (170724254679#),Rollins Band : Come in and Bur=\r
+n (170720395418#),God Forbid : Gone Forever (170720426298#),DIO : Dream Evi=\r
+l (170724254266#),Don Dokken : Up from the Ashes (170720368061#) (direct eb=\r
+ay inbox incoming unread)\nthread:0000000000035b41   Sun. 17:59 [1/1] eBay;=\r
+ Herzlichen Gl\303\274ckwunsch, der Artikel Wolfhound / Anne Haigis : Truth=\r
+ -- Jeton -- geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthre=\r
+ad:0000000000035b40   Sun. 17:59 [1/1] eBay; Herzlichen Gl\303\274ckwunsch,=\r
+ der Artikel The Moody Blues : Days of Future Past geh\303\266rt Ihnen! (di=\r
+rect ebay inbox incoming unread)\nthread:0000000000035b3f   Sun. 17:58 [1/1=\r
+] eBay; Herzlichen Gl\303\274ckwunsch, der Artikel Ozzy Osbourne : No Rest =\r
+for the Wicked geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nth=\r
+read:0000000000035b42   Sun. 17:58 [1/1] eBay; Herzlichen Gl\303\274ckwunsc=\r
+h, der Artikel Mot\303\266rhead : Snake Bite Love geh\303\266rt Ihnen! (dir=\r
+ect ebay inbox incoming unread)\nthread:0000000000035b3e   Sun. 17:58 [1/1]=\r
+ eBay; Herzlichen Gl\303\274ckwunsch, der Artikel Black Sabbath : Sabbath B=\r
+loody Sabbath geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthr=\r
+ead:0000000000035b2d   Sun. 17:12 [1/1] eBay; Ihre Rechnung f\303\274r eBay=\r
+-K\303\244ufe: Mot\303\266rhead : The Best of -- 2 CD`s -- (170720368449#),=\r
+Ozzy Osbourne : No more Tears (170720395234#),Nightwish : Wishmaster (17072=\r
+0426915#),Mot\303\266rhead : No sleep`til Hammersmith (170720368358#),Goeth=\r
+es Erben : Die Brut (170724254795#),Brother Cane : Same (170720367821#),Def=\r
+ Leppard : High`n`Dry (170720367981#),In Extremo : Mein rasend Herz (170720=\r
+368143#),Whitesnake : 1987 (170720427089#),Kiss : Revenge (170720395093#),G=\r
+IANT : Time to Burn (170720394773#),JACKYL : Same (170720368246#),Def Leppa=\r
+rd : Adrenalize (170720367895#),Goethes Erben : Der Traum an die Erinnerung=\r
+ (170724254679#),Judas Priest : Stained Class (170720394999#),DIO : Dream E=\r
+vil (170724254266#),Rollins Band : Come in and Burn (170720395418#),God For=\r
+bid : Gone Forever (170720426298#),Don Dokken : Up from the Ashes (17072036=\r
+8061#) (direct ebay inbox incoming unread)\nthread:0000000000035b28   Sun. =\r
+17:10 [1/1] eBay; Herzlichen Gl\303\274ckwunsch, der Artikel Goethes Erben =\r
+: Die Brut geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthread=\r
+:0000000000035b25   Sun. 17:10 [1/1] eBay; Herzlichen Gl\303\274ckwunsch, d=\r
+er Artikel Goethes Erben : Der Traum an die Erinnerung geh\303\266rt Ihnen!=\r
+ (direct ebay inbox incoming unread)\nthread:0000000000035b26   Sun. 17:09 =\r
+[1/1] eBay; Herzlichen Gl\303\274ckwunsch, der Artikel DIO : Dream Evil geh=\r
+\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthread:0000000000035=\r
+b00   Sun. 08:06 [1/1] Dyn; New uses for Dyn products, holiday email delive=\r
+ry, ad platforms and DNS (direct inbox incoming unread)\nthread:00000000000=\r
+34f7e   Sat. 21:49 [9/15] Ludovic Court\303\250s, Samuel Thibault, Guillem =\r
+Jover, Svante Signell| Thomas Schwinge; [PATCH gnumach] Inline version.m4 i=\r
+nto configure.ac (attachment direct hurd inbox list replied signed)\nthread=\r
+:000000000000060c   Sat. 16:31 [2/2] jhansonxi, Cameron Smith; [Bug 226823]=\r
+ Re: Use system proxy settings doesn't take care of proxy exceptions list i=\r
+n Gnome proxy settings (direct inbox)\nthread:000000000003587b   Sat. 09:57=\r
+ [1/1] regioactive.de News; ZEHN: Interview mit Jubil\303\244umsfestival-He=\r
+adliner Bodi Bill. Au\303\237erdem: Annett Louisan, Lenny Kravitz u.v.m. (d=\r
+irect inbox unread)\nthread:0000000000035875   Fri. 23:58 [1/1] HANSEPLATTE=\r
+ SHOP; Der Sackbahnhof im Plakatdesign: Poster von Rocket & Wink (direct in=\r
+box unread)\nthread:000000000000043d   Fri. 22:20 [3/9] razor, Curtis Hovey=\r
+| Costales, Martin Pitt, Teej, Vlad, trevi; [Bug 35223] Re: Laptop TFT moni=\r
+tor - brightness level is not saved (direct inbox later unread)\nthread:000=\r
+00000000019e5   Fri. 22:09 [43/52] sillyxone, Fran\303\247ois Isabelle, Lad=\r
+islav Nesnera, Jim Ramsay, Raghu, cement_head, Mihai Secasiu, Brad Heap, br=\r
+icedebrignaisplage, David Cramer, Ubuntu QA's Bug Bot, Robert, Andr\303\251=\r
+, Sam Dodrill, Stan Schymanski, Clark Evans, Ed S, Koen, Donatas Burba, qua=\r
+rara, Rik Theys| sergiomb, MikeE, Nacho Coloma, Fabi, Duleep, Gaurav Padia;=\r
+ [Bug 7", 4096) =3D 4096\r
+    [...]\r
+\r
+Up to here, notmuch has written to stdout two 4096 bytes slices.  This\r
+looks correct.\r
+\r
+Part of strace on Emacs:\r
+\r
+    [...]\r
+    read(17, "thread:0000000000002889  Today 09:47 [29/31] Francisco Cribar=\r
+i, Falcon1, Ian Ozsvald, Philip Aston, Clark Evans, Ed S, Koen, quarara, Ma=\r
+lte Finsterwalder, Sukhikh Nick, Christian Prim, Eliah Kagan, nebula, Rik T=\r
+heys, Seth Forshee, Nick Nguyen| aa-hcl, Launchpad Bug Tracker; [Bug 606238=\r
+] Re: synaptic touchpad not recognized on dell latitude e6510 and others (d=\r
+irect inbox incoming unread)\nthread:000000000002d069  Today 02:10 [1/2] Da=\r
+vid Bremner| Thomas Schwinge; [PATCH] dump: Don't sort. (direct inbox incom=\r
+ing list notmuch)\nthread:0000000000001980  Today 01:45 [81/110] bugzilla@r=\r
+edhat.com; [Bug 590880] Trackpad on Dell Inspiron E6410 not recognized (dir=\r
+ect inbox incoming later unread waiting)\nthread:0000000000008628  Today 00=\r
+:19 [2/10] Bryce Harrington| Extender, juliobispo, Paul, karaluh, Eliah Kag=\r
+an; [Bug 507062] Re: synaptic assert failure: synaptic: ../../src/xcb_io.c:=\r
+385: _XAllocID: Assertion `ret !=3D inval_id' failed. (direct inbox incomin=\r
+g unread)\nthread:0000000000034f79  Yest. 23:01 [1/5] Maren J\303\266rlitsc=\r
+hka| Julia Schmautz, Monika Hum\303\251rez; Huhu (direct inbox incoming mus=\r
+ical)\nthread:0000000000035c8c  Yest. 15:18 [1/1] Birgit auf Reisen; [Neuer=\r
+ Artikel] Willkommen zur\303\274ck :) (direct inbox incoming)\nthread:00000=\r
+00000035c66  Yest. 13:29 [1/1] Matthias Bauch; Ein Fest... (direct inbox in=\r
+coming)\nthread:00000000000309c2  Yest. 07:09 [1/3] Quantumsolutions UG| Th=\r
+omas Schwinge; Rechnung f\303\274r Artikel Mustang 4GB DDR2 800MHz Ram Spei=\r
+cher Pc6400 Pc Dimm 800( Artikelnummer: 350365327282 )... (attachment debit=\r
+ direct ebay inbox incoming replied signed)\nthread:0000000000035b63   Sun.=\r
+ 22:56 [2/2] Jan Harnisch, Denis H\303\274ckel; Proben... (direct inbox inc=\r
+oming nachtspaziergang)\nthread:0000000000035b7a   Sun. 22:16 [1/1] Maksym =\r
+Planeta; Fixing tmpfs and defpager (attachment direct hurd inbox incoming l=\r
+ist)\nthread:0000000000035b5b   Sun. 18:41 [1/1] eBay; Ihre Rechnung f\303\=\r
+274r eBay-K\303\244ufe: Mot\303\266rhead : The Best of -- 2 CD`s -- (170720=\r
+368449#),Black Sabbath : Sabbath Bloody Sabbath (170724295045#),Mot\303\266=\r
+rhead : Snake Bite Love (170724295430#),Goethes Erben : Die Brut (170724254=\r
+795#),Ozzy Osbourne : No Rest for the Wicked (170724295884#),METAL BALLADS =\r
+: Vol . 2 (170724323789#),Brother Cane : Same (170720367821#),In Extremo : =\r
+Mein rasend Herz (170720368143#),Whitesnake : 1987 (170720427089#),GIANT : =\r
+Time to Burn (170720394773#),Kiss : Revenge (170720395093#),Def Leppard : A=\r
+drenalize (170720367895#),Goethes Erben : Der Traum an die Erinnerung (1707=\r
+24254679#),Rollins Band : Come in and Burn (170720395418#),Wolfhound / Anne=\r
+ Haigis : Truth -- Jeton -- (170724297186#),Ozzy Osbourne : No more Tears (=\r
+170720395234#),Nightwish : Wishmaster (170720426915#),Mot\303\266rhead : No=\r
+ sleep`til Hammersmith (170720368358#),Def Leppard : High`n`Dry (1707203679=\r
+81#),The Moody Blues : Days of Future Past (170724296562#),JACKYL : Same (1=\r
+70720368246#),Judas Priest : Stained Class (170720394999#),God Forbid : Gon=\r
+e Forever (170720426298#),DIO : Dream Evil (170724254266#),Don Dokken : Up =\r
+from the Ashes (170720368061#) (direct ebay inbox incoming unread)\nthread:=\r
+0000000000035b5a   Sun. 18:35 [1/1] eBay; Herzlichen Gl\303\274ckwunsch, de=\r
+r Artikel METAL BALLADS : Vol . 2 geh\303\266rt Ihnen! (direct ebay inbox i=\r
+ncoming unread)\nthread:0000000000035b46   Sun. 18:02 [1/1] eBay; Ihre Rech=\r
+nung f\303\274r eBay-K\303\244ufe: Mot\303\266rhead : The Best of -- 2 CD`s=\r
+ -- (170720368449#),Ozzy Osbourne : No more Tears (170720395234#),Wolfhound=\r
+ / Anne Haigis : Truth -- Jeton -- (170724297186#),Nightwish : Wishmaster (=\r
+170720426915#),Black Sabbath : Sabbath Bloody Sabbath (170724295045#),Mot\3=\r
+03\266rhead : Snake Bite Love (170724295430#),Mot\303\266rhead : No sleep`t=\r
+il Hammersmith (170720368358#),Goethes Erben : Die Brut (170724254795#),Ozz=\r
+y Osbourne : No Rest for the Wicked (170724295884#),Brother Cane : Same (17=\r
+0720367821#),Def Leppard : High`n`Dry (170720367981#),In Extremo : Mein ras=\r
+end Herz (170720368143#),Whitesnake : 1987 (170720427089#),The Moody Blues =\r
+: Days of Future Past (170724296562#),GIANT : Time to Burn (170720394773#),=\r
+Kiss : Revenge (170720395093#),JACKYL : Same (170720368246#),Def Leppard : =\r
+Adrenalize (170720367895#", 4096) =3D 4095\r
+    [...]\r
+    read(17, ")", 4096)                     =3D 1\r
+    [...]\r
+    read(17, ",Judas Priest : Stained Class (170720394999#),Goethes Erben :=\r
+ Der Traum an die Erinnerung (170724254679#),Rollins Band : Come in and Bur=\r
+n (170720395418#),God Forbid : Gone Forever (170720426298#),DIO : Dream Evi=\r
+l (170724254266#),Don Dokken : Up from the Ashes (170720368061#) (direct eb=\r
+ay inbox incoming unread)\nthread:0000000000035b41   Sun. 17:59 [1/1] eBay;=\r
+ Herzlichen Gl\303\274ckwunsch, der Artikel Wolfhound / Anne Haigis : Truth=\r
+ -- Jeton -- geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthre=\r
+ad:0000000000035b40   Sun. 17:59 [1/1] eBay; Herzlichen Gl\303\274ckwunsch,=\r
+ der Artikel The Moody Blues : Days of Future Past geh\303\266rt Ihnen! (di=\r
+rect ebay inbox incoming unread)\nthread:0000000000035b3f   Sun. 17:58 [1/1=\r
+] eBay; Herzlichen Gl\303\274ckwunsch, der Artikel Ozzy Osbourne : No Rest =\r
+for the Wicked geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nth=\r
+read:0000000000035b42   Sun. 17:58 [1/1] eBay; Herzlichen Gl\303\274ckwunsc=\r
+h, der Artikel Mot\303\266rhead : Snake Bite Love geh\303\266rt Ihnen! (dir=\r
+ect ebay inbox incoming unread)\nthread:0000000000035b3e   Sun. 17:58 [1/1]=\r
+ eBay; Herzlichen Gl\303\274ckwunsch, der Artikel Black Sabbath : Sabbath B=\r
+loody Sabbath geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthr=\r
+ead:0000000000035b2d   Sun. 17:12 [1/1] eBay; Ihre Rechnung f\303\274r eBay=\r
+-K\303\244ufe: Mot\303\266rhead : The Best of -- 2 CD`s -- (170720368449#),=\r
+Ozzy Osbourne : No more Tears (170720395234#),Nightwish : Wishmaster (17072=\r
+0426915#),Mot\303\266rhead : No sleep`til Hammersmith (170720368358#),Goeth=\r
+es Erben : Die Brut (170724254795#),Brother Cane : Same (170720367821#),Def=\r
+ Leppard : High`n`Dry (170720367981#),In Extremo : Mein rasend Herz (170720=\r
+368143#),Whitesnake : 1987 (170720427089#),Kiss : Revenge (170720395093#),G=\r
+IANT : Time to Burn (170720394773#),JACKYL : Same (170720368246#),Def Leppa=\r
+rd : Adrenalize (170720367895#),Goethes Erben : Der Traum an die Erinnerung=\r
+ (170724254679#),Judas Priest : Stained Class (170720394999#),DIO : Dream E=\r
+vil (170724254266#),Rollins Band : Come in and Burn (170720395418#),God For=\r
+bid : Gone Forever (170720426298#),Don Dokken : Up from the Ashes (17072036=\r
+8061#) (direct ebay inbox incoming unread)\nthread:0000000000035b28   Sun. =\r
+17:10 [1/1] eBay; Herzlichen Gl\303\274ckwunsch, der Artikel Goethes Erben =\r
+: Die Brut geh\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthread=\r
+:0000000000035b25   Sun. 17:10 [1/1] eBay; Herzlichen Gl\303\274ckwunsch, d=\r
+er Artikel Goethes Erben : Der Traum an die Erinnerung geh\303\266rt Ihnen!=\r
+ (direct ebay inbox incoming unread)\nthread:0000000000035b26   Sun. 17:09 =\r
+[1/1] eBay; Herzlichen Gl\303\274ckwunsch, der Artikel DIO : Dream Evil geh=\r
+\303\266rt Ihnen! (direct ebay inbox incoming unread)\nthread:0000000000035=\r
+b00   Sun. 08:06 [1/1] Dyn; New uses for Dyn products, holiday email delive=\r
+ry, ad platforms and DNS (direct inbox incoming unread)\nthread:00000000000=\r
+34f7e   Sat. 21:49 [9/15] Ludovic Court\303\250s, Samuel Thibault, Guillem =\r
+Jover, Svante Signell| Thomas Schwinge; [PATCH gnumach] Inline version.m4 i=\r
+nto configure.ac (attachment direct hurd inbox list replied signed)\nthread=\r
+:000000000000060c   Sat. 16:31 [2/2] jhansonxi, Cameron Smith; [Bug 226823]=\r
+ Re: Use system proxy settings doesn't take care of proxy exceptions list i=\r
+n Gnome proxy settings (direct inbox)\nthread:000000000003587b   Sat. 09:57=\r
+ [1/1] regioactive.de News; ZEHN: Interview mit Jubil\303\244umsfestival-He=\r
+adliner Bodi Bill. Au\303\237erdem: Annett Louisan, Lenny Kravitz u.v.m. (d=\r
+irect inbox unread)\nthread:0000000000035875   Fri. 23:58 [1/1] HANSEPLATTE=\r
+ SHOP; Der Sackbahnhof im Plakatdesign: Poster von Rocket & Wink (direct in=\r
+box unread)\nthread:000000000000043d   Fri. 22:20 [3/9] razor, Curtis Hovey=\r
+| Costales, Martin Pitt, Teej, Vlad, trevi; [Bug 35223] Re: Laptop TFT moni=\r
+tor - brightness level is not saved (direct inbox later unread)\nthread:000=\r
+00000000019e5   Fri. 22:09 [43/52] sillyxone, Fran\303\247ois Isabelle, Lad=\r
+islav Nesnera, Jim Ramsay, Raghu, cement_head, Mihai Secasiu, Brad Heap, br=\r
+icedebrignaisplage, David Cramer, Ubuntu QA's Bug Bot, Robert, Andr\303\251=\r
+, Sam Dodrill, Stan Schymanski, Clark Evans, Ed S, Koen, Donatas Burba, qua=\r
+rara, Rik Theys| sergiomb, MikeE, Nacho Coloma, Fabi, Duleep, Gaurav Padia;=\r
+ [Bug ", 4096) =3D 4095\r
+    [...]\r
+    read(17, "7", 4096)                     =3D 1\r
+    [...]\r
+\r
+Up to here, Emacs has read slices of 4095, 1, 4095, 1 bytes.  (I've\r
+noticed and reported this before, and still wonder why read would only\r
+return 4095 bytes if asked for 4096, and these should be available.\r
+Kernel issue?)  Yet, this also looks correct.\r
+\r
+Thus, I'd suspect the elisp code again.\r
+\r
+\r
+Gr=C3=BC=C3=9Fe,\r
+ Thomas\r
+\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQEcBAEBAgAGBQJOwk5BAAoJEGe3hdm9kOiiOdAIAINK/JgyyIMEdjNQT3msGlQf\r
+UVL1pDc5E+1TD+nlEE8VtA5patD0r6Aly5NizR7ELpaTOSLTJU2WMXIAoXiRarbS\r
+Z+YCNq65CuUlUIGy488+Rzw3TgzEmaZoIa1e3sNjP4xbhhC5W0cX2QTy+/s/jo1d\r
+4Ki+4bwvarVJ875WwUHPNpGgSSDF5VKTI2WGCM6s+BeTMNxYRLXl1R8u1F3Yf4GW\r
+/RMLCxyi9xLoyn8zBzjVs1rzE0S4E89j/L62Reu4rJGkCuiYhvQYZm/JIFc/hlWw\r
+gu89UIoDAyxNyYKUzI5pOAcZ4WNCSR43+lwyiw/uorF0fBQP37FWnw+VfUib1Rs=\r
+=QcZ6\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r