1 Return-Path: <bart@jukie.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 50A85431FBC
\r
6 for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 07:32:17 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id PmC3wLxyFoUx for <notmuch@notmuchmail.org>;
\r
11 Wed, 25 Nov 2009 07:32:16 -0800 (PST)
\r
12 Received: from tau.jukie.net (tau.jukie.net [216.239.93.128])
\r
13 by olra.theworths.org (Postfix) with ESMTP id 38C2A431FAE
\r
14 for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 07:32:16 -0800 (PST)
\r
15 Received: by tau.jukie.net (Postfix, from userid 1000)
\r
16 id 774B7C0090B; Wed, 25 Nov 2009 10:32:15 -0500 (EST)
\r
17 Date: Wed, 25 Nov 2009 10:32:15 -0500
\r
18 From: Bart Trojanowski <bart@jukie.net>
\r
19 To: Jeffrey Ollie <jeff@ocjtech.us>
\r
20 Message-ID: <20091125153215.GE29312@jukie.net>
\r
22 <1259125080-18708-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>
\r
23 <86fx83qirs.fsf@fortitudo.i-did-not-set--mail-host-address--so-tickle-me>
\r
24 <935ead450911250633n62858038yfb1eeea98fd23bdc@mail.gmail.com>
\r
26 Content-Type: text/plain; charset=us-ascii
\r
27 Content-Disposition: inline
\r
28 In-Reply-To: <935ead450911250633n62858038yfb1eeea98fd23bdc@mail.gmail.com>
\r
29 User-Agent: Mutt/1.5.18 (2008-05-17)
\r
30 Cc: notmuch@notmuchmail.org
\r
31 Subject: Re: [notmuch] [PATCH -v4] notmuch.el: Add face support to
\r
32 search and show mode
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.12
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Wed, 25 Nov 2009 15:32:17 -0000
\r
47 * Jeffrey Ollie <jeff@ocjtech.us> [091125 09:33]:
\r
48 > On Tue, Nov 24, 2009 at 11:24 PM, Alexander Botero-Lowry
\r
49 > <alex.boterolowry@gmail.com> wrote:
\r
51 > > This way of detecting the tags seems ok, but I think it would be nicer
\r
52 > > if it could be done even more deterministically. :) One idea that be
\r
53 > > neat is to have a --format=sexp for notmuch search, which exports sexps
\r
54 > > (probably alists, but could be some other format) for the search results
\r
55 > > that can just be eval'd and processed in a cleaner way (and would also
\r
56 > > make for nicer APIs in emacs for querying notmuch itself). Actually I
\r
57 > > really like the idea of a sexp output mode for show too, instead of the
\r
58 > > markers.... *plots*
\r
60 > Along the same lines, I was thinking that it would be nice to be able
\r
61 > to get output formatted in JSON as well for possible use in a web
\r
62 > front-end. Actually, it looks like Emacs has support for JSON as
\r
63 > well[1]. Not sure what release it was introduced in, but I see that
\r
66 > http://edward.oconnor.cx/2006/03/json.el
\r
68 Would it be possible to make templates for output?
\r
70 notmuch show --format=json would have notmuch follow rules from
\r
71 .notmuch/json.template (or somesuch)
\r
76 WebSig: http://www.jukie.net/~bart/sig/
\r