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 = decode_json
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 u
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
> +++ b/c
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 we
;
>
-- next part --
An HTML attachment was scrubbed...
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20110112/cf4c0d73/attachment.html>
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 = decode_json
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
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 u
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
> +++ b/c
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 we
10 matches
Mail list logo