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 909786DE1451 for ; Thu, 18 Jul 2019 05:30:12 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -3.097 X-Spam-Level: X-Spam-Status: No, score=-3.097 tagged_above=-999 required=5 tests=[AWL=-2.545, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, 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 VZof7E9c3UR0 for ; Thu, 18 Jul 2019 05:30:09 -0700 (PDT) X-Greylist: delayed 1419 seconds by postgrey-1.36 at arlo; Thu, 18 Jul 2019 05:30:09 PDT Received: from mail.kapsi.fi (mail.kapsi.fi [91.232.154.25]) by arlo.cworth.org (Postfix) with ESMTPS id 201386DE11F0 for ; Thu, 18 Jul 2019 05:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5TpSYtLrFSysMML7heUmX0zgywOHGsLLIA/CsGVhRFg=; b=gpSVQ5Yl3zYgImz0N5tlKlIAa9 QEgAhnHaYOvIDmXqcgBFYzeONRGHgqZwxJb+ZxMdCeB10ZbHy3QijBRmPGP37QlGrwQP2uAp5Hx5X rwGbOyVI6D13BWyD5rgVMf6bWbYyA7rGhP2IESI8rF66jQd9asBW/vUgsdGHhlSB4iEJc0Qd9t+ZT RCtG+jdLsK5qZgor7Cec0Zsqs1edgs/Mrkg03SWmElG3CVW4jH/FTAJVmQEIhEm5P9PoK9iTFF9+O kd8Vmvc/2G9TuKqWV2TMj26/1brEiIFBScpsGLBxxbb8vgZaMeVge9vx0kaPXjoNMAsNrYksi0eci ciK17xEA==; Received: from mobile-access-bcee88-225.dhcp.inet.fi ([188.238.136.225] helo=mithlond) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ho5B4-00086i-W5 for notmuch@notmuchmail.org; Thu, 18 Jul 2019 15:06:27 +0300 From: Teemu Likonen To: notmuch@notmuchmail.org Subject: Emacs: UI problems with messages excluded by several tags User-Agent: Notmuch/0.28.4 Emacs/26.2.90 (x86_64-pc-linux-gnu) Date: Thu, 18 Jul 2019 15:06:18 +0300 Message-ID: <87ftn31r9h.fsf@iki.fi> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-SA-Exim-Connect-IP: 188.238.136.225 X-SA-Exim-Mail-From: tlikonen@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false 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: Thu, 18 Jul 2019 12:30:12 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Messages with two or more tags that make then excluded from searches can make them difficult to find in Notmuch Emacs interface. Let's say we have config: [search] exclude_tags=3Dspam;deleted; *notmuch-hello* buffer has "All tags" section which lists how many messages there are for every tag. However, if a message has two different excluding tags (like "spam" and "deleted") then that message is not shown anywhere in the "All tags" list. The message count does not show it and the message does not show in the search when user clicks the tag. My opinion: 1. "notmuch count" command should have --exclude option like "notmuch search" and Emacs interface should use --exclude=3Dfalse in "All tags" section. =20 2. When clicking a tag in "All tags" section the search operation should use --exclude=3Dfalse because in these searches user (most likely) wants all messages by a tag regardless of other excluding tags. =2D-=20 /// OpenPGP key: 4E1055DC84E9DFF613D78557719D69D324539450 // https://keys.openpgp.org/search?q=3Dtlikonen@iki.fi / https://keybase.io/tlikonen https://github.com/tlikonen --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFEBAEBCAAuFiEEkhZiiC54Bnj5a16Skzo1BB5+rVEFAl0wYLoQHHRsaWtvbmVu QGlraS5maQAKCRCTOjUEHn6tUQ64B/4vXC933iArSdW5xvDL6js6MmP6IFYzTa1F DFy0qHUlwIoPoqdJUm+2b0OkHFQDytJZ/NAlbcE9iasweLC563tSQlcskpeOAc8j 7AMfin9y/sJ23xFjnWj1uJ0LPF34wuB6oG7AsFtbrXPQchqdr+ZBlrlJolppMhWm 97I377LhfwRJZL+5mPLGP48yrIy30Jsv9+TB2AggBLuiYT/Kbboo52qhcndQ6AGI vcr96xeUid61kfOdaUBJE3KXQu93+MKOJfSx7SkJ24ivF5J/CAu2UtK7YfOBQpRL 9KHfz6rZNK6bc+wbVHI37ePJJk409bs7Ir6fuqb2CL9wtMYt0k4a =WwUZ -----END PGP SIGNATURE----- --=-=-=--