1 Return-Path: <prvs=jrosenthal=720713242@jhu.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 A93154196F3
\r
6 for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 14:22:09 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5
\r
12 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
\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 KTpm1ekJ2MKj for <notmuch@notmuchmail.org>;
\r
16 Wed, 21 Apr 2010 14:22:09 -0700 (PDT)
\r
17 Received: from ipex2.johnshopkins.edu (ipex2.johnshopkins.edu [162.129.8.151])
\r
18 by olra.theworths.org (Postfix) with ESMTP id EA3C84196F2
\r
19 for <notmuch@notmuchmail.org>; Wed, 21 Apr 2010 14:22:08 -0700 (PDT)
\r
20 X-IronPort-Anti-Spam-Filtered: true
\r
21 X-IronPort-Anti-Spam-Result: AvsEAFcJz0uA3DZF/2dsb2JhbACcGnG1HIhdhQ4E
\r
22 X-IronPort-AV: E=Sophos;i="4.52,252,1270440000"; d="scan'208";a="323578513"
\r
23 Received: from watt.gilman.jhu.edu ([128.220.54.69])
\r
24 by ipex2.johnshopkins.edu with ESMTP/TLS/ADH-AES256-SHA;
\r
25 21 Apr 2010 17:22:08 -0400
\r
26 Received: by watt.gilman.jhu.edu (Postfix, from userid 502)
\r
27 id 11B2D4E2BAA; Wed, 21 Apr 2010 17:22:08 -0400 (EDT)
\r
28 From: Jesse Rosenthal <jrosenthal@jhu.edu>
\r
29 To: Carl Worth <cworth@cworth.org>, notmuch@notmuchmail.org
\r
30 Subject: [PATCH] Reintroduce patch to quote args in notmuch-show to facilitate
\r
32 In-Reply-To: <87pr23l429.fsf@yoom.home.cworth.org>
\r
33 References: <m1my03gsmu.fsf@watt.gilman.jhu.edu>
\r
34 <87pr23l429.fsf@yoom.home.cworth.org>
\r
35 Date: Wed, 21 Apr 2010 17:22:08 -0400
\r
36 Message-ID: <m14oj4qz5r.fsf@watt.gilman.jhu.edu>
\r
38 Content-Type: text/plain; charset=us-ascii
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.13
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Wed, 21 Apr 2010 21:22:09 -0000
\r
53 This reintroduces the patch committed in 9193455fa1, which was
\r
54 reverted during the upgrade to the JSON emacs UI.
\r
56 emacs/notmuch-show.el | 4 ++--
\r
57 1 files changed, 2 insertions(+), 2 deletions(-)
\r
59 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
60 index 916b39e..12e5d28 100644
\r
61 --- a/emacs/notmuch-show.el
\r
62 +++ b/emacs/notmuch-show.el
\r
63 @@ -470,8 +470,8 @@ function is used. "
\r
65 (let* ((basic-args (list thread-id))
\r
66 (args (if query-context
\r
67 - (append basic-args (list "and (" query-context ")"))
\r
69 + (append (list "\"") basic-args (list "and (" query-context ")\""))
\r
70 + (append (list "\"") basic-args (list "\"")))))
\r
71 (notmuch-show-insert-forest (notmuch-query-get-threads args))
\r
72 ;; If the query context reduced the results to nothing, run
\r