Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 572B2431FAF for ; Fri, 3 Aug 2012 14:04:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I0u8IdVBU7jR for ; Fri, 3 Aug 2012 14:04:55 -0700 (PDT) Received: from dmz-mailsec-scanner-5.mit.edu (DMZ-MAILSEC-SCANNER-5.MIT.EDU [18.7.68.34]) by olra.theworths.org (Postfix) with ESMTP id D6F19431FAE for ; Fri, 3 Aug 2012 14:04:54 -0700 (PDT) X-AuditID: 12074422-b7f1f6d00000090b-28-501c3cf6581c Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id 54.59.02315.6FC3C105; Fri, 3 Aug 2012 17:04:54 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q73L4rqD021069; Fri, 3 Aug 2012 17:04:53 -0400 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q73L4o3c006684 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Fri, 3 Aug 2012 17:04:53 -0400 (EDT) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) (envelope-from ) id 1SxP3C-00019q-Nh; Fri, 03 Aug 2012 17:04:50 -0400 Date: Fri, 3 Aug 2012 17:04:50 -0400 From: Austin Clements To: Michal Nazarewicz Subject: Re: Inheriting tags from parent Message-ID: <20120803210450.GH22601@mit.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJKsWRmVeSWpSXmKPExsUixCmqrfvNRibA4O59BYsFx1tYLa7fnMns wOSx7s8rJo9nq24xBzBFcdmkpOZklqUW6dslcGVsX7mBuWAxV8XF/2/ZGxgXcHQxcnBICJhI TP1W0MXICWSKSVy4t54NxBYS2Mco8fuPFYS9nlHi5pr4LkYuIPsEk8Tmy7fZIZwljBL/z54A 62ARUJFYeP0yI4jNJqAhsW3/cjBbREBTYtGrzUwgNrOAtMS3381gtjBQzcuGZWC9vAI6Es/+ X2SH2KYp8fXhNWaIuKDEyZlPWCB61SX+zLvEDHI0yJzl/zggwvISzVtng5VzCmhJHGo5CzZS FOicKSe3sU1gFJ6FZNIsJJNmIUyahWTSAkaWVYyyKblVurmJmTnFqcm6xcmJeXmpRbqmermZ JXqpKaWbGEExwO6itIPx50GlQ4wCHIxKPLzJKjIBQqyJZcWVuYcYJTmYlER5c4yAQnxJ+SmV GYnFGfFFpTmpxYcYJTiYlUR4dykC5XhTEiurUovyYVLSHCxK4rzXUm76CwmkJ5akZqemFqQW wWRlODiUJHhlgbEuJFiUmp5akZaZU4KQZuLgBBnOAzRcG6SGt7ggMbc4Mx0if4pRUUqcVwok IQCSyCjNg+uFpahXjOJArwjzeoFU8QDTG1z3K6DBTECD7cykQAaXJCKkpBoY/Z/9mLT8z64Y WccUrS9ZEyoz7l/lDGiLE2qQqW1XPRhxbTVb4fF7E/c5FXk9XLXq43mLNUHK0t3PLiqdy9G7 1RIwReFTaM2/NFfDLz+NJDNsFn9L/ndTy1am9BtDulBDZK91//HHv1KPaB3iDX6yJu33v2us j3csVz/KUXDp9bFpkg1Wd49OVWIpzkg01GIuKk4EADg9gpssAwAA Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Fri, 03 Aug 2012 21:04:55 -0000 Quoth Michal Nazarewicz on Aug 03 at 4:29 pm: > Hello everyone, > > I've just started using notmuch and am wondering if there is a way to > make message “inherit” some of the tags from messages they are written > in replay to (or in general are part of the same thread). > > I'm mostly thinking about a “mute” tag which I'd add to messages that > are completely uninteresting to me. With the “inheritance” mechanism, > I'd be able to make notmuch automatically mute all the replays within > the same thread. I have a hacky and now ancient patch series that you're welcome to try porting to a recent notmuch on the inheritable-tags-hack branch at http://awakening.csail.mit.edu/git/notmuch.git One general problem with this approach is dealing with threads whose messages arrive or are ingested out of order. I don't think this is an insurmountable problem, but my patch certainly doesn't handle it correctly. There are also several other solutions to "mute" tags around. For example, some people use a post-new hook to search for threads that contain at least one mute tag and then feed these thread IDs back in to notmuch tag to add the mute tag to everything in the thread. I believe this is also the approach used by the afew tagging system for "killed" threads.