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 121016DE025B for ; Mon, 4 Jun 2018 10:50:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.29 X-Spam-Level: X-Spam-Status: No, score=0.29 tagged_above=-999 required=5 tests=[FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 MO01O7ZEGrLK for ; Mon, 4 Jun 2018 10:50:36 -0700 (PDT) X-Greylist: delayed 306 seconds by postgrey-1.36 at arlo; Mon, 04 Jun 2018 10:50:36 PDT Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by arlo.cworth.org (Postfix) with ESMTPS id 294DF6DE0259 for ; Mon, 4 Jun 2018 10:50:35 -0700 (PDT) Received: from len.workgroup ([84.185.110.116]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MRB8F-1frYle42pj-00UYiz for ; Mon, 04 Jun 2018 19:45:26 +0200 From: Gregor Zattler To: notmuch@notmuchmail.org Subject: notmuch shows tag which is not on any email Mail-Followup-To: notmuch@notmuchmail.org Date: Mon, 04 Jun 2018 19:44:55 +0200 Message-ID: <87h8misay0.fsf@len.workgroup> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:llGCTZlVlBe9AnnnYfbYU7CfmW/MwhJdOZWRULSiDojAyi10Kvt M/b3PP+QFqneTcwUV5n0NmG4X40BhdFqQXoAwYIiCGI7g1EFoQZUBmTb6wPEe1affpuMcLn MCPpumNFZQyqi6/ikpvWM7bBGvxeu/3nwyS9D2JttgFVsMhw20fe1GBkXngjmp5N4UJS1c9 0JCmqoCaL10w8r40zsMdA== X-UI-Out-Filterresults: notjunk:1;V01:K0:PrfDdYCRZsY=:N9i5d0kyIDag2YE/WQ7OOG I6w38LX1x9ITq8zxwqucku4CuXojcYnJF60G6TgGMValq4u1hwbALnNjuJBvug1BSnTBxZAii tv4VNFhMj3uBAqfnCIG5ImdnXTAs387wncBUI9lZiCrcOcb6LsHSbHOBLIM0l0QOKKm2oAvz4 UEaLdaO3PUF1iRmbesjjsnKxnsM9an+1kwnZ7tLnBu7o4HqIl55aWVtIFWVgPvFLYS973Hhwm q4psT+T8qQl7QdqJP0JKBcGORXVDcXdCOD5W2vId7gsN2Vq0Ld6HIEoeifggW60TS4HgNVcfV 1LurdUdYcyRFP1SURirnc5SZocdw8/G8rcadh6Dee0qhxhCehbF3BEIebsOqqmIIDGlPP2RsZ XnLa7cY/c3QnVjp9LktKsPzJdf4s7A/ETJ1A2xFEPNFP1P6+QuDeUn6sH1EUZDbREXjU4K0m8 bGAGZbReApjZ9wwYQSghqCoblKTbAY/I5kbXTTO55wny3eI/ffCadlOVkSIDcaCadU3QNkiWR AEBd0Ytgn0zzVXL2DbeQQb6hjwKfkcV8uLSz9d1sgB6XC6M24gP3k3mbIaVlNTuXpG/kRL+NO zcteiydKxkY7nGgtNU/sKXz05q+9W/iOyowS1sZg/rG+d5w6hdKgRDEQG4y5+FHT+uxipexQg DPM+9swigM5TvQsp7SmNXXgKKny236Q4qMGVueJWwF1ZhplIdaAJGwX3uizfPhGjUtOKnNS3V CE8zFX8tVKc4GL97tCL0Ci+/kqlI/gKNsedbYWlDXT/2Q59e+dQMHf4Yetlm7W8QjNBQIGoMJ 0O0D3fB X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Mon, 04 Jun 2018 17:50:38 -0000 Dear notmuch developers, does notmuch remember tags even if at time of query there is no message tagged with the respective tag?: $ notmuch search --output=tags '*' | grep telegraph EA%3Dtelegraph%40gmx%2Enet EA=telegraph@gmx.net $ notmuch count -- is:EA%3Dtelegraph%40gmx%2Enet 0 $ notmuch count -- is:/EA.*telegraph/ 4498 There is no invisible character or some such: $ notmuch search --output=tags '*' | grep telegraph | head -n 1 | wc -c 27 I might have done something wrong while experimenting with this tags and 'EA%3Dtelegraph%40gmx%2Enet' may be a leftover. I would like to remove it but since no message matches it's not possible to remove it from messages and therefore the tag remains: $ notmuch tag +EA=telegraph@gmx.net -- is:/EA.*telegraph/ $ notmuch search --output=tags '*' | grep telegraph EA%3Dtelegraph%40gmx%2Enet EA=telegraph@gmx.net I tried to utilise emacs to remove the tag, but notmuch-emacs does not show 'EA%3Dtelegraph%40gmx%2Enet' in notmuch-hello's 'All tags' section. Why is said tag in the tags listing, how to get rid of it? Thanks, Gregor