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 CD920431FD8
\r
6 for <notmuch@notmuchmail.org>; Sun, 23 Jun 2013 16:43:43 -0700 (PDT)
\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 zMmSre5yuiJy for <notmuch@notmuchmail.org>;
\r
16 Sun, 23 Jun 2013 16:43:37 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 6F76D431FB6
\r
20 for <notmuch@notmuchmail.org>; Sun, 23 Jun 2013 16:43:37 -0700 (PDT)
\r
21 X-AuditID: 1209190c-b7fa48e000000947-22-51c788281a23
\r
22 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])
\r
23 by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 02.93.02375.82887C15; Sun, 23 Jun 2013 19:43:37 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
\r
26 by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id r5NNhPke009143;
\r
27 Sun, 23 Jun 2013 19:43:26 -0400
\r
28 Received: from drake.dyndns.org
\r
29 (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com
\r
30 [216.15.114.40]) (authenticated bits=0)
\r
31 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
32 by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r5NNhN1G023369
\r
33 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
34 Sun, 23 Jun 2013 19:43:25 -0400
\r
35 Received: from amthrax by drake.dyndns.org with local (Exim 4.77)
\r
36 (envelope-from <amdragon@mit.edu>)
\r
37 id 1UqtwK-0000L6-0G; Sun, 23 Jun 2013 19:43:24 -0400
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH 3/3] emacs: Remove `notmuch-call-notmuch-json'
\r
41 Date: Sun, 23 Jun 2013 19:43:19 -0400
\r
42 Message-Id: <1372030999-1262-3-git-send-email-amdragon@mit.edu>
\r
43 X-Mailer: git-send-email 1.7.10.4
\r
44 In-Reply-To: <1372030999-1262-1-git-send-email-amdragon@mit.edu>
\r
45 References: <1372030999-1262-1-git-send-email-amdragon@mit.edu>
\r
46 X-Brightmail-Tracker:
\r
47 H4sIAAAAAAAAA+NgFtrIIsWRmVeSWpSXmKPExsUixCmqravZcTzQ4HqgxfWbM5kdGD2erbrF
\r
48 HMAYxWWTkpqTWZZapG+XwJXx6cI05oK3XBVHH91jb2C8ytHFyMkhIWAi8evODFYIW0ziwr31
\r
49 bF2MXBxCAvsYJU7dPcQK4WxklDi86RkThHOHSeLDxTmMEM5cRonfTb1g/WwCGhLb9i9nBLFF
\r
50 BKQldt6dDRTn4GAWUJP406UCEhYWsJN41rEFrJxFQFVixpRpzCA2r4C9RNOrX1BnKEp0P5vA
\r
51 BmJzCjhI/P8xkR1kjBBQzdwVSRMY+RcwMqxilE3JrdLNTczMKU5N1i1OTszLSy3SNdTLzSzR
\r
52 S00p3cQIDhlJnh2Mbw4qHWIU4GBU4uH9YXk8UIg1say4MvcQoyQHk5Io7/kWoBBfUn5KZUZi
\r
53 cUZ8UWlOavEhRgkOZiUR3l4roBxvSmJlVWpRPkxKmoNFSZxX5NbOQCGB9MSS1OzU1ILUIpis
\r
54 DAeHkgSvVTtQo2BRanpqRVpmTglCmomDE2Q4D9DwbSA1vMUFibnFmekQ+VOMilLivIUgCQGQ
\r
55 REZpHlwvLKZfMYoDvSLM2w5SxQNMB3Ddr4AGMwENnpwKNrgkESEl1cDoKPXG4HzptENSX+5P
\r
56 Mm8223IwkltyshyLcFLbXHm+eAX1OYbrjvlts7d/VLpPX05WVHo905rtX/bG3Jl3MvFe3Umz
\r
57 vSnGfRf9VH/8mGnu1DFJ3SxQWmHm54aLQsmZDbO2LJ7F135iuTnrIZYG6S9R7RpSz26f2zvr
\r
58 Q1huz5N9t7caer/q6dZTYinOSDTUYi4qTgQAx01tG8QCAAA=
\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, 23 Jun 2013 23:43:44 -0000
\r
73 This function is no longer used.
\r
75 emacs/notmuch-lib.el | 22 ----------------------
\r
76 1 file changed, 22 deletions(-)
\r
78 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
\r
79 index 36eacc1..da814d5 100644
\r
80 --- a/emacs/notmuch-lib.el
\r
81 +++ b/emacs/notmuch-lib.el
\r
82 @@ -462,28 +462,6 @@ You may need to restart Emacs or upgrade your notmuch package."))
\r
83 ;; `notmuch-logged-error' does not return.
\r
86 -(defun notmuch-call-notmuch-json (&rest args)
\r
87 - "Invoke `notmuch-command' with ARGS and return the parsed JSON output.
\r
89 -The returned output will represent objects using property lists
\r
90 -and arrays as lists. If notmuch exits with a non-zero status,
\r
91 -this will pop up a buffer containing notmuch's output and signal
\r
95 - (let ((err-file (make-temp-file "nmerr")))
\r
97 - (let ((status (apply #'call-process
\r
98 - notmuch-command nil (list t err-file) nil args)))
\r
99 - (notmuch-check-exit-status status (cons notmuch-command args)
\r
100 - (buffer-string) err-file)
\r
101 - (goto-char (point-min))
\r
102 - (let ((json-object-type 'plist)
\r
103 - (json-array-type 'list)
\r
104 - (json-false 'nil))
\r
106 - (delete-file err-file)))))
\r
108 (defun notmuch-call-notmuch-sexp (&rest args)
\r
109 "Invoke `notmuch-command' with ARGS and return the parsed S-exp output.
\r