Introducing ner: an ncurses based notmuch ui

2010-11-01 Thread Christophe-Marie Duquesne
This is definetely good news! I am very happy with this frontend and I can at last use notmuch to read my mail. This makes me wonder if I'll go on developping my python front-end... Maybe if I have some time. Thank you this!

[PATCH 2/2] Print nothing when search result is empty

2010-11-01 Thread Michal Sojka
This change affects both text and json formats. Now, text format behaves as before commit 6dcb7592, but json format is changed. Earlier, the empty search returned '[]', now it returns ''. The emacs interface seems not to be affected by this change. --- notmuch-search.c | 18 --

[PATCH 1/2] test: Search for non-existent message should return nothing

2010-11-01 Thread Michal Sojka
My scripts expect that empty search result is actually empty. Since commit 6dcb7592, even empty search prints a newline character and this breaks my scripts. This patch adds a test for this bug. In the test I cannot use test_expect_equal function as $() operator suppresses the final newline and

Introducing ner: an ncurses based notmuch ui

2010-11-01 Thread Jameson Rollins
aml-cpp. jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101101/47707789/attachment.pgp>

[PATCH 2/3] build: fix DSO dependencies

2010-11-01 Thread Jed Brown
On Fri, Oct 29, 2010 at 18:17, Felipe Contreras wrote: > > Well, it's not possible: pkg-config is supposed to work on win32 and > osx, so all the dependencies must be there, so: > > % pkg-config --libs gmime-2.6 > -pthread -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 > -lgthread-2.0 -lrt

I've begun to write notmuch-ncurse.py

2010-11-01 Thread Sebastian Spaeth
text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101101/5c13332d/attachment-0001.pgp>

I've begun to write notmuch-ncurse.py

2010-11-01 Thread Christophe-Marie Duquesne
On Mon, Nov 1, 2010 at 1:11 PM, Sebastian Spaeth wrote: > On Mon, 1 Nov 2010 01:11:47 +0100, Christophe-Marie Duquesne gmail.com> wrote: > > Very cool. Not wanting to promote my own things, but is there a reason > you use the notmuch binary and parse that output rather than using the > python

I've begun to write notmuch-ncurse.py

2010-11-01 Thread Sebastian Spaeth
-- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101101/1939cfdf/attachment.pgp>

I've begun to write notmuch-ncurse.py

2010-11-01 Thread Christophe-Marie Duquesne
Hi list, I've begun to write a python ncurse interface for notmuch. It is certainly not useable, but at least I have some code to share. My goal is to produce a hackable gmail in a console (side bar with labels/shortcuts to pre-registered researches + a main panel to view research results and

Re: I've begun to write notmuch-ncurse.py

2010-11-01 Thread Sebastian Spaeth
On Mon, 1 Nov 2010 01:11:47 +0100, Christophe-Marie Duquesne chm.duque...@gmail.com wrote: Very cool. Not wanting to promote my own things, but is there a reason you use the notmuch binary and parse that output rather than using the python bindings that come included with notmuch? The docs are

Re: I've begun to write notmuch-ncurse.py

2010-11-01 Thread Christophe-Marie Duquesne
On Mon, Nov 1, 2010 at 1:11 PM, Sebastian Spaeth sebast...@sspaeth.de wrote: On Mon, 1 Nov 2010 01:11:47 +0100, Christophe-Marie Duquesne chm.duque...@gmail.com wrote: Very cool. Not wanting to promote my own things, but is there a reason you use the notmuch binary and parse that output

Re: I've begun to write notmuch-ncurse.py

2010-11-01 Thread Sebastian Spaeth
On Mon, 1 Nov 2010 13:44:38 +0100, Christophe-Marie Duquesne wrote: On Mon, Nov 1, 2010 at 1:11 PM, Sebastian Spaeth sebast...@sspaeth.de wrote: I was simply not aware of this binding... Reading your api, I could not find out if the queries were ran asynchronously. Is it possible? If so, that

[PATCH 1/2] test: Search for non-existent message should return nothing

2010-11-01 Thread Michal Sojka
My scripts expect that empty search result is actually empty. Since commit 6dcb7592, even empty search prints a newline character and this breaks my scripts. This patch adds a test for this bug. In the test I cannot use test_expect_equal function as $() operator suppresses the final newline and

[PATCH 2/2] Print nothing when search result is empty

2010-11-01 Thread Michal Sojka
This change affects both text and json formats. Now, text format behaves as before commit 6dcb7592, but json format is changed. Earlier, the empty search returned '[]', now it returns ''. The emacs interface seems not to be affected by this change. --- notmuch-search.c | 18 --

Re: [PATCH 2/3] build: fix DSO dependencies

2010-11-01 Thread Jed Brown
On Fri, Oct 29, 2010 at 18:17, Felipe Contreras felipe.contre...@gmail.com wrote: Well, it's not possible: pkg-config is supposed to work on win32 and osx, so all the dependencies must be there, so: % pkg-config --libs gmime-2.6 -pthread -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0

Introducing ner: an ncurses based notmuch ui

2010-11-01 Thread Michael Forney
Hi everyone, For a while now, I (with help from Mike Kelly and Ingmar Vanhassel) have been working on an alternative mail client to notmuch.el called ner (notmuch email reader). ner uses a command specified by the user to edit and send mail, and uses libnotmuch as opposed to output from the

Re: Introducing ner: an ncurses based notmuch ui

2010-11-01 Thread Jameson Rollins
On Sat, 30 Oct 2010 20:44:54 -0700, Michael Forney mfor...@mforney.org wrote: Currently, at least gcc-4.4, and yaml-cpp-0.2.5 are required. Does anyone know if there's a Debian package for yaml-cpp-0.2.5? I see libyaml-dev, which is at version 0.1.3-1 in unstable, but I don't see anything that