1 Return-Path: <amdragon@mit.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 B772F429E44
\r
6 for <notmuch@notmuchmail.org>; Sat, 1 Dec 2012 18:40:32 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\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 p-BTMPG8vupK for <notmuch@notmuchmail.org>;
\r
16 Sat, 1 Dec 2012 18:40:31 -0800 (PST)
\r
17 Received: from dmz-mailsec-scanner-6.mit.edu (DMZ-MAILSEC-SCANNER-6.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id DC869431FC3
\r
20 for <notmuch@notmuchmail.org>; Sat, 1 Dec 2012 18:40:22 -0800 (PST)
\r
21 X-AuditID: 12074423-b7fcb6d000000927-c0-50babf96ff51
\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
23 by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id C6.57.02343.69FBAB05; Sat, 1 Dec 2012 21:40:22 -0500 (EST)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id qB22eBGe013711;
\r
27 Sat, 1 Dec 2012 21:40:11 -0500
\r
28 Received: from drake.dyndns.org
\r
29 (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com
\r
30 [209.6.116.242]) (authenticated bits=0)
\r
31 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
32 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id qB22e6ch025606
\r
33 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
34 Sat, 1 Dec 2012 21:40:10 -0500 (EST)
\r
35 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)
\r
36 (envelope-from <amdragon@mit.edu>)
\r
37 id 1TezTS-0000xq-6Y; Sat, 01 Dec 2012 21:40:06 -0500
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH 10/10] emacs: Use --use-schema for show and reply
\r
41 Date: Sat, 1 Dec 2012 21:40:02 -0500
\r
42 Message-Id: <1354416002-3557-10-git-send-email-amdragon@mit.edu>
\r
43 X-Mailer: git-send-email 1.7.10.4
\r
44 In-Reply-To: <1354416002-3557-1-git-send-email-amdragon@mit.edu>
\r
45 References: <1354416002-3557-1-git-send-email-amdragon@mit.edu>
\r
46 X-Brightmail-Tracker:
\r
47 H4sIAAAAAAAAA+NgFtrIIsWRmVeSWpSXmKPExsUixCmqrDtt/64Ag+9vZCyu35zJ7MDo8WzV
\r
48 LeYAxigum5TUnMyy1CJ9uwSujO51eQVTOSv+znnF2MC4n72LkZNDQsBEYsrlE8wQtpjEhXvr
\r
49 2boYuTiEBPYxSiw5ehPKWc8osb6rlxnCecgksW/OfEYIZy6jxKNV/xhB+tkENCS27V8OZosI
\r
50 SEvsvDubtYuRg4NZQE3iT5cKSFhYwFHi5/7NYCUsAqoSe/d9YgWxeQUcJLqffYI6QxHInsAG
\r
51 0soJFF/RzQMSFhKwl/j/+xrbBEb+BYwMqxhlU3KrdHMTM3OKU5N1i5MT8/JSi3TN9HIzS/RS
\r
52 U0o3MYJCht1FeQfjn4NKhxgFOBiVeHgj5uwKEGJNLCuuzD3EKMnBpCTKe2UHUIgvKT+lMiOx
\r
53 OCO+qDQntfgQowQHs5IIL4sJUI43JbGyKrUoHyYlzcGiJM57LeWmv5BAemJJanZqakFqEUxW
\r
54 hoNDSYL38l6gRsGi1PTUirTMnBKENBMHJ8hwHqDh4ftAhhcXJOYWZ6ZD5E8xKkqJ8/qBJARA
\r
55 EhmleXC9sJh+xSgO9IowrydIFQ8wHcB1vwIazAQ0+M2y7SCDSxIRUlINjMKfrAw//Pt9e+LP
\r
56 03P+v4vfpZaW2/hDzPT2tNpV/EW9kkxTI7w3CDi9WqLVvGNaTVRJ+ivJa9N27vjA3fcxqH7P
\r
57 xF82xo9f/1q8nmOKrrvsI6cfic/i5upYtyY/Tl7DtSLsJfOhfUf8VV7xK3/guW10Na593//E
\r
58 eGenmec3Te+3//jujBzX189KLMUZiYZazEXFiQAgdSVgxAIAAA==
\r
59 X-BeenThere: notmuch@notmuchmail.org
\r
60 X-Mailman-Version: 2.1.13
\r
62 List-Id: "Use and development of the notmuch mail system."
\r
63 <notmuch.notmuchmail.org>
\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
67 List-Post: <mailto:notmuch@notmuchmail.org>
\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
71 X-List-Received-Date: Sun, 02 Dec 2012 02:40:33 -0000
\r
74 emacs/notmuch-mua.el | 2 +-
\r
75 emacs/notmuch-query.el | 2 +-
\r
76 2 files changed, 2 insertions(+), 2 deletions(-)
\r
78 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
\r
79 index ac2d29e..0e1c7a7 100644
\r
80 --- a/emacs/notmuch-mua.el
\r
81 +++ b/emacs/notmuch-mua.el
\r
82 @@ -146,7 +146,7 @@ list."
\r
83 (unless (bolp) (insert "\n")))
\r
85 (defun notmuch-mua-reply (query-string &optional sender reply-all)
\r
86 - (let ((args '("reply" "--format=json"))
\r
87 + (let ((args '("reply" "--format=json" "--use-schema=1"))
\r
90 (when notmuch-show-process-crypto
\r
91 diff --git a/emacs/notmuch-query.el b/emacs/notmuch-query.el
\r
92 index e7e3520..7517aec 100644
\r
93 --- a/emacs/notmuch-query.el
\r
94 +++ b/emacs/notmuch-query.el
\r
95 @@ -29,7 +29,7 @@ A thread is a forest or list of trees. A tree is a two element
\r
96 list where the first element is a message, and the second element
\r
97 is a possibly empty forest of replies.
\r
99 - (let ((args '("show" "--format=json")))
\r
100 + (let ((args '("show" "--format=json" "--use-schema=1")))
\r
101 (if notmuch-show-process-crypto
\r
102 (setq args (append args '("--decrypt"))))
\r
103 (setq args (append args search-terms))
\r