From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 806B5418C36 for ; Sat, 10 Apr 2010 09:11:21 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.8 X-Spam-Level: X-Spam-Status: No, score=-2.8 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham 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 fdyU2MyUBMQl for ; Sat, 10 Apr 2010 09:11:20 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by olra.theworths.org (Postfix) with ESMTP id 8B608418C34 for ; Sat, 10 Apr 2010 09:11:20 -0700 (PDT) Received: from localhost ([::1] helo=localhost.localdomain) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1O0dH5-0006zE-K6; Sat, 10 Apr 2010 16:11:12 +0000 Received: by localhost.localdomain (Postfix, from userid 500) id 23135C00E1; Sat, 10 Apr 2010 09:11:11 -0700 (PDT) From: Dirk Hohndel To: Anthony Towns , notmuch Subject: Re: [PATCH] notmuch new --new-tags=tags... In-Reply-To: References: Date: Sat, 10 Apr 2010 09:11:11 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html 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: Sat, 10 Apr 2010 16:11:21 -0000 On Sun, 11 Apr 2010 01:03:04 +1000, Anthony Towns wrote: > Hi *, > > The attached patch makes "notmuch new --new-tags=unread,new" set the > "unread" and "new" tags on any new mail it finds rather than "unread" > and "inbox". Or whatever other tags you happen to specify. I really like this - I have a similar patch that hardcodes a +new tag that I use to figure out which emails were imported during the last run of notmuch new - and that I then clear as the final step in my initial tagging script. But this is much cleaner and more generic. /D -- Dirk Hohndel Intel Open Source Technology Center