[RFC] Add support for the Solaris platform

2010-04-30 Thread Tomas Carnecky
Like on Mac OS X, the linker doesn't automatically resolve dependencies. Signed-off-by: Tomas Carnecky --- Makefile.local |2 +- configure | 28 ++-- lib/Makefile.local |2 +- notmuch-new.c | 70 ++--

[PATCH] Actually respect LDFLAGS as we say in the ./configure help

2010-04-30 Thread Tomas Carnecky
Signed-off-by: Tomas Carnecky --- configure |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 91e08dd..0153655 100755 --- a/configure +++ b/configure @@ -400,6 +400,9 @@ CFLAGS = ${CFLAGS} # Default FLAGS for C++ compiler (can be overridden

all authors and subjects in the search buffer [was: Re: [PATCH] emacs: Fix i-search to open up invisible citations as necessary]

2010-04-30 Thread David Edmondson
-- 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/20100430/013a119f/attachment-0001.pgp>

[PATCH 2/2] test: Have notmuch-test use the modular test collections

2010-04-30 Thread Jesse Rosenthal
Introduce two new functions (run_collection_setup_and_tests and run_test_suite) to notmuch-test. The first takes as an argument a subdir of test/tests and runs all .setup and .test files in there in order of their numerical prefix. The latter either runs all tests (if given "all" or no argument)

[PATCH 1/2] test: add modular test collections

2010-04-30 Thread Jesse Rosenthal
For the sake of modularization, add modular test collections. Each collection is a subdir of test/tests. With each dir is a series of files with the prefix "*.test" or "*.setup". The command "notmuch-test X" will run all of the files test and setup files in X, in numerical order (as determined by

[PATCH] Modularize test suite

2010-04-30 Thread Jesse Rosenthal
On Fri, 30 Apr 2010 14:36:56 -0400, Jesse Rosenthal wrote: > Sorry the patch is so large: there was a lot of back-and-forth, and it > was hard to break the patches down into coherent steps. Carl, if you'd > prefer, I could send you a more granular, but confusing, series of > patches. Actually,

[PATCHv2] Restructure notmuch-hello-reflect

2010-04-30 Thread Sebastian Spaeth
This function was "not lispy" according to a comment by dme, and it also relied on a helper function that used 'cl code. Do away with all that and provide a hopefully lispy solution that relies on elisp only to "reflect" a (possibly non-square) matrix along it's diagonal. Remove now unused

[PATCH] Modularize test suite

2010-04-30 Thread Jesse Rosenthal
Responding to this email is a patch to modularize the test suite. It follows a relatively simple model, but it does seem like it will offer some degree of flexibility. Plus, no relicensing is necessary. In short, tests are put in subdirs of test/tests, e.g.: test/tests/notmuch-new/

[PATCH] Restructure notmuch-hello-reflect

2010-04-30 Thread Sebastian Spaeth
This function was "not lispy" according to a comment by dme, and it also relied on a helper function that used 'cl code. Do away with all that and provide a hopefully lispy solution that relies on elisp only to "reflect" a (possibly non-square) matrix along it's diagonal. Remove now unused

[PATCH] emacs: Remove notmuch-hello-roundup function

2010-04-30 Thread Sebastian Spaeth
as it does the same as (ceiling number divisor) which is already provided in elisp. --- dme, am I right that this patch is really correct? emacs/notmuch-hello.el |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index

[PATCH] emacs: Remove notmuch-hello-roundup function

2010-04-30 Thread David Edmondson
ondson, http://dme.org -- 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/20100430/9bedaf05/attachment.pgp>

Failing test cases

2010-04-30 Thread Olly Betts
On 2010-04-28, Jason White wrote: > It seems to be repeatable here, even after running git clean -d -f -x, > followed by make && make test > > Is anyone else seeing this? Yes, I got the same failure trying to rebuild the notmuch 0.3.1 Debian package with Xapian 1.2.0 (building in a clean Debian

[PATCH] emacs: Remove notmuch-hello-roundup function

2010-04-30 Thread Sebastian Spaeth
as it does the same as (ceiling number divisor) which is already provided in elisp. --- dme, am I right that this patch is really correct? emacs/notmuch-hello.el |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index

[PATCH] Modularize test suite

2010-04-30 Thread Jesse Rosenthal
Responding to this email is a patch to modularize the test suite. It follows a relatively simple model, but it does seem like it will offer some degree of flexibility. Plus, no relicensing is necessary. In short, tests are put in subdirs of test/tests, e.g.: test/tests/notmuch-new/

Re: [PATCH] Modularize test suite

2010-04-30 Thread Jesse Rosenthal
On Fri, 30 Apr 2010 14:36:56 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: Sorry the patch is so large: there was a lot of back-and-forth, and it was hard to break the patches down into coherent steps. Carl, if you'd prefer, I could send you a more granular, but confusing, series of

[PATCH] Actually respect LDFLAGS as we say in the ./configure help

2010-04-30 Thread Tomas Carnecky
Signed-off-by: Tomas Carnecky t...@dbservice.com --- configure |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 91e08dd..0153655 100755 --- a/configure +++ b/configure @@ -400,6 +400,9 @@ CFLAGS = ${CFLAGS} # Default FLAGS for C++ compiler

[RFC] Add support for the Solaris platform

2010-04-30 Thread Tomas Carnecky
Like on Mac OS X, the linker doesn't automatically resolve dependencies. Signed-off-by: Tomas Carnecky t...@dbservice.com --- Makefile.local |2 +- configure | 28 ++-- lib/Makefile.local |2 +- notmuch-new.c | 70