From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2196A6DE0209 for ; Mon, 30 Jul 2018 06:44:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.012 X-Spam-Level: X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5 tests=[AWL=0.099, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mi3AQ8Oq4jUQ for ; Mon, 30 Jul 2018 06:44:02 -0700 (PDT) X-Greylist: delayed 1167 seconds by postgrey-1.36 at arlo; Mon, 30 Jul 2018 06:44:01 PDT Received: from nimbus.chaotikum.eu (nimbus.chaotikum.eu [104.238.167.87]) by arlo.cworth.org (Postfix) with ESMTPS id D44CE6DE0205 for ; Mon, 30 Jul 2018 06:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaotikum.eu; s=20170824; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7adtR+gwR84bng58/eKXMPFxNQE0Q4Ll8OHjS5WkdIg=; b=QkUlfJJQ5DKwJ2D2Uyf3Qleexb qf25VjlhPwQAI+IAQZz3wSGejc96X0z91BHmjWvzME5pBOBo9mm7b8VUZchi0/0dx78ooYmXYgoV5 CZ/DQ2pdqJveh9FpWVUxIBJoZneJXElEztLg4xEkRh6hsz65hisZMhAlnQ0SwKKOz+INxZUGGe0Q+ pbYTboW83Ya8i5M/Wu38zQexR2NLUOadVgGgABiQ4s4sUfEa4GpWKWGF8nLH60v9kn2R7pBTvxeH0 noai6/rQqxlMzQ1j5ZiOZz5Qio3kiyQZJ5pfoTf5IrVSiE2gGTKS9syRpq2vdrUZAs1UAtwp2+mJV LwR28Y30jq01xKzy2+kO8kzszPLo1NoFQvZ6/jCZJNgLKLcRhNy/sihLu5T82Amrv190ljQxeXCTo /yXYnGmJtNsk4P4vPKYVicHQ/9fRt7obZq9CyD9jx7Z/iZEn6ryG6xuRFJIkKGjovQeyniuQBC8XX Dt+VfExLFNjAmdVjNQPTYqFV; Received: from 079-001.eduroam.rwth-aachen.de ([134.61.79.1]:43192 helo=coruscant.chaotikum.eu) by nimbus.chaotikum.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fk8A0-00072r-KQ for notmuch@notmuchmail.org; Mon, 30 Jul 2018 15:24:28 +0200 From: Thomas Schneider To: notmuch@notmuchmail.org Subject: Display update bug in notmuch new User-Agent: Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Mon, 30 Jul 2018 15:24:20 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Mon, 30 Jul 2018 13:44:03 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, I discovered an issue in notmuch new: when deleting a large amount of messages (so that it takes long and displays =E2=80=9C$time remaining=E2=80= =9D), it does not clean the line afterwards: =2D-- $ pwd /home/qsx/.maildir/fnord $ tar xf /tmp/mails.tar $ notmuch new Processed 9001 total files in 4s (2113 files/sec.). Added 9001 new messages to the database. $ rm new/* $ notmuch new No new mail. Removed 9001 messages.lmost no time remaining). =2D-- Version information: notmuch 0.27, on GNU/Linux Steps to reproduce: =2D-- cd $MAILDIR cat << EOF > /tmp/test.py ADDRESS =3D "test@example.org" import mailbox import email.message import email.utils from datetime import datetime mb =3D mailbox.Maildir('./test') # will create if not existing for i in range(1, 9002): # OVER NINE THOUSAND m =3D email.message.EmailMessage() m["From"] =3D ADDRESS m["To"] =3D ADDRESS m["Date"] =3D email.utils.localtime(datetime.now()) m["Subject"] =3D "test {}".format(i) m["Message-Id"] =3D email.utils.make_msgid(idstring =3D "test.{}".forma= t(i)) m.set_content("test {}".format(i)) mb.add(m) EOF python3.6 /tmp/test.py notmuch new rm -r test notmuch new =2D-- --qsx --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEs0E17FxdBc8PvMjVg4ZN/CGrpKYFAltfEYQACgkQg4ZN/CGr pKaSqw//T2QNnb6/WTR+TH34YnEN+HMusev63YJdgEw6Dlr2tBg6L7Qf74RC7ioh aeVGrt/2mk79DOG7gQTqkfm08X3Xqu41/4k3N7uXBLwTN8Kzh8FjkO7QYWtlo7tu SNeCsXSOilU1zlL0YIVO5BjNdSorf6T3UxBgq2DnXWGAq4G8f2GvpVZxH4qXNRva fMzc31w+ht8KYscBynHtS54fvXfqRjAlHgpksWYhTVI+2GWgUIxxKfRwrkqoT7I+ MZXCSzVyeI1HQeUaPpHotIxfx69REX4+OFyvm1pqSY7lqqyEbGf5XbaILsjD3zkB CxZ5dMXJySZtMh268bmtqjF5ZC8n67ZN1A7Ddpxlwy/DjA9NjhM8/QDOuzqFHJG8 VqQfoMpMzO3+4VnrsDsX0L7wVSz4mz4Psd6gR+EB+XinFAtfxWb4wX4gbOPEDPpJ 8GDZ8DFtmm2cGqJNZIw2CwxyTmTxjkVhkLtUBLtssWWZzxro7JQ1CRVrvHY1rTLB eQdwCv5YWIFuZhPoV3ieSHzbJoiU88GJbtZql3I4EhA9JlsJfhAgqJRzaJtHv5X4 dyuCq+ctiAMgl9w/Gj5KUS03KRvw7eZNizdb2VKVsZ7CjI2Qd9Rx+mnq3xFFR3F4 j8t4sdmdeYaAxShpnbZ49iy/WjoFp04H63P5q0I/ZxUlNjP8vo0= =bk5M -----END PGP SIGNATURE----- --=-=-=--