On Tue, Nov 24, 2009 at 11:24 PM, Alexander Botero-Lowry <alex.boterolowry@gmail.com> wrote: > > This way of detecting the tags seems ok, but I think it would be nicer > if it could be done even more deterministically. :) One idea that be > neat is to have a --format=sexp for notmuch search, which exports sexps > (probably alists, but could be some other format) for the search results > that can just be eval'd and processed in a cleaner way (and would also > make for nicer APIs in emacs for querying notmuch itself). Actually I > really like the idea of a sexp output mode for show too, instead of the > markers.... *plots* Along the same lines, I was thinking that it would be nice to be able to get output formatted in JSON as well for possible use in a web front-end. Actually, it looks like Emacs has support for JSON as well[1]. Not sure what release it was introduced in, but I see that it's in 23.1. http://edward.oconnor.cx/2006/03/json.el -- Jeff Ollie