Re: [notmuch] [PATCH 4/4] notmuch-new: New cmdline option --tag=<name>.
authorJan Janak <jan@ryngle.com>
Wed, 25 Nov 2009 17:59:23 +0000 (18:59 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:43 +0000 (09:35 -0800)
dd/4e9d71fc74729907d3f7a6f884a5db7c48d2ae [new file with mode: 0644]

diff --git a/dd/4e9d71fc74729907d3f7a6f884a5db7c48d2ae b/dd/4e9d71fc74729907d3f7a6f884a5db7c48d2ae
new file mode 100644 (file)
index 0000000..e7363b8
--- /dev/null
@@ -0,0 +1,76 @@
+Return-Path: <jan@ryngle.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 C77C0431FC0\r
+       for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 09:59:25 -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 RzWr7-U4ehlS for <notmuch@notmuchmail.org>;\r
+       Wed, 25 Nov 2009 09:59:25 -0800 (PST)\r
+Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
+       [209.85.218.224])\r
+       by olra.theworths.org (Postfix) with ESMTP id 0B934431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 09:59:24 -0800 (PST)\r
+Received: by bwz24 with SMTP id 24so6123953bwz.30\r
+       for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 09:59:24 -0800 (PST)\r
+MIME-Version: 1.0\r
+Received: by 10.204.33.194 with SMTP id i2mr436015bkd.146.1259171963944; Wed, \r
+       25 Nov 2009 09:59:23 -0800 (PST)\r
+In-Reply-To: <b8197bcb0911242221j313cd618jbbe2523121911ec5@mail.gmail.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
+       <b8197bcb0911242221j313cd618jbbe2523121911ec5@mail.gmail.com>\r
+Date: Wed, 25 Nov 2009 18:59:23 +0100\r
+Message-ID: <f35dbb950911250959x42ac3183uc3c80b2a1da07211@mail.gmail.com>\r
+From: Jan Janak <jan@ryngle.com>\r
+To: Karl Wiberg <kha@treskal.com>\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: notmuch <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 17:59:25 -0000\r
+\r
+Hi Karl,\r
+\r
+On Wed, Nov 25, 2009 at 7:21 AM, Karl Wiberg <kha@treskal.com> wrote:\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?\r
+\r
+Right.\r
+\r
+> 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.\r
+\r
+Yeah, I think that's a very good idea. I'll submit another patch for\r
+that. Thanks for the suggestion!\r
+\r
+  -- Jan\r