Re: [notmuch] [PATCH 4/4] notmuch-new: New cmdline option --tag=<name>.

Subject: Re: [notmuch] [PATCH 4/4] notmuch-new: New cmdline option --tag=<name>.

Date: Wed, 25 Nov 2009 18:59:23 +0100

To: Karl Wiberg

Cc: notmuch

From: Jan Janak


Hi Karl,

On Wed, Nov 25, 2009 at 7:21 AM, Karl Wiberg <kha@treskal.com> wrote:
> On Tue, Nov 24, 2009 at 11:10 PM, Jan Janak <jan@ryngle.com> wrote:
>> The list of tags to be applied by 'notmuch new' can be configured in
>> the configuration file. This command line option can be used to
>> override the list of tags from the coonfiguration file on the command
>> line. You may repeat the option several times if you want to apply
>> more than one tag:
>>
>>  notmuch new --tag=apple --tag=orange
>
> This leaves no way to skip the tags in the config file without adding
> at least one tag on the command line, right?

Right.

> It might be more flexible
> to e.g. have the commandline tags applied in _addition_ to the tags in
> the config, and have a --no-config-tags flag to skip the tags in the
> config when desired.

Yeah, I think that's a very good idea. I'll submit another patch for
that. Thanks for the suggestion!

  -- Jan

Thread: