Re: [PATCH v3 0/5] New output format sexp (Lisp S-Expressions)
[notmuch-archives.git] / 70 / 4210bc8dcaa8ad6b128283371fc937e7a88b9f
1 Return-Path: <jrollins@finestructure.net>\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 AB317431FB6\r
6         for <notmuch@notmuchmail.org>; Thu,  6 Dec 2012 18:54:37 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] 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 GGBDBUrDv7ci for <notmuch@notmuchmail.org>;\r
16         Thu,  6 Dec 2012 18:54:36 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 3C6DA431FAE\r
20         for <notmuch@notmuchmail.org>; Thu,  6 Dec 2012 18:54:36 -0800 (PST)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id E02CA66E0018;\r
23         Thu,  6 Dec 2012 18:54:33 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (m70.ligo.caltech.edu [131.215.115.170])\r
26         (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id A020766E001F;\r
28         Thu,  6 Dec 2012 18:54:30 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 85342616EF; Thu,  6 Dec 2012 18:54:30 -0800 (PST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Peter Feigl <craven@gmx.net>, notmuch@notmuchmail.org\r
33 Subject: Re: [PATCH v3 0/5] New output format sexp (Lisp S-Expressions)\r
34 In-Reply-To: <1354779189-12231-1-git-send-email-craven@gmx.net>\r
35 References: <1354632382-15609-1-git-send-email-craven@gmx.net>\r
36         <1354779189-12231-1-git-send-email-craven@gmx.net>\r
37 User-Agent: Notmuch/0.14+143~g175686e (http://notmuchmail.org) Emacs/24.2.1\r
38         (x86_64-pc-linux-gnu)\r
39 Date: Thu, 06 Dec 2012 18:54:30 -0800\r
40 Message-ID: <874njyinbt.fsf@servo.finestructure.net>\r
41 MIME-Version: 1.0\r
42 Content-Type: multipart/signed; boundary="=-=-=";\r
43         micalg=pgp-sha256; protocol="application/pgp-signature"\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Fri, 07 Dec 2012 02:54:37 -0000\r
57 \r
58 --=-=-=\r
59 Content-Type: text/plain\r
60 Content-Transfer-Encoding: quoted-printable\r
61 \r
62 Hi, Peter.  For future reference, I think we prefer to have new versions\r
63 of patch series in new threads.  I think it makes things much easier to\r
64 keep track of.\r
65 \r
66 jamie.\r
67 \r
68 On Wed, Dec 05 2012, Peter Feigl <craven@gmx.net> wrote:\r
69 > This patch series adds a new output format "sexp" to notmuch-reply,\r
70 > notmuch-show and notmuch-search. These are useful for the Android mobile\r
71 > client and perhaps other Lisp programs as well.\r
72 > After the switch to a generic structured output printer, which was\r
73 > committed some months ago, these patches just add another one (like the\r
74 > json structured output printer).\r
75 > Basic tests and updates to the man pages are also included.\r
76 >\r
77 > This version includes the fixes according to Austin Clements'\r
78 > comments. It also changes the output from alists to plists, as these\r
79 > should work just as fine on all Lisps.\r
80 >\r
81 > Peter Feigl (5):\r
82 >   Adding an S-expression structured output printer.\r
83 >   Rename the -json printer functions in notmuch-reply and notmuch-show\r
84 >     to     generic -sprinter functions.\r
85 >   Use the S-Expression structured printer in notmuch-show,\r
86 >     notmuch-reply     and notmuch-search.\r
87 >   Adding tests for --format=3Dsexp.\r
88 >   Updating man pages for new S-Expression output format.\r
89 >\r
90 >  Makefile.local            |   1 +\r
91 >  devel/schemata            |   8 +-\r
92 >  man/man1/notmuch-reply.1  |  14 ++-\r
93 >  man/man1/notmuch-search.1 |  15 +--\r
94 >  man/man1/notmuch-show.1   |  36 +++++--\r
95 >  notmuch-client.h          |   8 +-\r
96 >  notmuch-reply.c           |  48 ++++++----\r
97 >  notmuch-search.c          |   6 +-\r
98 >  notmuch-show.c            |  65 +++++++------\r
99 >  sprinter-sexp.c           | 238 ++++++++++++++++++++++++++++++++++++++++=\r
100 ++++++\r
101 >  sprinter.h                |   4 +\r
102 >  test/notmuch-test         |   1 +\r
103 >  test/sexp                 |  48 ++++++++++\r
104 >  13 files changed, 423 insertions(+), 69 deletions(-)\r
105 >  create mode 100644 sprinter-sexp.c\r
106 >  create mode 100755 test/sexp\r
107 >\r
108 > --=20\r
109 > 1.8.0\r
110 >\r
111 > _______________________________________________\r
112 > notmuch mailing list\r
113 > notmuch@notmuchmail.org\r
114 > http://notmuchmail.org/mailman/listinfo/notmuch\r
115 \r
116 --=-=-=\r
117 Content-Type: application/pgp-signature\r
118 \r
119 -----BEGIN PGP SIGNATURE-----\r
120 Version: GnuPG v1.4.12 (GNU/Linux)\r
121 \r
122 iQIcBAEBCAAGBQJQwVpmAAoJEO00zqvie6q8T7oP/jTNrzNxX9k+/Ep1emLyYS1z\r
123 /TklxzzoL0Ku4V7LPi9+bEZfYczvKoJDA854JrHddhfHe3NWc3BNtpluzNvwQXgj\r
124 KF0+OZOmu1Ctvp8ynprFC58rs+eNO7/0na7Wq7iSrL1m+B8lr2OL2TyxYyq06nNt\r
125 dCPLEUdQBVBj2o0ZNRxenj2+zr7tep4evfdknEn2HJY5DNyPcrLfMtKnXl085CcY\r
126 qAqjVLw9B+P//Z1SFekTE+eYfQFkN4naGI4H/EKdzfTDCzuVhB6VozBREMNJEJb0\r
127 IZaQ3asx8564fs6F8BaPQpRm9NgjyTDCsykqwBHpLavLtSFOaOLCHBJ13mqh8EyI\r
128 2qVYUD3QdL7OFrDDJ7XDgR1NTgWefjA11Uq/lhaho9htTWKWqZacJdNtPuNPN+Ql\r
129 96rnSIMKXPM9FTi8yK9oDuvelHy9SdhOJvbVCFZ7+eVR/nBKEmIW13iO9d9dbtQc\r
130 K8RYlyCZ0rENVd231a/GgFO//PR4n6wmumco62mOQByOoZJV/rqJOD24P7upFxwo\r
131 dMk4gEBd5DQv7NOtsC3+w0FrH2JSJx4D0jH7qGQFV8GYBJmB+ZvupjQyub56mLV8\r
132 KMxNLs5EtyZ+95xaYJeXQXK2SxhzxPYm3tmo7NW+8mbkqaqZ5u1gxsQEnTf6H3Vr\r
133 yPuI5zQ0LY/xxp8/0DSS\r
134 =+YtA\r
135 -----END PGP SIGNATURE-----\r
136 --=-=-=--\r