From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id LwZUGgiE1WFMZQAAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 12:42:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AAsGFwiE1WHERwAA9RJhRA (envelope-from ) for ; Wed, 05 Jan 2022 12:42:00 +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 1B9321114E for ; Wed, 5 Jan 2022 12:42:00 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9F97B5F70B; Wed, 5 Jan 2022 11:41:55 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 12B985F6C5 for ; Wed, 5 Jan 2022 11:41:53 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 24B285FC42; Wed, 5 Jan 2022 06:41:52 -0500 (EST) Received: (nullmailer pid 2149850 invoked by uid 1000); Wed, 05 Jan 2022 11:41:50 -0000 From: David Bremner To: Notmuch Mail Subject: Re: [PATCH 3/3] emacs: use --exclude=false when counting total messages In-Reply-To: <20220105010606.2034601-3-david@tethera.net> References: <20220105010606.2034601-1-david@tethera.net> <20220105010606.2034601-3-david@tethera.net> Date: Wed, 05 Jan 2022 07:41:50 -0400 Message-ID: <87h7aiv281.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: 5V5OZPEBBUUMAJ34Q3GP3EPSC6EMVOFX X-Message-ID-Hash: 5V5OZPEBBUUMAJ34Q3GP3EPSC6EMVOFX X-MailFrom: david@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=1641382920; 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=JR+ECbhAX3mop7YBt/yoPGIrNWFehRvWpMozoG4ugfs=; b=UgirB5VB8GoYjsAledwT8VdTklLP7QAZUPhgEBs2ZqkRa9xdx8CloVgspG4NeRhKNXf4jp nv8jEBfW0tjGIoSZu7ebG1BUChZWNMgihuShJOFWQ0e2FDFbmE/I1M1AZTmEvLKP65PkK8 uZWB4XXPKa4oV1bkUG9EIT8CrdS/Rv0jF7tuJgIrS7Elvq5K7NYFFCWKdOp6lpefp1rGuL 7S9xzyKyk5cb75REptUJUQbg33za+Qlr70Dp+hCFc0z+zZnOl0mxkeTj3d2BORjZ4879c7 JPV4HL1OwDkVMs8SOIbSqM9JqN9WJEHCHAQH7MdJ3SBswpWkIoEIgDaZLGBx/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641382920; a=rsa-sha256; cv=none; b=TW54mZwjC+fXrKkIAnT5JWJIV03/2ZYC6+Ea/tDHT693uWXZbckWJiqcnaVcHe9TB1piHh wrm2IfxRZXfptZu2zW+kcosjBrCDOAu0B7npbXLgNYPMXWCiTNaFFgWl+u90848vWVcujy WFitPfYcK6endoRPPccbu0fmVD+5osNUVFy2x0/XfZzK+FN6heBkYrywe0OxXeibfl2Rz7 snkXvzFR0oSzxcEkG6pyfaAN1zLDkked7fCxJT1gw/PdoOdrIhfHLz+AaA0cpTID1dOlKw nVEuaxZ64iVQaOi/AvTyZP69frHPCHLrWxHyHYyjPP4q9Fh9dVRYDD6V90T7Hw== 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: -2.26 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: 1B9321114E X-Spam-Score: -2.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: obA688sqgKHU David Bremner writes: > 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 Oops, I forgot to mark the new test as fixed in this last commit. Fixed in git. d