[PATCH] libnotmuch: build symbols list without relying on gcc -aux-info.

2011-06-26 Thread da...@tethera.net
From: David Bremner Carl reports "gcc -aux-info notmuch.aux lib/notmuch.h" does not generate notmuch.aux for him with Debian gcc 4.6.0-8. A small modification of the original sed regular expression allows us to work directly from lib/notmuch.h, rather than preprocessing with

xapian exceptions not caught in python bindings?

2011-06-26 Thread Patrick Totzke
nature Size: 198 bytes Desc: Digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110626/677dd702/attachment.pgp>

[PATCH] test: remove useless test_emacs call from an emacs FCC test

2011-06-26 Thread Pieter Praet
On Thu, 23 Jun 2011 22:15:25 -0300, David Bremner wrote: Non-text part: multipart/mixed Non-text part: multipart/signed > [...] I'm going > to skip the typo fixes for 0.6, unless convinced otherwise. Well, the whole point of my de-typo-ifying sprint was to make 0.6 a ~typo-free release, actually

Race condition for '*' command

2011-06-26 Thread Robin Green
On Sat, 25 Jun 2011 16:57:50 -0700, Jameson Graef Rollins wrote: > On Sat, 25 Jun 2011 23:18:52 +0100, Robin Green > wrote: > > A race condition in the '*' command was noted when it was first > > proposed. It looks to me like it still exists - has anything been done > > about it? > > Hi,

Race condition for '*' command

2011-06-26 Thread Robin Green
Hi, A race condition in the '*' command was noted when it was first proposed. It looks to me like it still exists - has anything been done about it? Right now what I am doing is killing fetchmail, then using the '*' command, then starting fetchmail again in daemon mode, which is a little

Re: Race condition for '*' command

2011-06-26 Thread Robin Green
On Sat, 25 Jun 2011 16:57:50 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: On Sat, 25 Jun 2011 23:18:52 +0100, Robin Green gree...@greenrd.org wrote: A race condition in the '*' command was noted when it was first proposed. It looks to me like it still exists - has anything

Re: [PATCH] test: remove useless test_emacs call from an emacs FCC test

2011-06-26 Thread Pieter Praet
On Thu, 23 Jun 2011 22:15:25 -0300, David Bremner da...@tethera.net wrote: Non-text part: multipart/mixed Non-text part: multipart/signed [...] I'm going to skip the typo fixes for 0.6, unless convinced otherwise. Well, the whole point of my de-typo-ifying sprint was to make 0.6 a ~typo-free

xapian exceptions not caught in python bindings?

2011-06-26 Thread Patrick Totzke
Hi all! It's me again, with some strange python behaviour :/ When I iterate over threads or messages only partially, then make changes to the index and continue the iteration, then I don't necessarily get NotmuchError's but the underlying libnotmuch seems to call terminate. I get the following

[PATCH 1/5] test: do not set `message-signature' in test_emacs

2011-06-26 Thread Dmitry Kurochkin
It is no longer needed since tests are run in a temporary home directory instead of the user's one. --- test/test-lib.sh |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index cc20f41..3ec388c 100755 --- a/test/test-lib.sh +++

[PATCH 2/5] test: cleanup test_emacs

2011-06-26 Thread Dmitry Kurochkin
Move auxiliary function definition and configuration from command line to test-lib.el. --- test/test-lib.el |8 test/test-lib.sh |9 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/test/test-lib.el b/test/test-lib.el index 9439996..344a02e 100644 ---

[PATCH 3/5] test: wrap and indent test_emacs calls

2011-06-26 Thread Dmitry Kurochkin
Most test_emacs calls have long arguments that consist of many expressions. Putting them on a single line makes it hard to read and produces poor diff when they are changed. The patch puts every expression in test_emacs calls on a separate line. --- test/emacs | 124

[PATCH 5/5] test: remove some sed(1) calls in Emacs tests

2011-06-26 Thread Dmitry Kurochkin
Few Emacs tests used sed(1) to remove unexpected output in the beginning to avoid getting confused by messages such as Parsing /home/cworth/.mailrc... done. This is no longer needed since tests are run in a temporary home directory instead of the user's one. So remove these sed(1) calls. ---

[PATCH] libnotmuch: build symbols list without relying on gcc -aux-info.

2011-06-26 Thread david
From: David Bremner brem...@debian.org Carl reports gcc -aux-info notmuch.aux lib/notmuch.h does not generate notmuch.aux for him with Debian gcc 4.6.0-8. A small modification of the original sed regular expression allows us to work directly from lib/notmuch.h, rather than preprocessing with gcc.

[PATCH] libnotmuch: build symbols list without relying on gcc -aux-info.

2011-06-26 Thread david
From: David Bremner brem...@debian.org Carl reports gcc -aux-info notmuch.aux lib/notmuch.h does not generate notmuch.aux for him with Debian gcc 4.6.0-8. Based on a suggestion by Austin Clements, this version uses objdump to get the symbols from the object files. Any symbol that - is in

[PATCH 1/2] test: use emacs_deliver_message in Emacs SMTP send test

2011-06-26 Thread Dmitry Kurochkin
Minor changes to expected results of other Emacs tests were needed because the message Date header changed. --- test/emacs | 34 +- 1 files changed, 9 insertions(+), 25 deletions(-) diff --git a/test/emacs b/test/emacs index f3239ea..4f16b41 100755 ---

[PATCH 2/2] test: use emacsclient(1) for Emacs tests

2011-06-26 Thread Dmitry Kurochkin
Before the change, every Emacs tests ran in a separate Emacs instance. Starting Emacs many times wastes considerable time and it gets worse as the test suite grows. The patch solves this by using a single Emacs server and emacsclient(1) to run multiple tests. Emacs server is started on the