Re: [PATCH] test/symbol-hiding: prepend new directory to LD_LIBRARY_PATH

2012-01-01 Thread David Bremner
On Fri, 30 Dec 2011 18:12:45 +0200, Tomi Ollila tomi.oll...@iki.fi wrote: Tester may have set LD_LIBRARY_PATH to find libraries required by notmuch. Therefore add $TEST_DIRECTORY/../lib to the beginning of current list of library paths in $LD_LIBRARY_PATH before running symbol-test. Hmm.

Re: [PATCH] emacs: Improved printing support.

2012-01-01 Thread David Bremner
On Fri, 30 Dec 2011 10:28:17 +, David Edmondson d...@dme.org wrote: Add various functions to print notmuch messages and tie them together with a simple frontend. No keybinding is currently made to encourage paper saving. Hi David. I started playing with this a bit. print using muttprint

Re: [PATCH v3] notmuch: replace built-in help with exec of man

2012-01-01 Thread David Bremner
On Fri, 30 Dec 2011 13:50:49 -0500, Austin Clements amdra...@mit.edu wrote: The C side looks good to me (with the updated commit message). I can't speak for the nroff side. I have pushed this series. We may have to tidy up a few things in the man pages as people find them. Most of the text is

revised patch for gmime init, with test.

2012-01-01 Thread David Bremner
It turns out that our existing (trivial) python test is enough to catch this bug, but the corpus needs to be augmented. This augmentation is a bit intrusive so I'm thinking of cherry-picking only the actual fix to the release branch. Unfortunately the test message is 8 bit, so it may be encoded

[PATCH v2 3/3] lib: call g_mime_init() from notmuch_database_open()

2012-01-01 Thread David Bremner
From: Kazuo Teramoto kaz@gmail.com As reported in id:caebopgyuhnz4bptdutntpuhcp3eycrcrkxhyojr43rumw67...@mail.gmail.com sometimes gmime tries to access a NULL pointer, e.g. g_mime_iconv_open() tries to access iconv_cache that is NULL if g_mime_init() is not called. This causes notmuch to

Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-01 Thread Mark Walters
Hello When I try and run the tests on my (fairly standard) debian stable system they hang after PASS Search message: json, utf-8. This is with latest git (07768fb1bb50e) and emacs 23.2.1. As far as I can see emacs is not exiting when sent the (kill-emacs) command from test-lib.sh (line 931

[PATCH v2 1/3] test: use file based comparison for search '*' test

2012-01-01 Thread David Bremner
From: David Bremner brem...@debian.org This seems a bit easier to maintain, and is more accurate since lines are not joined together. --- test/search | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/test/search b/test/search index e7c8c54..4710d57 100755 ---

[PATCH v2 2/3] test: add two new messages to corpus with iso-8859-1 encoding

2012-01-01 Thread David Bremner
From: David Bremner brem...@debian.org One is quoted printable, the other users 8 bit encoding. The latter triggers a bug in the python bindings due to missing call to g_mime_init. The corresponding test is marked broken in this commit. --- test/corpus/cur/52:2, |

Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-01 Thread Mark Walters
Hello When I try and run the tests on my (fairly standard) debian stable system they hang after "PASS Search message: json, utf-8". This is with latest git (07768fb1bb50e) and emacs 23.2.1. As far as I can see emacs is not exiting when sent the "(kill-emacs)" command from test-lib.sh (line 931