From 44982ab33295009137e3740e644e793a08629762 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Wed, 21 Apr 2010 17:22:08 -0400 Subject: [PATCH] Reintroduce patch to quote args in notmuch-show to facilitate remote use This reintroduces the patch committed in 9193455fa1, which was reverted during the upgrade to the JSON emacs UI. --- emacs/notmuch-show.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 916b39e3..12e5d282 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -470,8 +470,8 @@ function is used. " (save-excursion (let* ((basic-args (list thread-id)) (args (if query-context - (append basic-args (list "and (" query-context ")")) - basic-args))) + (append (list "\"") basic-args (list "and (" query-context ")\"")) + (append (list "\"") basic-args (list "\""))))) (notmuch-show-insert-forest (notmuch-query-get-threads args)) ;; If the query context reduced the results to nothing, run ;; the basic query.