Re: [notmuch] [PATCH 4/4] notmuch-new: New cmdline option --tag=<name>.
authorKarl Wiberg <kha@treskal.com>
Wed, 25 Nov 2009 06:21:14 +0000 (07:21 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:42 +0000 (09:35 -0800)
05/904ca6380424c6a6a4945ee321b602d3af1a0a [new file with mode: 0644]

diff --git a/05/904ca6380424c6a6a4945ee321b602d3af1a0a b/05/904ca6380424c6a6a4945ee321b602d3af1a0a
new file mode 100644 (file)
index 0000000..1901468
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <kha@treskal.com>\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 BF680431FBC\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 22:21:17 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\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 rIeayT7FRH7e for <notmuch@notmuchmail.org>;\r
+       Tue, 24 Nov 2009 22:21:17 -0800 (PST)\r
+Received: from mail1.space2u.com (mail1.space2u.com [62.20.1.135])\r
+       by olra.theworths.org (Postfix) with ESMTP id DD138431FAE\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 22:21:16 -0800 (PST)\r
+Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
+       [209.85.218.224]) (authenticated bits=0)\r
+       by mail1.space2u.com (8.14.3/8.14.3) with ESMTP id nAP6L983022584\r
+       (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT)\r
+       for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 07:21:10 +0100\r
+Received: by bwz24 with SMTP id 24so5592668bwz.30\r
+       for <notmuch@notmuchmail.org>; Tue, 24 Nov 2009 22:21:15 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.204.34.203 with SMTP id m11mr745848bkd.79.1259130074957; Tue, \r
+       24 Nov 2009 22:21:14 -0800 (PST)\r
+In-Reply-To: <1259100630-13673-5-git-send-email-jan@ryngle.com>\r
+References: <1259100630-13673-1-git-send-email-jan@ryngle.com>\r
+       <1259100630-13673-2-git-send-email-jan@ryngle.com>\r
+       <1259100630-13673-3-git-send-email-jan@ryngle.com>\r
+       <1259100630-13673-4-git-send-email-jan@ryngle.com>\r
+       <1259100630-13673-5-git-send-email-jan@ryngle.com>\r
+Date: Wed, 25 Nov 2009 07:21:14 +0100\r
+Message-ID: <b8197bcb0911242221j313cd618jbbe2523121911ec5@mail.gmail.com>\r
+From: Karl Wiberg <kha@treskal.com>\r
+To: Jan Janak <jan@ryngle.com>\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] [PATCH 4/4] notmuch-new: New cmdline option\r
+       --tag=<name>.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\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, 25 Nov 2009 06:21:17 -0000\r
+\r
+On Tue, Nov 24, 2009 at 11:10 PM, Jan Janak <jan@ryngle.com> wrote:\r
+> The list of tags to be applied by 'notmuch new' can be configured in\r
+> the configuration file. This command line option can be used to\r
+> override the list of tags from the coonfiguration file on the command\r
+> line. You may repeat the option several times if you want to apply\r
+> more than one tag:\r
+>\r
+> =C2=A0notmuch new --tag=3Dapple --tag=3Dorange\r
+\r
+This leaves no way to skip the tags in the config file without adding\r
+at least one tag on the command line, right? It might be more flexible\r
+to e.g. have the commandline tags applied in _addition_ to the tags in\r
+the config, and have a --no-config-tags flag to skip the tags in the\r
+config when desired. Or, if that seems more convenient, have a\r
+--config-tags=3Dyes|no flag that defaults to yes when no --tag is given,\r
+and to no when at least one --tag is given.\r
+\r
+--=20\r
+Karl Wiberg, kha@treskal.com\r
+   subrabbit.wordpress.com\r
+   www.treskal.com/kalle\r