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 07:21:14 +0100

To: Jan Janak

Cc: notmuch@notmuchmail.org

From: Karl Wiberg


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? 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. Or, if that seems more convenient, have a
--config-tags=yes|no flag that defaults to yes when no --tag is given,
and to no when at least one --tag is given.

-- 
Karl Wiberg, kha@treskal.com
   subrabbit.wordpress.com
   www.treskal.com/kalle

Thread: