1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id B22E86DE0924
\r
6 for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 04:13:12 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.531 tagged_above=-999 required=5 tests=[AWL=0.189,
\r
12 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id n_Gnzb2W-XqJ for <notmuch@notmuchmail.org>;
\r
17 Sat, 26 Sep 2015 04:13:10 -0700 (PDT)
\r
18 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id 826776DE02D2
\r
21 for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 04:13:10 -0700 (PDT)
\r
22 Received: by wicgb1 with SMTP id gb1so49523662wic.1
\r
23 for <notmuch@notmuchmail.org>; Sat, 26 Sep 2015 04:13:09 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:cc:subject:date:message-id;
\r
27 bh=jxu1TJb6YYvUAqn4PydEN+Sp5TKWDUQaYE2N/8SE+j4=;
\r
28 b=FYWLAk4y8Lz5suKGFfsOMpYkFqMNU+t1aya7nXmJJd3mQaXGb5pyetZnBpR4/XPYYv
\r
29 QrvRNw+BNu5NZaA4vvpjrQwMRpIkcs3njnhshPG+jKvuhyYlwq/Jh6TVEn3p/+jnkmlc
\r
30 Hbhh3n9z8iCbf8o4jJCSh/ZL0+QX54GHFrbe112l/3qf+5wuMKHKEJPNNenzxd1oW90K
\r
31 REFotZsUG5ceAKfHDjKtBLvHqp+iRwNKkuVHImviGOWkI1jeZ9gVmDL5N9wDMSTn49mf
\r
32 TzJnU2YJvlMwBUMKLX6rRlzSCknqF9dCHq8F5QJg9pIG1j0iE3p/w0YCGvhAXtDX6MpJ
\r
35 ALoCoQnbF5m+7W6A29CHQkerp0c1IQOnBWfC4qly4OX7p7tlJMFJJtoeTYXftsuQXGgLGDd61pGH
\r
36 X-Received: by 10.180.198.109 with SMTP id jb13mr8498499wic.17.1443265988850;
\r
37 Sat, 26 Sep 2015 04:13:08 -0700 (PDT)
\r
38 Received: from localhost (mobile-access-bcee63-221.dhcp.inet.fi.
\r
40 by smtp.gmail.com with ESMTPSA id c2sm7828271wiy.11.2015.09.26.04.13.07
\r
41 (version=TLSv1/SSLv3 cipher=OTHER);
\r
42 Sat, 26 Sep 2015 04:13:08 -0700 (PDT)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: notmuch@notmuchmail.org
\r
45 Subject: [PATCH] completion: handle notmuch address --deduplicate= option
\r
46 Date: Sat, 26 Sep 2015 14:12:50 +0300
\r
47 Message-Id: <1443265970-9875-1-git-send-email-jani@nikula.org>
\r
48 X-Mailer: git-send-email 2.1.4
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.18
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Sat, 26 Sep 2015 11:13:12 -0000
\r
63 Complete notmuch address --deduplicate=(no|mailbox|address).
\r
65 completion/notmuch-completion.bash | 6 +++++-
\r
66 1 file changed, 5 insertions(+), 1 deletion(-)
\r
68 diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
\r
69 index 960275d1f672..68b069013655 100644
\r
70 --- a/completion/notmuch-completion.bash
\r
71 +++ b/completion/notmuch-completion.bash
\r
72 @@ -369,12 +369,16 @@ _notmuch_address()
\r
73 COMPREPLY=( $( compgen -W "true false flag all" -- "${cur}" ) )
\r
77 + COMPREPLY=( $( compgen -W "no mailbox address" -- "${cur}" ) )
\r
85 - local options="--format= --output= --sort= --exclude="
\r
86 + local options="--format= --output= --sort= --exclude= --deduplicate="
\r
88 COMPREPLY=( $(compgen -W "$options" -- ${cur}) )
\r