Re: [PATCH v6 03/10] reply: Require that only one message is returned

Subject: Re: [PATCH v6 03/10] reply: Require that only one message is returned

Date: Sat, 10 Mar 2012 11:29:04 -0700

To: Notmuch Mail

Cc:

From: Adam Wolfe Gordon


On Fri, Mar 9, 2012 at 16:00, Jani Nikula <jani@nikula.org> wrote:
> On Tue, 21 Feb 2012 23:46:32 -0700, Adam Wolfe Gordon <awg+notmuch@xvx.ca> wrote:
>> As the semantics of replying to multiple messages have not yet been
>> defined well, make notmuch reply require that the search given returns
>> only a single message.
>
> Is there any real reason, apart from consistency between
> --format=default and --format=json, to disable the current multiple
> message reply? Also "notmuch show" has format specific features and
> limitations.
>
> I agree the semantics should be clarified, and eventually multiple
> message reply should be uniformly supported by all formats, including
> --format=json, but IMHO this patch should be dropped (and the TODO patch
> amended accordingly).

It's just for consistency. I like the idea of dropping support for
multi-message replies everywhere now, then re-adding it with new
semantics later, but I don't feel very strongly about it. If people
who use the CLI would prefer to have the default format left as-is for
now that's OK with me.

Thread: