unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jeffrey Ollie <jeff@ocjtech.us>
To: Alexander Botero-Lowry <alex.boterolowry@gmail.com>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH -v4] notmuch.el: Add face support to search and show mode
Date: Wed, 25 Nov 2009 08:33:01 -0600	[thread overview]
Message-ID: <935ead450911250633n62858038yfb1eeea98fd23bdc@mail.gmail.com> (raw)
In-Reply-To: <86fx83qirs.fsf@fortitudo.i-did-not-set--mail-host-address--so-tickle-me>

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

  reply	other threads:[~2009-11-25 14:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25  4:58 [PATCH -v4] notmuch.el: Add face support to search and show mode Aneesh Kumar K.V
2009-11-25  5:24 ` Alexander Botero-Lowry
2009-11-25 14:33   ` Jeffrey Ollie [this message]
2009-11-25 15:32     ` Bart Trojanowski
2009-11-25 15:47   ` Aneesh Kumar K. V
2009-11-27  8:42 ` [PATCH -v5] notmuch.el: Add face support to search mode Aneesh Kumar K.V
2009-11-27  8:42   ` [PATCH -v5] notmuch.el: Use message-mode font-face to highlight mail headers Aneesh Kumar K.V
2009-11-27 10:14     ` [PATCH -v6] " Aneesh Kumar K.V
2009-11-28  5:02       ` Carl Worth
2009-11-28  6:07   ` [PATCH -v6] notmuch.el: Add face support to search mode Aneesh Kumar K.V
2009-11-28  6:56     ` Carl Worth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=935ead450911250633n62858038yfb1eeea98fd23bdc@mail.gmail.com \
    --to=jeff@ocjtech.us \
    --cc=alex.boterolowry@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).