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 217F36DE024E for ; Sun, 9 Feb 2020 15:58:07 -0800 (PST) Authentication-Results: arlo.cworth.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aLAL59h3"; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.917 X-Spam-Level: X-Spam-Status: No, score=-2.917 tagged_above=-999 required=5 tests=[AWL=-2.719, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001] 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 Kzqa1YT3pYZb for ; Sun, 9 Feb 2020 15:58:03 -0800 (PST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by arlo.cworth.org (Postfix) with ESMTPS id 7537F6DE023C for ; Sun, 9 Feb 2020 15:58:03 -0800 (PST) Received: by mail-pl1-f180.google.com with SMTP id t6so2086526plj.5 for ; Sun, 09 Feb 2020 15:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=IsYmUi/Xy09YHkq/H6fTwEJD6ccLnJggTFdJac2BGQw=; b=aLAL59h3PxGGjXSRbkOCZv2tpSQgNHGfrOrnHT90RC9amWKg9TuyLtMQ1PlAFtn+fY sW8MB2F5Ksw4v7/SoX59J1dYK4/5pAOqaagnNLXV/dh1JYI4u8BEZNWcRVbkcDiGoIDi jGa9IF5+/IKOuFTVIu8hkFBAL+iwbv6U4E8HdIhQV0ek1fYnijLi9jK/21+q4C1byhc6 dvZ09guc4y4QcrWvvhbZYJaW9rn7YIOKLI7pYWGYnws3PxV/Iko/GLFcF90+8s9Hu+8t bc8cqa1UPToWTUE5YrjmsSnC9JiGNqihVflhhkj42UbFOk8CklFQhRs3v5BwnMrul1YL MeQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=IsYmUi/Xy09YHkq/H6fTwEJD6ccLnJggTFdJac2BGQw=; b=kRT+naOJ7XtGwSEnli60yH8OoPvUZYiH9v07t1Iw7tz6i0lGd0sk7NINWARpwzAR/C 5QLskbSfq6BIzhqMb2tMOyLPigmnQSsNcWDiI9c7iJuPZpSvnQqwS0cCZTSE6SEkKwsa gxQ98Hqmk1K88/yTOYzkbwSOkV1xvqEkbsNun1NfB0m/uUC10QMuyAHT09bj6bRMw/gS 6khfvFAcICGbKqTxfLKdJ4qsbS5bNTmyc3gQaXMwlbG9lyA12GI3G6lUp1fPSOBkC+QC QlvGYBR/PvORWSxTpESj36cTefCVgg6i+hE71FWAJj/jHXqh3txZZZfw8sSz+ePTsJSw wkbw== X-Gm-Message-State: APjAAAWQRDPiHMsaUfkrm/GcLXlS5Elh/cQj9d97BoDunCf/i/xx5BX+ KkDSPHqlYL9LB+Wb9OdmW0HOgpKQ X-Google-Smtp-Source: APXvYqx4QYMm5zIR2frb7ScPVLDtJlKjOeXgEVjhm78D6LbqOPPGsWMurTUqYSMuWOWZF2nl59NgQQ== X-Received: by 2002:a17:902:fe8d:: with SMTP id x13mr10409747plm.232.1581292682813; Sun, 09 Feb 2020 15:58:02 -0800 (PST) Received: from localhost (d75-158-214-44.abhsia.telus.net. [75.158.214.44]) by smtp.gmail.com with ESMTPSA id 144sm10598482pfc.45.2020.02.09.15.58.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Feb 2020 15:58:01 -0800 (PST) From: Nicholas D Steeves To: notmuch@notmuchmail.org Subject: [wishlist bug] support custom ":count-query" attribute in notmuch-search Date: Sun, 09 Feb 2020 16:57:57 -0700 Message-ID: <87eev3tit6.fsf@navis.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Mailman-Approved-At: Sun, 09 Feb 2020 17:22:01 -0800 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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, 09 Feb 2020 23:58:07 -0000 --=-=-= Content-Type: text/plain Hi, I chatted with dme on #notmuch@freenode on this topic, and he pointed me in the right direction. In notmuch-search of the Emacs interface, the "count" variable shows "search-query-matches/messages-in-thread", and I would like it to show "unread-search-query-matches/messages-in-thread", as a way of being able to tell how much work it will be to catch up with new messages a long thread. eg: more like the conventional "unread/total" thread summary used by most MUAs. (concat search-query-matches notmuch-search-count-attribute) seems like it would do the trick, where notmuch-search-count-attribute=" +unread", and based on the discussion with dme, it seems like supporting something like the :count-query attribute (like notmuch-hello does) would do the trick, but that said, it would be really nice to be able to use a method that doesn't require duplication of the content of ":query" in ":count-query". Please CC me on all replies as I am not subscribed to this list. Thanks! Nicholas --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE4qYmHjkArtfNxmcIWogwR199EGEFAl5AnIUACgkQWogwR199 EGHT5g/8Cdp+2EEVbtAirwMWDxF5VaGIwGSOLl0aZwcB3Y1JnmkuILYYRKwLNeqU JVx42soubyNZ+VJT5tzNpne3lEzKEKTIDMlwSZUBezgfolP9VKrxwWpWpKDaiBKb MlS/NFqYDvhHYCKG5jHUzy69NpGLXj53LJ8ReqwSGJdV+GrIY58Udo+pu8zUvb7w GxE0IzJGuGI/8qoTwo4bctVkvrD2fr1mZll7kl1G+Vu9QwlJFYouCGvFtr+7IgXm SLLKPfr+n1PghSNkDyesBNvGTTFs/N2BoCs5Titnc6VEjG25L2TOS/He7zslx/Hr 9fKMpnoAglYqwoB04iDBJmRFuwct1qqpCdpvcqUGE7Mw5sMYT9OP88bXKndTVR+r OQICYtViq/HSPZLUYvNbscFS8wJbFFPyOrM7zJbWHpSw7H+/8aEhADBM7oScLwZj SnoUPf6rPE4TIk6HpV6DqLjS6a12GwTAptCFeKrR/56ZcZjzIdqKcCVESYZe577T Nads+L50L3R5BnvHFkFQTAwNj4l/Ew4CS54y4jnJ4dvGk4sCw6kDBRT+yaVGRbdF JsVjn1b0FNcPSDS58+iyrCsty/SccW7jaH5UR4FTdr3LQ/+R6MUbU4YOvKLKF7fL f3F3NktN9O5iIA+Q62SY5+l/udAM3ZeGLcAR98yuWsi1MWyx+fI= =yFHU -----END PGP SIGNATURE----- --=-=-=--