From f8198af8dad3954dbf1605fe034a99d042237c49 Mon Sep 17 00:00:00 2001 From: Daniel Schoepe Date: Fri, 2 Mar 2012 01:34:03 +0100 Subject: [PATCH] Re: [PATCH] emacs-hello: Do not calculate the count of the messages in hidden sections --- 76/f2ed45658619994a7bc51aba1c7e52a9a9ca58 | 117 ++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 76/f2ed45658619994a7bc51aba1c7e52a9a9ca58 diff --git a/76/f2ed45658619994a7bc51aba1c7e52a9a9ca58 b/76/f2ed45658619994a7bc51aba1c7e52a9a9ca58 new file mode 100644 index 000000000..f17cab4ba --- /dev/null +++ b/76/f2ed45658619994a7bc51aba1c7e52a9a9ca58 @@ -0,0 +1,117 @@ +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 8CD67431FB6 + for ; Thu, 1 Mar 2012 16:34:20 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.8 +X-Spam-Level: +X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_LOW=-0.7] 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 oeFe7RBWHTHS for ; + Thu, 1 Mar 2012 16:34:19 -0800 (PST) +Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com + [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 76E95431FAE + for ; Thu, 1 Mar 2012 16:34:19 -0800 (PST) +Received: by eaa1 with SMTP id 1so579161eaa.26 + for ; Thu, 01 Mar 2012 16:34:18 -0800 (PST) +Received-SPF: pass (google.com: domain of daniel@schoepe.org designates + 10.14.127.5 as permitted sender) client-ip=10.14.127.5; +Authentication-Results: mr.google.com; + spf=pass (google.com: domain of daniel@schoepe.org + designates 10.14.127.5 as permitted sender) + smtp.mail=daniel@schoepe.org; + dkim=pass header.i=daniel@schoepe.org +Received: from mr.google.com ([10.14.127.5]) + by 10.14.127.5 with SMTP id c5mr4527524eei.17.1330648458131 (num_hops = + 1); Thu, 01 Mar 2012 16:34:18 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google; + h=from:to:subject:in-reply-to:references:user-agent:date:message-id + :mime-version:content-type; + bh=D3HVCN10MtohgaoKFtbudLKk06PTBThIadgawlAw1ro=; + b=H1SNC+ZyPk2QPjpmVRULtGDl0/JohpuR1tmrSZllsUxvvzR55zaU7JVbH6+0FrCYRL + SG9+2gSCYiyfi7Xs3ZbPVC8vAq4cHJtpHzDtFJYYDRnM7cQpBtjZG7G4UA/WJWG3IXig + wxBfsF/XHxj3M9XnTdqTLjqka74eWEMC+Ip0c= +Received: by 10.14.127.5 with SMTP id c5mr3478363eei.17.1330648457955; + Thu, 01 Mar 2012 16:34:17 -0800 (PST) +Received: from localhost (dslb-188-107-168-245.pools.arcor-ip.net. + [188.107.168.245]) + by mx.google.com with ESMTPS id c15sm13466429eei.9.2012.03.01.16.34.15 + (version=TLSv1/SSLv3 cipher=OTHER); + Thu, 01 Mar 2012 16:34:16 -0800 (PST) +From: Daniel Schoepe +To: Mark Walters , + Michal Sojka , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs-hello: Do not calculate the count of the messages + in hidden sections +In-Reply-To: <87y5rk55k3.fsf@qmul.ac.uk> +References: <874nunokr5.fsf@steelpick.2x.cz> + <1329603149-6047-1-git-send-email-sojkam1@fel.cvut.cz> + <87y5rk55k3.fsf@qmul.ac.uk> +User-Agent: Notmuch/0.11.1+212~gcd799cb (http://notmuchmail.org) + Emacs/24.0.93.1 (x86_64-pc-linux-gnu) +Date: Fri, 02 Mar 2012 01:34:03 +0100 +Message-ID: <87vcmnu9hg.fsf@schoepe.localhost> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha1; protocol="application/pgp-signature" +X-Gm-Message-State: + ALoCoQkS9WB4qWZtZONeGxkWkz0LIbAWp9aqqF4Mb3hB5JTvARmo8M+68i4JmgR2NtPmS2+EYEan +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: Fri, 02 Mar 2012 00:34:20 -0000 + +--=-=-= +Content-Type: text/plain + +On Thu, 01 Mar 2012 22:18:04 +0000, Mark Walters wrote: +> This looks fine to me and does speed things up when the "All tags" +> section is hidden (are there other sections I can hide?) + +You can define other section that you can then hide, which was the main +point of the original patch. + +Michal, your patch looks good to me too. Now that my two patches have +been pushed, I think this should go in as well. + +Cheers, +Daniel + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIbBAEBAgAGBQJPUBV7AAoJEIaTAtce+Z+JY5cP9i5N9OAzS0I4fUAi6XYuWUB6 +BjGWAQvy0Tn95U+y6gIfgzJaauNfWVi5Q4Bx+USPX1QWO4OjCZfXGrMZ+Gjk1zNL ++2L9E++6G36MA0FUyZBiCGXgp6UR5WLYNVV8ubvDKYApqbzmhEFpPwurBhMAEWc2 +4H95kigv49aIJkV/pwhCcOflKm19bP0t2Y0LOvD5cnJbIR59yjITOQnlUAWayJl0 +Qn0zwwx9yAg43UG9hQvyl3rtTkFu2DMgAKvLM3laJdko17HPw7x9NK+DyE/4HxYK +qsMDd5NPg9w2BNemKB8jHQ9qA+X42oCOMIZRP1BAM2Kq7H54bY6qrOAs+zymBDH8 +hCs1grSusN3VshcMeEWn4Hax4nezWBpUwhqM0MPpk7B7NfAPCV7Me3IUgiYTZu7r +Fbw0KUzMnqDbAh246J1rsDVe9yt3P93rIONeLglJ7VgJvZO1Ish+TuUQvFaioNUU +EC1qvAELJnlPVbZUTeA/JKEDHMC10CY5Cl3eup7JwFoz5EOObVhLaGv0xVMENpMi +EWMEYgXawLMTMIUAaJ2BBQTaDM3+oc+xHm3jJoiqFhrohNubdV0Z3/pS/DyZCNAV +1h+yUdbsdbPjsjnuxG8dPvTOF0X6g+kjOuBO9kWXqbcl7z1j1Nr87A+hZSh/Jy3D +Qx+obM8xrg1A9k5YgoY= +=GtJz +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2