From 339f56f0cf0898b18bbc6c30bf21a05fced9a65b Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 10 Jan 2015 11:23:03 +0100 Subject: [PATCH] [PATCH] completion: update list of commands in zsh completion. --- 01/3ad0b54652f3704b4783144ded802966aef323 | 96 +++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 01/3ad0b54652f3704b4783144ded802966aef323 diff --git a/01/3ad0b54652f3704b4783144ded802966aef323 b/01/3ad0b54652f3704b4783144ded802966aef323 new file mode 100644 index 000000000..d9c4a651f --- /dev/null +++ b/01/3ad0b54652f3704b4783144ded802966aef323 @@ -0,0 +1,96 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id A53F3431E64 + for ; Sat, 10 Jan 2015 02:23:15 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.438 +X-Spam-Level: ** +X-Spam-Status: No, score=2.438 tagged_above=-999 required=5 + tests=[DNS_FROM_AHBL_RHSBL=2.438] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id lGjjFOzl7SYT for ; + Sat, 10 Jan 2015 02:23:12 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 793E9431E62 + for ; Sat, 10 Jan 2015 02:23:12 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1Y9tCK-00034G-3s; Sat, 10 Jan 2015 06:23:12 -0400 +Received: (nullmailer pid 26882 invoked by uid 1000); Sat, 10 Jan 2015 + 10:23:06 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [PATCH] completion: update list of commands in zsh completion. +Date: Sat, 10 Jan 2015 11:23:03 +0100 +Message-Id: <1420885383-26840-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.1.4 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 10 Jan 2015 10:23:15 -0000 + +This is actually generated by the script in + + id:1420289900-29717-2-git-send-email-david@tethera.net + +We may as well update the list of commands while we decide if it's +worth automating the process. Note that there is a bit more noise than +expected because it alphabetizes all of the commands with their own +man pages. +--- + completion/notmuch-completion.zsh | 23 ++++++++++++++--------- + 1 file changed, 14 insertions(+), 9 deletions(-) + +diff --git a/completion/notmuch-completion.zsh b/completion/notmuch-completion.zsh +index 8968562..208a550 100644 +--- a/completion/notmuch-completion.zsh ++++ b/completion/notmuch-completion.zsh +@@ -7,16 +7,21 @@ _notmuch_commands() + { + local -a notmuch_commands + notmuch_commands=( +- 'setup:interactively set up notmuch for first use' +- 'new:find and import any new message to the database' +- 'search:search for messages matching the search terms, display matching threads as results' +- 'address:get addresses from messages matching the given search terms' +- 'reply:constructs a reply template for a set of messages' +- 'show:show all messages matching the search terms' +- 'tag:add or remove tags for all messages matching the search terms' ++ 'help:display documentation for a subcommand' ++ 'setup:interactively configure notmuch' ++ ++ 'address:output addresses from matching messages' ++ 'compact:compact the notmuch database' ++ 'config:access notmuch configuration file' ++ 'count:count messages matching the given search terms' + 'dump:creates a plain-text dump of the tags of each message' +- 'restore:restores the tags from the given file' +- 'help:show details on a command' ++ 'insert:add a message to the maildir and notmuch database' ++ 'new:incorporate new mail into the notmuch database' ++ 'reply:constructs a reply template for a set of messages' ++ 'restore:restores the tags from the given file (see notmuch dump)' ++ 'search:search for messages matching the given search terms' ++ 'show:show messages matching the given search terms' ++ 'tag:add/remove tags for all messages matching the search terms' + ) + + _describe -t command 'command' notmuch_commands +-- +2.1.4 + -- 2.26.2