From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BCA53431FD6 for ; Fri, 26 Oct 2012 13:18:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 NT-tYM8rQn1Q for ; Fri, 26 Oct 2012 13:18:29 -0700 (PDT) Received: from dmz-mailsec-scanner-4.mit.edu (DMZ-MAILSEC-SCANNER-4.MIT.EDU [18.9.25.15]) by olra.theworths.org (Postfix) with ESMTP id 188AE431FC4 for ; Fri, 26 Oct 2012 13:18:29 -0700 (PDT) X-AuditID: 1209190f-b7f636d00000095b-1e-508af01404de Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id FD.CD.02395.410FA805; Fri, 26 Oct 2012 16:18:28 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q9QKIHrp006736; Fri, 26 Oct 2012 16:18:17 -0400 Received: from drake.dyndns.org (26-4-172.dynamic.csail.mit.edu [18.26.4.172]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q9QKIFPr024592 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Fri, 26 Oct 2012 16:18:17 -0400 (EDT) Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1TRqMB-0002zX-86; Fri, 26 Oct 2012 16:18:15 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH 2/3] emacs: Escape tag queries performed by hello Date: Fri, 26 Oct 2012 16:18:11 -0400 Message-Id: <1351282692-11455-2-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1351282692-11455-1-git-send-email-amdragon@mit.edu> References: <1351282692-11455-1-git-send-email-amdragon@mit.edu> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixG6nrivyoSvA4PIxdYvrN2cyOzB6PFt1 izmAMYrLJiU1J7MstUjfLoErY8HhL4wF21kr5l1Zx9rAuIGli5GTQ0LAROL9tyVQtpjEhXvr 2boYuTiEBPYxStzbe5IdwtnAKLF89ReozCkmiZm7vzBDOHMZJXa9fMcI0s8moCGxbf9yMFtE QFpi593ZrF2MHBzMAmoSf7pUQMLCAo4SDf+PMYHYLAKqEtsuv2YFsXkFHCS6rh5ihjhDXuLp /T42kFZOoPpdiwpBwkJAJcvX9zJPYORfwMiwilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdELzez RC81pXQTIyhoOCX5dzB+O6h0iFGAg1GJh3fHk64AIdbEsuLK3EOMkhxMSqK8C58DhfiS8lMq MxKLM+KLSnNSiw8xSnAwK4nwFh0DyvGmJFZWpRblw6SkOViUxHmvptz0FxJITyxJzU5NLUgt gsnKcHAoSfC+fgfUKFiUmp5akZaZU4KQZuLgBBnOAzR8GUgNb3FBYm5xZjpE/hSjopQ474r3 QAkBkERGaR5cLyyqXzGKA70izOsGUsUDTAhw3a+ABjMBDRZj7QQZXJKIkJJqYOSN2FHTzLnw yoV7wnt63vCoR+4XZv0+Xd+RMch19XZdkzQ9ey6ZOk5Wi5znnzYmvK599PUWX82JqmyOrc66 YZlMNtzMi2vZvJbFxVYm+C1YwitZ+WmanqrFQa59b76It93fL7YhbRH3gdB5Bqcurr1yJTVX w77+S5vUHc2qKJ2rCbO+Mfh4KbEUZyQaajEXFScCAGSS7wDFAgAA 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: Fri, 26 Oct 2012 20:18:30 -0000 --- emacs/notmuch-hello.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 052aaeb..be50aae 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -500,7 +500,7 @@ Complete list of currently available key bindings: (defun notmuch-hello-generate-tag-alist (&optional hide-tags) "Return an alist from tags to queries to display in the all-tags section." (mapcar (lambda (tag) - (cons tag (format "tag:%s" tag))) + (cons tag (concat "tag:" (notmuch-escape-boolean-term tag)))) (notmuch-remove-if-not (lambda (tag) (not (member tag hide-tags))) -- 1.7.10