From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 SAObBUgR7GEZJwAAgWs5BA (envelope-from ) for ; Sat, 22 Jan 2022 15:14:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YBHXOUcR7GEBnwAAG6o9tA (envelope-from ) for ; Sat, 22 Jan 2022 15:14:31 +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 4F16D28DAC for ; Sat, 22 Jan 2022 15:14:31 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9C49B5F714; Sat, 22 Jan 2022 14:14:26 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mail.notmuchmail.org (Postfix) with ESMTPS id DE1075E016 for ; Sat, 22 Jan 2022 14:14:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642860862; bh=y/S/v1YEzjqwJNWEDsFXgG93OzcfDya28NfCoXRiesU=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=b85qphfBeBtLdxLJuljP4eD9m7ZYLiMpdz4BIwwQZUuISrh6VdTOINSBuXG0U3/Mp UukWMplII81V+AeTV9nj3hBJB0hG0xMF8JzCdjwWFHaxwoqD6O5W/atSa970JdbS5X zqKYCSVjK8cqiC2+l/SViT1rpdAWtv37gDhF5ANk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost ([95.91.214.154]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mnaof-1mSd443HMb-00jYFa; Sat, 22 Jan 2022 15:14:21 +0100 From: Gregor Zattler To: notmuch@notmuchmail.org Subject: confirm bug fixed (was: Bug? notmuch-emacs: "All tags" in notmuch-hello does not show all tags) In-Reply-To: <871r12gp97.fsf@tethera.net> References: <87wox1vovj.fsf@len.workgroup> <877ep0kx52.fsf@len.workgroup> <871r12gp97.fsf@tethera.net> Mail-Followup-To: notmuch@notmuchmail.org Date: Sat, 22 Jan 2022 15:14:17 +0100 Message-ID: <87o843j1s6.fsf@no.workgroup> MIME-Version: 1.0 X-Provags-ID: V03:K1:SaE9ou4h8BG3gjxyYjbz/i7wuxi7mrubuKwdNT7ZYVxiYLO70Ia 52hPnT1+suLWJ9JjMP6HzbCi3GpjzXx8J+EpuWOinVxS2y9tamDeQQOAHDCUS99+68aDUkl t93HcMZvA2Px57io7KKfpVBJMYXHPavl2Ypm05MtYO5l7sB6/PUgh2xvmjXhe8lkVK2ws9w XVaqCS0ew/8tr83OViXUQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:JQ2PgqaSfcY=:XqUGU6TtDw7yzc2K8Wbz8D ZTzdOUqo29uG+eyYQn5PF03+irghwlM3OYG9YKpxFf+HQE33xMulglU6qUfCP2kepyOXyTv7S 9OfQ2U0C75N2h5J/88nAfS8yGHgKsLpgopvgR4QL7RVk6naX3N37eoY+pd+bfdIuRzfVv33Rx Oa26qD1gnySK4a4eh47WeoYMF0xXomP06znpc6sw9nGmR08GmojFgAfm75xqXiqDntxa8GfQj Qf/R5xrlkx6lyDTGNZlpuCi4deZlcKIN6MBPcTdWBHNrZfCAvOxljygmnfTB625CA0iqzkhhX kKiC6OpKwWQZAKaxAJ1KrmaM8SoPBb0BBI3Xrm8X7hlgL9Xz+ol9xwRht1rR2dS2ahytdFiq6 pqL47wNiw8zaUsDhSfBamb38SuCJxABaeDgoHRDXFN0Y7QWrHjVrGxMGpoTs9UpEbGPVYI1z4 g4FJNIVZAwtlyE7Ikq+VJeiGfJFyTVZNauMC61vzWHyEqeEFOoZtx/VpehYxyqVrl+ytRV+cd 1RvRLFHwkaImTyftbhw5xHhTjSq+405xqgHTcEjPFPv0YekBk1Qn5kkj6w65B0YZ9TarX2k0h X0whJtqKdHslBZTUJ4+moVoFWkj7FVfjDKlETQFQ3En+AZA9iebChJo/P+5Wg8m8TdD5VyRa0 FFNsBPGX4DhG7CLvLgaG0xtmU1wAufIO4EdRgLuKbLxv/euFaziHRNbJkW2dhopzFuXFgYJkO lMK4CrSYNEpVNF7/izQXVsdjVaR7Wnf0V5P66A8JGd2jv/08/oeAxtgmgTTWJwwldEhTW21Ej 2NhYPkmSpkAPgzklqOXjH1zzAkWN3bGGIOrscS0Uv+d6a0QdE0sBSw7Co0j6kUTp6znFuG+x8 6/8dKTroVm83YPJ1/y+wTiiokMl8N7cwnSM8qjnsskn5RgnEYXB9tZzu7Zk945orB0Bd9d+OU LE5QJsrLvRLX3p2TZOYpU30m5mRrGWPJ+GaRrDgL7utuocw5Jw1Dj4cYF17EDYh7rgaORNQJ7 ME+vWJuRko4dv+ooBLaG099i9DxjylFI+sdOarkHV6kECL90KfAHBetogwzCKOEPj9k+m+f7D lVhyvTrUyV39Q0= Message-ID-Hash: UCW7DB3H2YEJZARQIME5LNTO5HFQPSDZ X-Message-ID-Hash: UCW7DB3H2YEJZARQIME5LNTO5HFQPSDZ X-MailFrom: telegraph@gmx.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=1642860871; 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:dkim-signature; bh=YDbJd4610D2SckFrlmVgrutPpovpseOoCxME1xYpb6c=; b=U5CbGwAOuQ9W2zEjhde4fIblpXsXlhHI+zvSLPWKNt7bFSsEvUViH2cQR/Ml8fmLN57jpb yDpVdWDVRp2S9dHwqHlpkvQwNmuBCWncr4aWRve6mDLxtrMCktIvZvDevSLzrrwpSrFzRF cG1iQu0VJaZ2Z0U8NWlsXj3gtruIJTbxYYmJU3iBJk8kdWtDuptuCXL5MXEvHzxfMOxSrA UDAuJ6JxILOJliAmkSlbzOFfMW+otHd3RlMWd/RU90xqCfYiRbF6ObYGZxcxmeky7d54Fr fEMMwu7qdTWlciiGVA/Hp+0i6ddRfRr3Mt3jMsoaE9URWJ4sQjYNypkLSeZcVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642860871; a=rsa-sha256; cv=none; b=BzbxqCxnSWwtJZMpki+b4ddyD4E2/AX3ZTCs2RRj2WlmrNv2Q50NQ6vp+3Le67++YX8j/8 aQSsPvsXeuAwE9o/llFATQi4ZR1MufKI0z4ONdPk+fE4HJncj9JT9ig6KNpeaq1GVQtyaI BchJpWzgT3SN2YIekyguyO46Sg+jFRjUrzX1zJGExK3l8pA7votyVsJtbz6quoNx2hYAE/ W0BLLB3YazmVQth6vrR7YY8E3BpgwOSf71q8tz0suoJ7CnsHiDAztxU8lVaEhcP4T6s2QN vBZ24yjsOCfsjRSBrjPcX5TQsIO/mGQs8GoTBrxRPEsCJt0u778Aui2rhEa59Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmx.net header.s=badeba3b8450 header.b=b85qphfB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.net (policy=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.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmx.net header.s=badeba3b8450 header.b=b85qphfB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmx.net (policy=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: 4F16D28DAC X-Spam-Score: -2.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ug6g0K9VC4X3 Hi David, Tomi, notmuch developers, * David Bremner [2022-01-20; 15:51]: > Tomi Ollila writes: >> Yes, I can reproduce -- only "spam" is seen >> >> To look what happened I ran (in notmuch source dir): >> >> $ NOTMUCH_CONFIG=/tmp/.notmuch-config strace -f -e trace=execve,read,write -o ttt ./devel/try-emacs-mua -Q >> >> based on that output: >> >> $ NOTMUCH_CONFIG=/tmp/.notmuch-config notmuch search --output=tags '*' >> certaintag >> inbox >> new >> spam >> >> $ NOTMUCH_CONFIG=/tmp/.notmuch-config notmuch count --batch >> tag:certaintag >> 0 >> tag:new >> 0 >> tag:spam >> 1 >> tag:inbox >> 0 >> tag:foobar >> 0 >> >> NOTMUCH_CONFIG=/tmp/.notmuch-config notmuch count --batch --exclude=false >> tag:certaintag >> 1 >> tag:new >> 1 >> tag:spam >> 1 >> tag:inbox >> 1 >> >> 1 >> tag:foobar >> 0 >> >> So, currently, whenever count is zero, the tag is now shown in all tags >> listing (but we know we have the tag since queried earlier). But, at least >> in this case we should get real count and have that '--exclude=false' there, >> and then the count is always positive number. >> >> At least some SMOP is required to get this fixed. > This bug should be fixed in commit > > cc180507b03d9826c92d48ee91dbd9bb5f15cd56 I confirm, the bug does not show up in my test case from message id:877ep0kx52.fsf@len.workgroup Thanks for this bug fix and for notmuch in general, Gregor