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 55679429E21 for ; Wed, 16 Nov 2011 03:29:15 -0800 (PST) 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 d48OrnmYgfqS for ; Wed, 16 Nov 2011 03:29:14 -0800 (PST) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 96770431FB6 for ; Wed, 16 Nov 2011 03:29:14 -0800 (PST) Received: by wwf25 with SMTP id 25so7374387wwf.2 for ; Wed, 16 Nov 2011 03:29:13 -0800 (PST) Received: by 10.216.137.84 with SMTP id x62mr485819wei.28.1321442953067; Wed, 16 Nov 2011 03:29:13 -0800 (PST) Received: from localhost ([109.131.148.49]) by mx.google.com with ESMTPS id eu16sm32425505wbb.7.2011.11.16.03.29.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Nov 2011 03:29:12 -0800 (PST) From: Pieter Praet To: Jameson Graef Rollins , David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] add `tag:' prefix to `--output=tags' results In-Reply-To: <8762in39w7.fsf@servo.finestructure.net> References: <877hbiep5g.fsf@SSpaeth.de> <1309422029-22924-1-git-send-email-pieter@praet.org> <87k475mktx.fsf@rocinante.cs.unb.ca> <8762in39w7.fsf@servo.finestructure.net> User-Agent: Notmuch/0.9+76~g2fd88e6 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) Date: Wed, 16 Nov 2011 12:28:13 +0100 Message-ID: <87boscfgs2.fsf@praet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Wed, 16 Nov 2011 11:29:15 -0000 On Sun, 13 Nov 2011 15:00:56 -0800, Jameson Graef Rollins wrote: > On Sat, 12 Nov 2011 10:17:30 -0500, David Bremner wrote: > > What do people think about this change? Personally I will have change > > some scripts to not add "tag:", but it isn't that big of a deal. > > I would actually prefer to see the prefixes removed from the messages > and threads output rather than see it added to the tags output. I think > that's the way to make the output most consistent. When I ask for > --output=messages I'm asking for the message ids of the messages, not > for search terms for the messages. I think it should be up to the > consumer to add the prefix if they would like to construct search terms > based on the output. > > My 2 cents. I would be happy to provide a patch to make that change if > people agree to that behavior. > I agree 100%. Your rationale is as rational as they come, and the change itself is really simple (patch available [1]), *but* do consider the amount of tests (alot!) and third-party programs/scripts that would need an update. > jamie. Peace -- Pieter [1] id:"1309421989-22410-1-git-send-email-pieter@praet.org"