1 Return-Path: <amdragon@mit.edu>
\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 olra.theworths.org (Postfix) with ESMTP id 61F45431FC4
\r
6 for <notmuch@notmuchmail.org>; Fri, 26 Oct 2012 13:18:26 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 19OlRTho2VIo for <notmuch@notmuchmail.org>;
\r
16 Fri, 26 Oct 2012 13:18:25 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id 7F1EC431FC9
\r
20 for <notmuch@notmuchmail.org>; Fri, 26 Oct 2012 13:18:21 -0700 (PDT)
\r
21 X-AuditID: 12074424-b7fce6d000000925-ef-508af00bcab7
\r
22 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])
\r
23 by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 50.D2.02341.B00FA805; Fri, 26 Oct 2012 16:18:19 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q9QKIHxf006735;
\r
27 Fri, 26 Oct 2012 16:18:17 -0400
\r
28 Received: from drake.dyndns.org (26-4-172.dynamic.csail.mit.edu [18.26.4.172])
\r
29 (authenticated bits=0)
\r
30 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
31 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q9QKIFib024593
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Fri, 26 Oct 2012 16:18:17 -0400 (EDT)
\r
34 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1TRqMB-0002zZ-98; Fri, 26 Oct 2012 16:18:15 -0400
\r
37 From: Austin Clements <amdragon@MIT.EDU>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH 3/3] emacs: Escape tag queries suggested by tab completion
\r
40 Date: Fri, 26 Oct 2012 16:18:12 -0400
\r
41 Message-Id: <1351282692-11455-3-git-send-email-amdragon@mit.edu>
\r
42 X-Mailer: git-send-email 1.7.10
\r
43 In-Reply-To: <1351282692-11455-1-git-send-email-amdragon@mit.edu>
\r
44 References: <1351282692-11455-1-git-send-email-amdragon@mit.edu>
\r
45 X-Brightmail-Tracker:
\r
46 H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixG6nrsv9oSvAoOucuMX1mzOZHRg9nq26
\r
47 xRzAGMVlk5Kak1mWWqRvl8CV0TL/JHvBFNaK4z09zA2ME1m6GDk5JARMJPpXb2aHsMUkLtxb
\r
48 z9bFyMUhJLCPUeLYlvPsEM4GRol1e6+yQjinmCQ23F8N5cxllNiyuB1sFpuAhsS2/csZQWwR
\r
49 AWmJnXdnAxVxcDALqEn86VIBCQsLeEmsnHQNbB2LgKpE/4arbCA2r4CDxIPpu5ggzpCXeHq/
\r
50 jw2klVPAUWLXokKQsBBQyfL1vcwTGPkXMDKsYpRNya3SzU3MzClOTdYtTk7My0st0jXXy80s
\r
51 0UtNKd3ECA4aF5UdjM2HlA4xCnAwKvHw7njSFSDEmlhWXJl7iFGSg0lJlHfhc6AQX1J+SmVG
\r
52 YnFGfFFpTmrxIUYJDmYlEd6iY0A53pTEyqrUonyYlDQHi5I47/WUm/5CAumJJanZqakFqUUw
\r
53 WRkODiUJ3tfvgBoFi1LTUyvSMnNKENJMHJwgw3mAhi8DqeEtLkjMLc5Mh8ifYlSUEuedD5IQ
\r
54 AElklObB9cKi+hWjONArwrxu74GqeIAJAa77FdBgJqDBYqydIINLEhFSUg2MuyJPGEz2ZL0z
\r
55 OVetbeO8hd9MKu6pPvSMXMOj1zW5zVP0c+90j2aWmtkKqzundl186nZK9PfOYI/l1wL6Mtet
\r
56 fs/bm3Qg49xqz3uqB3Qi1e+mHygv2HqbMVjyx8G2pJmvoooCTv99+tRkoTRTu1bLzct3a48n
\r
57 11zK9dk0req7p7nP6r4tFnuWKLEUZyQaajEXFScCAHUaHK/FAgAA
\r
58 X-BeenThere: notmuch@notmuchmail.org
\r
59 X-Mailman-Version: 2.1.13
\r
61 List-Id: "Use and development of the notmuch mail system."
\r
62 <notmuch.notmuchmail.org>
\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
66 List-Post: <mailto:notmuch@notmuchmail.org>
\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
70 X-List-Received-Date: Fri, 26 Oct 2012 20:18:26 -0000
\r
73 emacs/notmuch.el | 2 +-
\r
74 1 file changed, 1 insertion(+), 1 deletion(-)
\r
76 diff --git a/emacs/notmuch.el b/emacs/notmuch.el
\r
77 index a8a85ce..60e8bf9 100644
\r
78 --- a/emacs/notmuch.el
\r
79 +++ b/emacs/notmuch.el
\r
80 @@ -917,7 +917,7 @@ PROMPT is the string to prompt with."
\r
81 (append (list "folder:" "thread:" "id:" "date:" "from:" "to:"
\r
82 "subject:" "attachment:")
\r
83 (mapcar (lambda (tag)
\r
84 - (concat "tag:" tag))
\r
85 + (concat "tag:" (notmuch-escape-boolean-term tag)))
\r
86 (process-lines notmuch-command "search" "--output=tags" "*")))))
\r
87 (let ((keymap (copy-keymap minibuffer-local-map))
\r
88 (minibuffer-completion-table
\r