[PATCH 1/2] completion: complete notmuch insert --keep and --no-hooks options
authorJani Nikula <jani@nikula.org>
Mon, 10 Nov 2014 19:35:42 +0000 (21:35 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:46:38 +0000 (14:46 -0700)
f3/3c863da41ca38203da3c3fa4bbf5aac0c8ad8c [new file with mode: 0644]

diff --git a/f3/3c863da41ca38203da3c3fa4bbf5aac0c8ad8c b/f3/3c863da41ca38203da3c3fa4bbf5aac0c8ad8c
new file mode 100644 (file)
index 0000000..55f5701
--- /dev/null
@@ -0,0 +1,84 @@
+Return-Path: <jani@nikula.org>\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 709A7431FC0\r
+       for <notmuch@notmuchmail.org>; Mon, 10 Nov 2014 11:35:55 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 UUFcMhiRf+wz for <notmuch@notmuchmail.org>;\r
+       Mon, 10 Nov 2014 11:35:50 -0800 (PST)\r
+Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ BB130431FB6   for <notmuch@notmuchmail.org>; Mon, 10 Nov 2014 11:35:49 -0800\r
+ (PST)\r
+Received: by mail-wg0-f45.google.com with SMTP id x12so9800004wgg.4\r
+       for <notmuch@notmuchmail.org>; Mon, 10 Nov 2014 11:35:48 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:cc:subject:date:message-id;\r
+       bh=CU5bJV/Z+uI7il3BQIfkkRbr6CO3Cuvm3bBnMEm8wdw=;\r
+       b=iFsKROqRAwn03GWQ7YD1fqeIaAt8Uf5HFfZj7dVV24ROsgVjhhIIUCbx5Ef1TO5t4E\r
+       wh/DWDU4X9wg+ra2bPKO4gqwRE1DILbjv23ql8t+7OlrmEry3DO9uJ16rNHIo2QxQNuA\r
+       DPPG+Oezj0QvivGKz9NoHH1nXUSE0mRPz2bTIBNiG+y/n8AHLv6uu/nNsCuArk/WH1dn\r
+       uR4oUvMMF46m1xlHTbVxmBFdg3q8LQmQd4ouHujhtej8ByHpNIK+tW8l3sIFAwNwvcOz\r
+       F469hLRk/e4GmDoMnvlac6HyzjfKe8+vMktXpKmPjuo6hQJjSajV12oebg9rhdBSo51y\r
+       APbQ==\r
+X-Gm-Message-State:\r
+ ALoCoQklep5ukpCYgXIU8tRY1Ih+/wgAspybeZvzgBFrKT5jhbFpSvbPpAFbjOSzxcQqCG9CRh8C\r
+X-Received: by 10.194.241.194 with SMTP id wk2mr7311094wjc.132.1415648148138; \r
+       Mon, 10 Nov 2014 11:35:48 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw2-58c36d-48.dhcp.inet.fi.\r
+       [88.195.109.48])\r
+       by mx.google.com with ESMTPSA id s8sm24381056wjx.9.2014.11.10.11.35.46\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Mon, 10 Nov 2014 11:35:47 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/2] completion: complete notmuch insert --keep and --no-hooks\r
+       options\r
+Date: Mon, 10 Nov 2014 21:35:42 +0200\r
+Message-Id: <1415648143-19923-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 2.1.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\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: Mon, 10 Nov 2014 19:35:55 -0000\r
+\r
+---\r
+ completion/notmuch-completion.bash | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash\r
+index db152f358bc3..386437333742 100644\r
+--- a/completion/notmuch-completion.bash\r
++++ b/completion/notmuch-completion.bash\r
+@@ -196,7 +196,7 @@ _notmuch_insert()\r
+     ! $split &&\r
+     case "${cur}" in\r
+       --*)\r
+-          local options="--create-folder --folder="\r
++          local options="--create-folder --folder= --keep --no-hooks"\r
+           compopt -o nospace\r
+           COMPREPLY=( $(compgen -W "$options" -- ${cur}) )\r
+           return\r
+-- \r
+2.1.1\r
+\r