[PATCH] add `tag:' prefix to `--output=tags' results
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Sun Nov 13 22:56:48 PST 2011
On Sun, 13 Nov 2011 15:00:56 -0800, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> On Sat, 12 Nov 2011 10:17:30 -0500, David Bremner <david at tethera.net> 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.
>
Makes sense to me.
Regards,
Dmitry
> My 2 cents. I would be happy to provide a patch to make that change if
> people agree to that behavior.
>
> jamie.
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list