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 EC1664048C1 for ; Thu, 11 Mar 2010 14:52:38 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001] 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 PwPN25FlovIP for ; Thu, 11 Mar 2010 14:52:38 -0800 (PST) Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU [18.9.25.12]) by olra.theworths.org (Postfix) with ESMTP id D8BFC4048C3 for ; Thu, 11 Mar 2010 14:52:37 -0800 (PST) X-AuditID: 1209190c-b7c8cae00000610c-80-4b99743414b5 Received: from mailhub-auth-1.mit.edu (MAILHUB-AUTH-1.MIT.EDU [18.9.21.35]) by dmz-mailsec-scanner-1.mit.edu (Symantec Brightmail Gateway) with SMTP id 9F.45.24844.434799B4; Thu, 11 Mar 2010 17:52:36 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id o2BMqam8030960; Thu, 11 Mar 2010 17:52:36 -0500 Received: from localhost (LINERVA.MIT.EDU [18.181.0.232]) (authenticated bits=0) (User authenticated as davidben@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id o2BMqY9T025310; Thu, 11 Mar 2010 17:52:35 -0500 (EST) Date: Thu, 11 Mar 2010 17:52:34 -0500 (EST) From: David A Benjamin To: Ben Gamari In-Reply-To: <4b990b7b.0e67f10a.073c.0686@mx.google.com> Message-ID: References: <4b990b7b.0e67f10a.073c.0686@mx.google.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Brightmail-Tracker: AAAAAA== Cc: notmuch Subject: Re: [notmuch] Notmuch command interface 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: Thu, 11 Mar 2010 22:52:39 -0000 On Thu, 11 Mar 2010, Ben Gamari wrote: > While the notmuch command-line interface is fantastic, there defintely are a few > gaps which hurt performance. Since I've been following, I've seen several > threads on how to handle message addition and initial tagging[1][2]. I recall > that some time ago Carl had the idea of applying only a 'new' tag during notmuch > new. I strongly supported this proposal yet it seems that nothing ever became of > it. Is there a reason for this? Would a patch be accepted? > To avoid breaking the current behavior, what if the set of tags applied to new/moved/deleted(?) messages could be set on the command line or some other library interface, while just perhaps defaulting to unread/inbox? This would support both the current behavior and a hooks-like workflow without notmuch itself treating any tags (new, unread, inbox, etc.) as "special". David