[PATCH 2/5] Add quotes around id:"message-id" queries.
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Thu Jul 1 09:08:24 PDT 2010
---
emacs/notmuch-message.el | 2 +-
emacs/notmuch-show.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el
index d5c96c2..4bc76b2 100644
--- a/emacs/notmuch-message.el
+++ b/emacs/notmuch-message.el
@@ -45,7 +45,7 @@ the \"inbox\" and \"todo\", you would set
str))
notmuch-message-replied-tags)))
(apply 'notmuch-call-notmuch-process "tag"
- (append tags (list (concat "id:" (car (car rep)))) nil))))))
+ (append tags (list (concat "id:\"" (car (car rep)) "\"")) nil))))))
(add-hook 'message-send-hook 'notmuch-message-mark-replied)
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index a845efc..c5e88f4 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -730,7 +730,7 @@ All currently available key bindings:
(defun notmuch-show-get-message-id (&optional props)
"Return the message id of the current message."
- (concat "id:" (notmuch-show-get-prop :id props)))
+ (concat "id:\"" (notmuch-show-get-prop :id props) "\""))
;; dme: Would it make sense to use a macro for many of these?
--
1.7.1
More information about the notmuch
mailing list