[PATCH] completion: complete lastmod: search prefix
authorJani Nikula <jani@nikula.org>
Sat, 17 Oct 2015 21:03:35 +0000 (00:03 +0300)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:49 +0000 (14:49 -0700)
ff/971533651953a3635fe55444df8032621330da [new file with mode: 0644]

diff --git a/ff/971533651953a3635fe55444df8032621330da b/ff/971533651953a3635fe55444df8032621330da
new file mode 100644 (file)
index 0000000..761817f
--- /dev/null
@@ -0,0 +1,85 @@
+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 arlo.cworth.org (Postfix) with ESMTP id 3D1296DE02DD\r
+ for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 14:04:08 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.547\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.547 tagged_above=-999 required=5 tests=[AWL=0.173,\r
+  RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id tO_TYNnnYX4j for <notmuch@notmuchmail.org>;\r
+ Sat, 17 Oct 2015 14:04:06 -0700 (PDT)\r
+Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com\r
+ [209.85.212.177])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 5AB7A6DE025F\r
+ for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 14:04:06 -0700 (PDT)\r
+Received: by wikq8 with SMTP id q8so4049342wik.1\r
+ for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 14:04:04 -0700 (PDT)\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:in-reply-to\r
+ :references;\r
+ bh=ecIzlcstZBxNViVOXI6J+iQzThCdb5FIhfHzHmJkzus=;\r
+ b=XWbGH64wfK8RsAnLP92rnyik6sLsPtHf1/2lwUfR4jja4eoajNSA2yRJPXcyvpHNSI\r
+ t7I6cKIOlxhxTen9ggRtfRi4f0iwLr2h6Y7R1nkOPIUh0yM/Xz/nD/ikKOO2TPE+mI2M\r
+ BCnw6jxG6VtKwPSDjBb/N638y+zyfFrTjyOIYrLiITfecZSZ/I6rw8o9xX9G/kyd5Gur\r
+ /9rqsLeBEKEPBknlMR5oTZigUWj8QtGmVmjB20kVTc97iHi2bqGJreNakSM9I9hfe2a1\r
+ C/NU2wyfjjYwBEpgWB/eJepKqFoancuBKlqgq7qo6Dxv28DwXb+RsCYnsfL7tGBHcU94\r
+ dVXg==\r
+X-Gm-Message-State:\r
+ ALoCoQmr0qYyuIS/m/644JlxzxoEEqQnwsLCYzN7eHyEvVOqk+CIkklOzUZjfVQTVY6VpyCTkwgb\r
+X-Received: by 10.194.209.240 with SMTP id\r
+ mp16mr25185026wjc.100.1445115844780;  Sat, 17 Oct 2015 14:04:04 -0700 (PDT)\r
+Received: from localhost (mobile-access-bcee43-111.dhcp.inet.fi.\r
+ [188.238.67.111])\r
+ by smtp.gmail.com with ESMTPSA id pb4sm30333100wjb.8.2015.10.17.14.04.03\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 17 Oct 2015 14:04:04 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] completion: complete lastmod: search prefix\r
+Date: Sun, 18 Oct 2015 00:03:35 +0300\r
+Message-Id: <1445115815-28261-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 2.1.4\r
+In-Reply-To: <1445099403-25998-3-git-send-email-jani@nikula.org>\r
+References: <1445099403-25998-3-git-send-email-jani@nikula.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Sat, 17 Oct 2015 21:04:08 -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 f24d9ecd337f..cc5839247c6c 100644\r
+--- a/completion/notmuch-completion.bash\r
++++ b/completion/notmuch-completion.bash\r
+@@ -86,7 +86,7 @@ _notmuch_search_terms()\r
+               sed "s|^$path/||" | grep -v "\(^\|/\)\(cur\|new\|tmp\)$" ) )\r
+           ;;\r
+       *)\r
+-          local search_terms="from: to: subject: attachment: mimetype: tag: id: thread: folder: path: date:"\r
++          local search_terms="from: to: subject: attachment: mimetype: tag: id: thread: folder: path: date: lastmod:"\r
+           compopt -o nospace\r
+           COMPREPLY=( $(compgen -W "${search_terms}" -- ${cur}) )\r
+           ;;\r
+-- \r
+2.1.4\r
+\r