[PATCH] emacs: add path: prefix to query completion
authorJani Nikula <jani@nikula.org>
Wed, 19 Mar 2014 16:53:06 +0000 (18:53 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:49 +0000 (10:00 -0800)
b5/5cc00556780e59084c879df35c0afd15b58991 [new file with mode: 0644]

diff --git a/b5/5cc00556780e59084c879df35c0afd15b58991 b/b5/5cc00556780e59084c879df35c0afd15b58991
new file mode 100644 (file)
index 0000000..e6787b9
--- /dev/null
@@ -0,0 +1,83 @@
+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 18831431FBF\r
+       for <notmuch@notmuchmail.org>; Wed, 19 Mar 2014 09:53:15 -0700 (PDT)\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 eUCcAO96hAdp for <notmuch@notmuchmail.org>;\r
+       Wed, 19 Mar 2014 09:53:11 -0700 (PDT)\r
+Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com\r
+ [74.125.83.42])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 1BB2E431FAF   for <notmuch@notmuchmail.org>; Wed, 19 Mar 2014 09:53:10 -0700\r
+ (PDT)\r
+Received: by mail-ee0-f42.google.com with SMTP id d17so6820668eek.15\r
+       for <notmuch@notmuchmail.org>; Wed, 19 Mar 2014 09:53:09 -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;\r
+       bh=U2Hh0t9qjt06AlY1BJ/0PSpCSOh1oQZPqLQpAGDJwis=;\r
+       b=Ql4KClNagYO+B9a9SS6O+QmLmZxWLUGdlP3ClOlJDxbhfQugzSJmpfyuvkH/XBoMOt\r
+       2yW7L56CGfyM0LTXnmOB/ivHcceUkgfL94P3lWgLVMV/a1nAklfnJfEbj2zAMGvMRKlc\r
+       BDYgo2ciLmn3KL3TNiA7Y6SWxnz+WCKqkSCwiJC3X2L2JiiHUG+QfnkLz8ypSnKyg6G8\r
+       wJ1QHN9Z9ZGrkTvtaq8ixQ00ul9Rt7ZYlhxwqU4Ru9aonLxJ+IC7RcI76ctQEcQtRNwS\r
+       HDNuB6L5yOW6jxWKTZMuQaEIxQTiwd2u24bKUNw/5mROIs56o/y0rOSLtXUXM35gbN3m\r
+       oDQw==\r
+X-Gm-Message-State:\r
+ ALoCoQmHJqgS+EGezVXpnv1hfHF8Kbl4uAPlRSZuSIJHsW9bdQPd5JnV6cdfpAemHb+KRd3W2OgJ\r
+X-Received: by 10.15.42.138 with SMTP id u10mr36928036eev.7.1395247989935;\r
+       Wed, 19 Mar 2014 09:53:09 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91]) by mx.google.com with ESMTPSA id\r
+       l42sm55770758eew.19.2014.03.19.09.53.08 for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Wed, 19 Mar 2014 09:53:09 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] emacs: add path: prefix to query completion\r
+Date: Wed, 19 Mar 2014 18:53:06 +0200\r
+Message-Id: <1395247986-21323-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 1.9.0\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: Wed, 19 Mar 2014 16:53:15 -0000\r
+\r
+Complete to the new path: prefix.\r
+---\r
+ emacs/notmuch.el | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+index 047175001c77..65baa0cb8886 100644\r
+--- a/emacs/notmuch.el\r
++++ b/emacs/notmuch.el\r
+@@ -829,7 +829,7 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."\r
+ PROMPT is the string to prompt with."\r
+   (lexical-let\r
+       ((completions\r
+-      (append (list "folder:" "thread:" "id:" "date:" "from:" "to:"\r
++      (append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"\r
+                     "subject:" "attachment:")\r
+               (mapcar (lambda (tag)\r
+                         (concat "tag:" (notmuch-escape-boolean-term tag)))\r
+-- \r
+1.9.0\r
+\r