From 0a4663ff43c563ebe25234afb0ae012bc2c42959 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 26 Oct 2012 16:18:12 -0400 Subject: [PATCH] emacs: Escape tag queries suggested by tab completion --- emacs/notmuch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index a8a85ce7..60e8bf95 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -917,7 +917,7 @@ PROMPT is the string to prompt with." (append (list "folder:" "thread:" "id:" "date:" "from:" "to:" "subject:" "attachment:") (mapcar (lambda (tag) - (concat "tag:" tag)) + (concat "tag:" (notmuch-escape-boolean-term tag))) (process-lines notmuch-command "search" "--output=tags" "*"))))) (let ((keymap (copy-keymap minibuffer-local-map)) (minibuffer-completion-table -- 2.26.2