From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SGvuFxbv1GEQewEAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 02:06:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yARaFRbv1GGtOgAA9RJhRA (envelope-from ) for ; Wed, 05 Jan 2022 02:06:30 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B5B2F3E3BD for ; Wed, 5 Jan 2022 02:06:29 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 51A925F711; Wed, 5 Jan 2022 01:06:20 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id AD5445F6C5 for ; Wed, 5 Jan 2022 01:06:16 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id AF83D5FC48; Tue, 4 Jan 2022 20:06:15 -0500 (EST) Received: (nullmailer pid 2034622 invoked by uid 1000); Wed, 05 Jan 2022 01:06:13 -0000 From: David Bremner To: Tomi Ollila , Gregor Zattler , Notmuch Mail Subject: [PATCH 3/3] emacs: use --exclude=false when counting total messages Date: Tue, 4 Jan 2022 21:06:06 -0400 Message-Id: <20220105010606.2034601-3-david@tethera.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220105010606.2034601-1-david@tethera.net> References: <20220105010606.2034601-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: 5FPHSMNVSINFOGYGCMR7WAWYDXHYJ5HT X-Message-ID-Hash: 5FPHSMNVSINFOGYGCMR7WAWYDXHYJ5HT X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641344789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=texC2OiorQLCT+XxzG9FaQF6GFAjPyXqsq+rbzCXLIE=; b=qRQs3efbB6ov42FOdeT3sxAmHQmNHLB2mr58iyOaslk32Pfj6u/3c/ytS9Yd+ncgSaPO0m bJ9oZh4jhLLG8GKTh+Mhbin6bqtvQk/TLay4px4g+4xygRMPu35TWwQJGvm6LJsxlb/B4E wM5xFmMgeZrowJDoUP35KzFTPcabfKAoUUphjs89n6k9IqEiJmHgO+34ClPajIm+YIzrKn UkfKMMgR3BOToNE5bbQApKashrXezpiwcWgU6eFT1Tsu30FyF6r6zX4kNMQt1sdh66rMxO COGCCAxJp5fHb7ZEeXZ10aKdKsfoJ+lq2Hfu03eDrBex7lxtXM1GlznBle0lgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641344789; a=rsa-sha256; cv=none; b=IYK5URA3N69pSNoqKN0p4O0VVuHvSr0ibbk3U/Vqqjq3Y1XAjCuUG6DfnZP4Oz0MoE4OqA 9GDOTzezcOjskakAmOpOV0donzhJ+BAebqN8Tl2HFM/XLbzNks4Z6BF+4nMoSPCZWYRQjW NZJjrITM0dkg9IyicB29e+0F84HzGekT47CTQUXX42EHiy3dn/lhjYhILLU0zCqfngR0QZ rpgkew5d/98Oz52ajXixBHqFdVa+rkmFuBV6syFiexqR0N5M0U7IKLx/5mxhAA5fhhDfBe ecReoLq7k00f76BML7oeAlonRL4rwdWUkSe/riXFzWTqNW6TKdAFPxF7YEWvcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.24 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: B5B2F3E3BD X-Spam-Score: -1.24 X-Migadu-Scanner: scn1.migadu.com X-TUID: FebMsuDVW84M Even if a user excludes a large fraction of their messages, they still nonetheless exist and are searchable. --- emacs/notmuch-hello.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index fcf7a6aa..cd7ac39c 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -785,7 +785,7 @@ Complete list of currently available key bindings: :help-echo "Refresh" (notmuch-hello-nice-number (string-to-number - (car (notmuch--process-lines notmuch-command "count"))))) + (car (notmuch--process-lines notmuch-command "count" "--exclude=false"))))) (widget-insert " messages.\n"))) (defun notmuch-hello-insert-saved-searches () -- 2.34.1