Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AB317431FB6 for ; Thu, 6 Dec 2012 18:54:37 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GGBDBUrDv7ci for ; Thu, 6 Dec 2012 18:54:36 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 3C6DA431FAE for ; Thu, 6 Dec 2012 18:54:36 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id E02CA66E0018; Thu, 6 Dec 2012 18:54:33 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (m70.ligo.caltech.edu [131.215.115.170]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id A020766E001F; Thu, 6 Dec 2012 18:54:30 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 85342616EF; Thu, 6 Dec 2012 18:54:30 -0800 (PST) From: Jameson Graef Rollins To: Peter Feigl , notmuch@notmuchmail.org Subject: Re: [PATCH v3 0/5] New output format sexp (Lisp S-Expressions) In-Reply-To: <1354779189-12231-1-git-send-email-craven@gmx.net> References: <1354632382-15609-1-git-send-email-craven@gmx.net> <1354779189-12231-1-git-send-email-craven@gmx.net> User-Agent: Notmuch/0.14+143~g175686e (http://notmuchmail.org) Emacs/24.2.1 (x86_64-pc-linux-gnu) Date: Thu, 06 Dec 2012 18:54:30 -0800 Message-ID: <874njyinbt.fsf@servo.finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 02:54:37 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Peter. For future reference, I think we prefer to have new versions of patch series in new threads. I think it makes things much easier to keep track of. jamie. On Wed, Dec 05 2012, Peter Feigl wrote: > This patch series adds a new output format "sexp" to notmuch-reply, > notmuch-show and notmuch-search. These are useful for the Android mobile > client and perhaps other Lisp programs as well. > After the switch to a generic structured output printer, which was > committed some months ago, these patches just add another one (like the > json structured output printer). > Basic tests and updates to the man pages are also included. > > This version includes the fixes according to Austin Clements' > comments. It also changes the output from alists to plists, as these > should work just as fine on all Lisps. > > Peter Feigl (5): > Adding an S-expression structured output printer. > Rename the -json printer functions in notmuch-reply and notmuch-show > to generic -sprinter functions. > Use the S-Expression structured printer in notmuch-show, > notmuch-reply and notmuch-search. > Adding tests for --format=3Dsexp. > Updating man pages for new S-Expression output format. > > Makefile.local | 1 + > devel/schemata | 8 +- > man/man1/notmuch-reply.1 | 14 ++- > man/man1/notmuch-search.1 | 15 +-- > man/man1/notmuch-show.1 | 36 +++++-- > notmuch-client.h | 8 +- > notmuch-reply.c | 48 ++++++---- > notmuch-search.c | 6 +- > notmuch-show.c | 65 +++++++------ > sprinter-sexp.c | 238 ++++++++++++++++++++++++++++++++++++++++= ++++++ > sprinter.h | 4 + > test/notmuch-test | 1 + > test/sexp | 48 ++++++++++ > 13 files changed, 423 insertions(+), 69 deletions(-) > create mode 100644 sprinter-sexp.c > create mode 100755 test/sexp > > --=20 > 1.8.0 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQwVpmAAoJEO00zqvie6q8T7oP/jTNrzNxX9k+/Ep1emLyYS1z /TklxzzoL0Ku4V7LPi9+bEZfYczvKoJDA854JrHddhfHe3NWc3BNtpluzNvwQXgj KF0+OZOmu1Ctvp8ynprFC58rs+eNO7/0na7Wq7iSrL1m+B8lr2OL2TyxYyq06nNt dCPLEUdQBVBj2o0ZNRxenj2+zr7tep4evfdknEn2HJY5DNyPcrLfMtKnXl085CcY qAqjVLw9B+P//Z1SFekTE+eYfQFkN4naGI4H/EKdzfTDCzuVhB6VozBREMNJEJb0 IZaQ3asx8564fs6F8BaPQpRm9NgjyTDCsykqwBHpLavLtSFOaOLCHBJ13mqh8EyI 2qVYUD3QdL7OFrDDJ7XDgR1NTgWefjA11Uq/lhaho9htTWKWqZacJdNtPuNPN+Ql 96rnSIMKXPM9FTi8yK9oDuvelHy9SdhOJvbVCFZ7+eVR/nBKEmIW13iO9d9dbtQc K8RYlyCZ0rENVd231a/GgFO//PR4n6wmumco62mOQByOoZJV/rqJOD24P7upFxwo dMk4gEBd5DQv7NOtsC3+w0FrH2JSJx4D0jH7qGQFV8GYBJmB+ZvupjQyub56mLV8 KMxNLs5EtyZ+95xaYJeXQXK2SxhzxPYm3tmo7NW+8mbkqaqZ5u1gxsQEnTf6H3Vr yPuI5zQ0LY/xxp8/0DSS =+YtA -----END PGP SIGNATURE----- --=-=-=--