Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1A916431FB6 for ; Sun, 30 Jan 2011 13:02:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VrD6oM--mQhW for ; Sun, 30 Jan 2011 13:02:17 -0800 (PST) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.94]) by olra.theworths.org (Postfix) with ESMTP id E2EF8431FB5 for ; Sun, 30 Jan 2011 13:02:16 -0800 (PST) Received: from [87.180.65.111] (helo=stokes.schwinge.homeip.net) by smtprelay05.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1PjePW-0004aE-LE for notmuch@notmuchmail.org; Sun, 30 Jan 2011 22:02:14 +0100 Received: (qmail 23876 invoked from network); 30 Jan 2011 21:02:09 -0000 Received: from kepler.schwinge.homeip.net (192.168.111.7) by stokes.schwinge.homeip.net with QMQP; 30 Jan 2011 21:02:09 -0000 Received: (nullmailer pid 8803 invoked by uid 1000); Sun, 30 Jan 2011 21:02:09 -0000 From: Thomas Schwinge To: notmuch@notmuchmail.org Subject: [BUG] Emacs UI dropping every 25th line, roughly User-Agent: Notmuch/0.5-33-g665f77b (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Sun, 30 Jan 2011 22:02:03 +0100 Message-ID: <87tygqm7g4.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Df-Sender: thomas@schwinge.name X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2011 21:02:18 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hallo! I noticed this one on a system with my work emails (which is what I recently reported on the IRC channel), but can reproduce it on another system, too. :-/ The first system is using Ubuntu's emacs23 23.1+1-4ubuntu7.1+maverick1, the other Debian's emacs23 23.2+1-7. In the Emacs UI, do a ``M-x notmuch-seach RET tag:notmuch RET'', wait for it to finish and save the buffer's text to a file, called emacs. (In my DB, the notmuch mailing list is tagged as `notmuch' -- but it doesn't matter, just use a search term that matches some hundreds of messages; ``*'' if you want.) $ notmuch search tag:notmuch > stdout $ diff -w -U1 \ <(sed < stdout -e 's%^thread:[0-9a-f]*\ %%' -e 's%|%,%' -e 's%;%%' = ) \ emacs \ | cut -c -30 --- /dev/fd/63 2011-01-30 21:4 +++ emacs 2011-01-30 21:30:39. @@ -76,3 +76,2 @@ November 21 [1/1] Dmitry Kur - November 21 [9/9] Tassilo Ho November 20 [5/5] Matthieu L @@ -100,3 +99,2 @@ November 12 [9/9] Jameson Ro - November 12 [3/3] Jameson Ro November 12 [7/7] David Edmo @@ -125,3 +123,2 @@ November 03 [13/13] david@te - November 02 [2/2] Gregor Kap November 01 [10/10] Felipe C @@ -151,3 +148,2 @@ October 13 [11/11] Michal S - October 13 [14/14] Felipe C October 11 [1/1] Kristoffer @@ -177,3 +173,2 @@ 2010-07-06 [2/2] dbp@riseup - 2010-07-05 [9/9] Dmitry Kur 2010-06-27 [1/1] servilio@g @@ -203,3 +198,2 @@ 2010-06-04 [2/2] Tomas Carn - 2010-06-04 [2/2] dme@dme.or 2010-06-04 [4/4] Sebastian=20 [...] That is, roughly every 25th line is dropped in the Emacs notmuch-search buffer! (Via setting notmuch-command to a shell script, I intercepted the notmuch / emacs pipeline with tee, and found that what comes out of ``notmuch | tee'' is still sane, so I'm fairly sure it's an Emacs / notmuch elisp code issue.) And, 25 times the medium length of a ``notmuch search [...]'' output line is... 4 KiB, the standard page size. Is this ``just'' a problem in the notmuch elisp code, or is Emacs doing something awful with (wild speculation...) short reads on buffer page boundaries (or whatever else)? Gr=C3=BC=C3=9Fe, Thomas --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJNRdHLAAoJEGe3hdm9kOiiuXsIALdKR9cHkSG8Yz2b9oHDXC6z GPSNxbN58I8SqtBnoR0znVWUTI7wdn8G9HCX8EP+TJN6yPTKc3AF7OjhJ7WbCcTr 4r7LF41o8UwjYUbWXMdzOn3FpRl+o7mBS7AEpkHhcYrP7OBOfXYErrJHNNGBU6gI 9BlbzkB4PwrB2XA21WjTj2mnKm2UEn/A8hrjA0k3+POCB0mlBSRCeEllO1b+7sXn tyA2LoCxGoms7OCXZDA0oeqe8z8HZHfDJnsEq5V4WLj4g5MD8RVVGLK3v1rquJMC IHgJ9z2af1nZi3mR2NojW/ftCniicLQeQvIPxIVP73CNyddwD/dRue1aZGK0Rnc= =mczO -----END PGP SIGNATURE----- --=-=-=--