Re: [PATCH] add `tag:' prefix to `--output=tags' results
authorPieter Praet <pieter@praet.org>
Wed, 16 Nov 2011 11:28:13 +0000 (12:28 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:12 +0000 (09:40 -0800)
ac/b53aafdc3e92c3122d411172e8d249ff8a990d [new file with mode: 0644]

diff --git a/ac/b53aafdc3e92c3122d411172e8d249ff8a990d b/ac/b53aafdc3e92c3122d411172e8d249ff8a990d
new file mode 100644 (file)
index 0000000..0a1b2bd
--- /dev/null
@@ -0,0 +1,89 @@
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 55679429E21\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 03:29:15 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id d48OrnmYgfqS for <notmuch@notmuchmail.org>;\r
+       Wed, 16 Nov 2011 03:29:14 -0800 (PST)\r
+Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com\r
+ [74.125.82.41])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 96770431FB6   for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 03:29:14 -0800\r
+ (PST)\r
+Received: by wwf25 with SMTP id 25so7374387wwf.2\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 03:29:13 -0800 (PST)\r
+Received: by 10.216.137.84 with SMTP id x62mr485819wei.28.1321442953067;\r
+       Wed, 16 Nov 2011 03:29:13 -0800 (PST)\r
+Received: from localhost ([109.131.148.49])\r
+       by mx.google.com with ESMTPS id eu16sm32425505wbb.7.2011.11.16.03.29.11\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 16 Nov 2011 03:29:12 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] add `tag:' prefix to `--output=tags' results\r
+In-Reply-To: <8762in39w7.fsf@servo.finestructure.net>\r
+References: <877hbiep5g.fsf@SSpaeth.de>\r
+       <1309422029-22924-1-git-send-email-pieter@praet.org>\r
+       <87k475mktx.fsf@rocinante.cs.unb.ca>\r
+       <8762in39w7.fsf@servo.finestructure.net>\r
+User-Agent: Notmuch/0.9+76~g2fd88e6 (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+Date: Wed, 16 Nov 2011 12:28:13 +0100\r
+Message-ID: <87boscfgs2.fsf@praet.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 16 Nov 2011 11:29:15 -0000\r
+\r
+On Sun, 13 Nov 2011 15:00:56 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
+> On Sat, 12 Nov 2011 10:17:30 -0500, David Bremner <david@tethera.net> wrote:\r
+> > What do people think about this change? Personally I will have change\r
+> > some scripts to not add "tag:", but it isn't that big of a deal.\r
+> \r
+> I would actually prefer to see the prefixes removed from the messages\r
+> and threads output rather than see it added to the tags output.  I think\r
+> that's the way to make the output most consistent.  When I ask for\r
+> --output=messages I'm asking for the message ids of the messages, not\r
+> for search terms for the messages.  I think it should be up to the\r
+> consumer to add the prefix if they would like to construct search terms\r
+> based on the output.\r
+> \r
+> My 2 cents.  I would be happy to provide a patch to make that change if\r
+> people agree to that behavior.\r
+> \r
+\r
+I agree 100%.  Your rationale is as rational as they come, and the\r
+change itself is really simple (patch available [1]), *but* do consider\r
+the amount of tests (alot!) and third-party programs/scripts that would\r
+need an update.\r
+\r
+> jamie.\r
+\r
+\r
+Peace\r
+\r
+-- \r
+Pieter\r
+\r
+[1] id:"1309421989-22410-1-git-send-email-pieter@praet.org"\r