About the json output and the number of results shown.

2011-01-12 Thread Mike Kelly
I've had other problems attempting to use the JSON interface recently. For starters, if I'm simply trying to retrieve a single message, the interface is rather awkard. I seem to need to do something like: my $json = `notmuch show --format=json id:$message_id`; my $parsed_json =

About the json output and the number of results shown.

2011-01-12 Thread Christophe-Marie Duquesne
Hi, The notmuch command line tool has an option that seems very interesting to me: --output=json In several languages, and especially in python, json is as easy to parse as: >>> res = json.load(stream) If your stream contains valid json, you then get all your data in res and you can immediately

[PATCH] Have to configure and build inside the source directory.

2011-01-12 Thread Michal Sojka
On Tue, 11 Jan 2011, Thomas Schwinge wrote: > From: Thomas Schwinge > > Signed-off-by: Thomas Schwinge > > --- > configure | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/configure b/configure > index c58dd0f..b5e446c 100755 > --- a/configure > +++

Tag changes not persisted in message view

2011-01-12 Thread Michal Sojka
On Sun, 09 Jan 2011, G?nter Ladwig wrote: > Hi, > > I installed notmuch yesterday and imported an account with about 9000 > mails. The import worked fine and the Emacs client shows all messages. > > However, I ran into an problem with changing tags in the message view: I > noticed that mails

[ANN] notmuch-deliver

2011-01-12 Thread Austin Clements
-- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110112/cf4c0d73/attachment.html>

Re: Tag changes not persisted in message view

2011-01-12 Thread Michal Sojka
On Sun, 09 Jan 2011, Günter Ladwig wrote: Hi, I installed notmuch yesterday and imported an account with about 9000 mails. The import worked fine and the Emacs client shows all messages. However, I ran into an problem with changing tags in the message view: I noticed that mails were not

About the json output and the number of results shown.

2011-01-12 Thread Christophe-Marie Duquesne
Hi, The notmuch command line tool has an option that seems very interesting to me: --output=json In several languages, and especially in python, json is as easy to parse as: res = json.load(stream) If your stream contains valid json, you then get all your data in res and you can immediately use

Re: [ANN] notmuch-deliver

2011-01-12 Thread Austin Clements
Out of curiosity, has anyone considered using inotify to monitor maildirs for new mail to hand to notmuch? For systems supporting inotify (or equivalents), this would have the advantage of being compatible with any delivery mechanism, be it a mail server, procmail, or emacs fcc'ing a maildir. On

Re: About the json output and the number of results shown.

2011-01-12 Thread Mike Kelly
I've had other problems attempting to use the JSON interface recently. For starters, if I'm simply trying to retrieve a single message, the interface is rather awkard. I seem to need to do something like: my $json = `notmuch show --format=json id:$message_id`; my $parsed_json =