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 7038B4196F3 for ; Mon, 29 Mar 2010 00:35:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.5 X-Spam-Level: X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] 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 djW1IssXdEJQ for ; Mon, 29 Mar 2010 00:35:03 -0700 (PDT) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id D5F434196F2 for ; Mon, 29 Mar 2010 00:35:02 -0700 (PDT) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id 213E519F2F44; Mon, 29 Mar 2010 09:35:02 +0200 (CEST) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id bx-v1saRx-aE; Mon, 29 Mar 2010 09:35:00 +0200 (CEST) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id AA1A719F334F; Mon, 29 Mar 2010 09:35:00 +0200 (CEST) Received: from steelpick.2x.cz (k335-30.felk.cvut.cz [147.32.86.30]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id 7EEAFFA003; Mon, 29 Mar 2010 09:35:00 +0200 (CEST) Received: from wsh by steelpick.2x.cz with local (Exim 4.71) (envelope-from ) id 1Nw9Uy-0004gU-CT; Mon, 29 Mar 2010 09:35:00 +0200 From: Michal Sojka To: Ben Gamari , notmuch In-Reply-To: <4baf6abd.9653f10a.49dd.695d@mx.google.com> References: <1268432006-24333-1-git-send-email-bgamari.foss@gmail.com> <1268432006-24333-2-git-send-email-bgamari.foss@gmail.com> <4baebeb3.9753f10a.6e95.5e56@mx.google.com> <87wrwxgf91.fsf@steelpick.2x.cz> <4baf6abd.9653f10a.49dd.695d@mx.google.com> Date: Mon, 29 Mar 2010 09:35:00 +0200 Message-ID: <87r5n3h97f.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH] notmuch-config: make new message tags configurable 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: Mon, 29 Mar 2010 07:35:05 -0000 On Sun, 28 Mar 2010, Ben Gamari wrote: > On Sun, 28 Mar 2010 07:57:30 +0200, Michal Sojka wrote: > > On Sun, 28 Mar 2010, Ben Gamari wrote: > > > On Fri, 12 Mar 2010 17:13:26 -0500, Ben Gamari wrote: > > > > Add a new_tags option in the [messages] section of the configuration > > > > file to allow the user to specify which tags should be added to new > > > > messages by notmuch new. > > > > > > Would anyone oppose this being merged? I've been running with it on a daily > > > basis for the last two weeks and I've had no issues. The migration path is > > > quite clean as the current behavior is the default. > > > > Hi, > > > > I think that your patch is only a temporary solution. Some people > > requests the ability to tag messages based on the maildir flags so the > > question is how would your patch integrate with maildir-based tagging? > > > I would argue that maildir-tagging and basic notmuch new tagging could be > orthogonal. I think maildir flag tagging should be handled completely by the > maildir mail store backend. I could be wrong though. > > In fact, now that I think of it, perhaps this patch's functionality belongs in > the mail store backend as well. I haven't tried your patchset, but it looks > like it would be trivial to add this as a mailstore option. I agree. I'll try to add your patch to my mailstore patch set. It will be enabled only when the default mailstore (called files) is enabled. I'll move the config option from [messages] to [mailstore] section and rename it from new_tags to files.new_tags, to stress the fact, that it applies only for files backed. Do you agree? Michal