Re: [PATCH v2 0/9] FreeBSD Support Patches

2012-09-05 Thread Mike Kelly
Thanks, I'll try to take care of the concerns with the other 2 patches at some point, but I haven't had as much free time lately as I'd like to have. On Sat, Sep 1, 2012 at 10:41 PM, David Bremner da...@tethera.net wrote: Mike Kelly pi...@pioto.org writes: Hi, Here's a second attempt

[PATCH v2 0/9] FreeBSD Support Patches

2012-09-04 Thread Mike Kelly
Thanks, I'll try to take care of the concerns with the other 2 patches at some point, but I haven't had as much free time lately as I'd like to have. On Sat, Sep 1, 2012 at 10:41 PM, David Bremner wrote: > Mike Kelly writes: > >> Hi, >> >> Here's a second attempt a

[PATCH v2 9/9] tests: bsd sed doesn't allow replacing '\n'

2012-05-30 Thread Mike Kelly
Various workarounds still don't act quite the same way. So, just use perl, which seems to act the way these tests expect. --- test/maildir-sync |2 +- test/multipart| 22 +++--- test/test-lib.sh |2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH v2 8/9] test/atomicity: use a more portable 'cp' form

2012-05-30 Thread Mike Kelly
-a already implies -r/-R, so no need for both. FreeBSD's cp complains: cp: the -R and -r options may not be specified together --- test/atomicity |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/atomicity b/test/atomicity index 6df0a00..1c786fa 100755 ---

[PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-30 Thread Mike Kelly
FreeBSD's `wc -l` includes some white space in front of the number. Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures we do a proper numeric comparision, and in a portable way. --- test/count |8 test/test-lib.sh | 22 ++ 2 files

[PATCH v2 6/9] test/basic: use portable args for find

2012-05-30 Thread Mike Kelly
`-executable` isn't available in FreeBSD's version of find, so use a more portable version, `-perm +111`. --- test/basic |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/basic b/test/basic index d6aed24..3b635c8 100755 --- a/test/basic +++ b/test/basic @@ -53,8

[PATCH v2 5/9] tests: Test against source man pages.

2012-05-30 Thread Mike Kelly
Without this, help-test tests against the installed man pages, rather than the default ones. --- test/test-lib.sh | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 06aaea2..da792b7 100644 --- a/test/test-lib.sh +++

[PATCH v2 4/9] test/smtp-dummy.c: fix compilation on FreeBSD

2012-05-30 Thread Mike Kelly
Use the more portable netint/in.h, instead of netint/ip.h, to include htons(3), etc. --- test/smtp-dummy.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c index 3801a5e..86d4316 100644 --- a/test/smtp-dummy.c +++ b/test/smtp-dummy.c

[PATCH v2 3/9] Makefile.local: define _GNU_SOURCE

2012-05-30 Thread Mike Kelly
Several places currently define _GNU_SOURCE above the #includes to make sure that things like 'getline(3)' are available, but defining these in one place also helps to improve portability to other platforms where these may not be available otherwise. --- Makefile.local |4 ++--

[PATCH v2 2/9] test/Makefile.local: Use $(XAPIAN_LDFLAGS) for symbol-test

2012-05-30 Thread Mike Kelly
On FreeBSD, and probably anywhere else someone installed xapian to some other prefix, we need to use XAPIAN_LDFLAGS to make the linker can actually find libxapian. --- test/Makefile.local |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.local

[PATCH v2 1/9] configure: Add support for FreeBSD.

2012-05-30 Thread Mike Kelly
This makes FreeBSD a recognized platform. Follow up patches make it work properly. --- configure |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 5602be2..344f413 100755 --- a/configure +++ b/configure @@ -360,6 +360,10 @@ elif [ $uname =

[PATCH v2 0/9] FreeBSD Support Patches

2012-05-30 Thread Mike Kelly
Hi, Here's a second attempt at adding FreeBSD support. Hopefully most of the concerns raised about the initial patch set have been addressed. I'll send my "I don't have emacs" patches in a separate email.

[PATCH v2 0/9] FreeBSD Support Patches

2012-05-30 Thread Mike Kelly
Hi, Here's a second attempt at adding FreeBSD support. Hopefully most of the concerns raised about the initial patch set have been addressed. I'll send my I don't have emacs patches in a separate email. ___ notmuch mailing list notmuch@notmuchmail.org

[PATCH v2 1/9] configure: Add support for FreeBSD.

2012-05-30 Thread Mike Kelly
This makes FreeBSD a recognized platform. Follow up patches make it work properly. --- configure |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 5602be2..344f413 100755 --- a/configure +++ b/configure @@ -360,6 +360,10 @@ elif [ $uname =

[PATCH v2 2/9] test/Makefile.local: Use $(XAPIAN_LDFLAGS) for symbol-test

2012-05-30 Thread Mike Kelly
On FreeBSD, and probably anywhere else someone installed xapian to some other prefix, we need to use XAPIAN_LDFLAGS to make the linker can actually find libxapian. --- test/Makefile.local |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.local

[PATCH v2 4/9] test/smtp-dummy.c: fix compilation on FreeBSD

2012-05-30 Thread Mike Kelly
Use the more portable netint/in.h, instead of netint/ip.h, to include htons(3), etc. --- test/smtp-dummy.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c index 3801a5e..86d4316 100644 --- a/test/smtp-dummy.c +++ b/test/smtp-dummy.c

[PATCH v2 5/9] tests: Test against source man pages.

2012-05-30 Thread Mike Kelly
Without this, help-test tests against the installed man pages, rather than the default ones. --- test/test-lib.sh | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 06aaea2..da792b7 100644 --- a/test/test-lib.sh +++

[PATCH v2 6/9] test/basic: use portable args for find

2012-05-30 Thread Mike Kelly
`-executable` isn't available in FreeBSD's version of find, so use a more portable version, `-perm +111`. --- test/basic |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/basic b/test/basic index d6aed24..3b635c8 100755 --- a/test/basic +++ b/test/basic @@ -53,8

[PATCH v2 3/9] Makefile.local: define _GNU_SOURCE

2012-05-30 Thread Mike Kelly
Several places currently define _GNU_SOURCE above the #includes to make sure that things like 'getline(3)' are available, but defining these in one place also helps to improve portability to other platforms where these may not be available otherwise. --- Makefile.local |4 ++--

[PATCH v2 7/9] test/count: fix numeric comparision tests on FreeBSD

2012-05-30 Thread Mike Kelly
FreeBSD's `wc -l` includes some white space in front of the number. Instead, we add a test_expect_equal_num() to test-lib.sh, which ensures we do a proper numeric comparision, and in a portable way. --- test/count |8 test/test-lib.sh | 22 ++ 2 files

[PATCH v2 8/9] test/atomicity: use a more portable 'cp' form

2012-05-30 Thread Mike Kelly
-a already implies -r/-R, so no need for both. FreeBSD's cp complains: cp: the -R and -r options may not be specified together --- test/atomicity |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/atomicity b/test/atomicity index 6df0a00..1c786fa 100755 ---

FreeBSD Support Patches

2012-05-25 Thread Mike Kelly
ge. For the emacs-* test files, there are some tests that act the same way. However, it is also a minor speed improvement to say that, obviously, none of the emacs tests are going to work, so just don't bother. -- Mike Kelly

[PATCH 10/10] tests: bsd sed doesn't allow replacing '\n'

2012-05-25 Thread Mike Kelly
Various workarounds still don't act quite the same way. So, just use perl, which seems to act the way these tests expect. --- test/maildir-sync |2 +- test/multipart| 22 +++--- test/test-lib.sh |2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH 09/10] test/crypto: current tests require emacs

2012-05-25 Thread Mike Kelly
These tests are based upon emacs_deliver_message, so without emacs they will not work. --- test/crypto |2 ++ 1 file changed, 2 insertions(+) diff --git a/test/crypto b/test/crypto index be752b1..fcaf4be 100755 --- a/test/crypto +++ b/test/crypto @@ -7,6 +7,8 @@ test_description='PGP/MIME

[PATCH 08/10] test/atomicity: use a more portable 'cp' form

2012-05-25 Thread Mike Kelly
-a already implies -r/-R, so no need for both. FreeBSD's cp complains: cp: the -R and -r options may not be specified together --- test/atomicity |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/atomicity b/test/atomicity index 6df0a00..1c786fa 100755 ---

[PATCH 07/10] emacs tests require emacs

2012-05-25 Thread Mike Kelly
Immediately skip all emacs tests when we don't have emacs. --- test/emacs |2 ++ test/emacs-address-cleaning|2 ++ test/emacs-hello |2 ++ test/emacs-large-search-buffer |2 ++ test/emacs-show|2 ++

[PATCH 06/10] Fix test/count on FreeBSD

2012-05-25 Thread Mike Kelly
FreeBSD's `wc -l` includes some white space in front of the number, so trim it off. --- test/count |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/count b/test/count index 300b171..618dbb9 100755 --- a/test/count +++ b/test/count @@ -8,22 +8,22 @@

[PATCH 05/10] Make test/basic more portable

2012-05-25 Thread Mike Kelly
--- test/basic |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/basic b/test/basic index d6aed24..4ce8967 100755 --- a/test/basic +++ b/test/basic @@ -53,7 +53,8 @@ test_expect_code 2 'failure to clean up causes the test to fail' ' test_begin_subtest 'Ensure that

[PATCH 04/10] Test against man pages in our source dir, not installed ones.

2012-05-25 Thread Mike Kelly
--- test/help-test |1 + 1 file changed, 1 insertion(+) diff --git a/test/help-test b/test/help-test index 9f4b9c7..f309a24 100755 --- a/test/help-test +++ b/test/help-test @@ -3,6 +3,7 @@ test_description="online help" . test-lib.sh +export MANPATH="../../man" test_expect_success

[PATCH 03/10] Fix compilation of smtp-dummy on FreeBSD

2012-05-25 Thread Mike Kelly
--- test/smtp-dummy.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c index 3801a5e..aa82fa1 100644 --- a/test/smtp-dummy.c +++ b/test/smtp-dummy.c @@ -33,11 +33,14 @@ * have been warned. */ +#define _GNU_SOURCE /* for getline

[PATCH 02/10] Fix compilation of symbol-test on FreeBSD

2012-05-25 Thread Mike Kelly
--- test/Makefile.local |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.local b/test/Makefile.local index 4a6a4b1..c071aee 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -17,7 +17,7 @@ $(dir)/smtp-dummy: $(smtp_dummy_modules) $(call

[PATCH 01/10] Add support for FreeBSD.

2012-05-25 Thread Mike Kelly
--- configure |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 71981b7..6c45880 100755 --- a/configure +++ b/configure @@ -356,6 +356,10 @@ elif [ $uname = "SunOS" ] ; then printf "Solaris.\n" platform=SOLARIS

FreeBSD Support Patches

2012-05-25 Thread Mike Kelly
Hi, These patches add some changes necessary for a clean build on FreeBSD, and for most of the tests to pass. Also mixed in are a few patches to disable emacs tests when you don't have emacs, along with tests that depend upon emacs. I could split those off onto a separate branch if required.

FreeBSD Support Patches

2012-05-25 Thread Mike Kelly
Hi, These patches add some changes necessary for a clean build on FreeBSD, and for most of the tests to pass. Also mixed in are a few patches to disable emacs tests when you don't have emacs, along with tests that depend upon emacs. I could split those off onto a separate branch if required.

[PATCH 01/10] Add support for FreeBSD.

2012-05-25 Thread Mike Kelly
--- configure |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 71981b7..6c45880 100755 --- a/configure +++ b/configure @@ -356,6 +356,10 @@ elif [ $uname = SunOS ] ; then printf Solaris.\n platform=SOLARIS

[PATCH 02/10] Fix compilation of symbol-test on FreeBSD

2012-05-25 Thread Mike Kelly
--- test/Makefile.local |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.local b/test/Makefile.local index 4a6a4b1..c071aee 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -17,7 +17,7 @@ $(dir)/smtp-dummy: $(smtp_dummy_modules) $(call

[PATCH 03/10] Fix compilation of smtp-dummy on FreeBSD

2012-05-25 Thread Mike Kelly
--- test/smtp-dummy.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c index 3801a5e..aa82fa1 100644 --- a/test/smtp-dummy.c +++ b/test/smtp-dummy.c @@ -33,11 +33,14 @@ * have been warned. */ +#define _GNU_SOURCE /* for getline

[PATCH 04/10] Test against man pages in our source dir, not installed ones.

2012-05-25 Thread Mike Kelly
--- test/help-test |1 + 1 file changed, 1 insertion(+) diff --git a/test/help-test b/test/help-test index 9f4b9c7..f309a24 100755 --- a/test/help-test +++ b/test/help-test @@ -3,6 +3,7 @@ test_description=online help . test-lib.sh +export MANPATH=../../man test_expect_success 'notmuch

[PATCH 05/10] Make test/basic more portable

2012-05-25 Thread Mike Kelly
--- test/basic |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/basic b/test/basic index d6aed24..4ce8967 100755 --- a/test/basic +++ b/test/basic @@ -53,7 +53,8 @@ test_expect_code 2 'failure to clean up causes the test to fail' ' test_begin_subtest 'Ensure that

[PATCH 06/10] Fix test/count on FreeBSD

2012-05-25 Thread Mike Kelly
FreeBSD's `wc -l` includes some white space in front of the number, so trim it off. --- test/count |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/count b/test/count index 300b171..618dbb9 100755 --- a/test/count +++ b/test/count @@ -8,22 +8,22 @@ SEARCH=\*\

[PATCH 07/10] emacs tests require emacs

2012-05-25 Thread Mike Kelly
Immediately skip all emacs tests when we don't have emacs. --- test/emacs |2 ++ test/emacs-address-cleaning|2 ++ test/emacs-hello |2 ++ test/emacs-large-search-buffer |2 ++ test/emacs-show|2 ++

[PATCH 08/10] test/atomicity: use a more portable 'cp' form

2012-05-25 Thread Mike Kelly
-a already implies -r/-R, so no need for both. FreeBSD's cp complains: cp: the -R and -r options may not be specified together --- test/atomicity |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/atomicity b/test/atomicity index 6df0a00..1c786fa 100755 ---

[PATCH 09/10] test/crypto: current tests require emacs

2012-05-25 Thread Mike Kelly
These tests are based upon emacs_deliver_message, so without emacs they will not work. --- test/crypto |2 ++ 1 file changed, 2 insertions(+) diff --git a/test/crypto b/test/crypto index be752b1..fcaf4be 100755 --- a/test/crypto +++ b/test/crypto @@ -7,6 +7,8 @@ test_description='PGP/MIME

[PATCH 10/10] tests: bsd sed doesn't allow replacing '\n'

2012-05-25 Thread Mike Kelly
Various workarounds still don't act quite the same way. So, just use perl, which seems to act the way these tests expect. --- test/maildir-sync |2 +- test/multipart| 22 +++--- test/test-lib.sh |2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git

Re: FreeBSD Support Patches

2012-05-25 Thread Mike Kelly
files, there are some tests that act the same way. However, it is also a minor speed improvement to say that, obviously, none of the emacs tests are going to work, so just don't bother. -- Mike Kelly ___ notmuch mailing list notmuch@notmuchmail.org http

notmuch's idea of concurrency / failing an invocation

2011-01-29 Thread Mike Kelly
we'd either need a new Xapian > option, or we would just have to wrap our own flock/fcntl lock around > things as you suggest. Hrm. Do you know if Xapian upstream would be open to a patch to support optional blocking locks? We can't be the only ones hitting these sorts of issue

About the json output and the number of results shown.

2011-01-29 Thread Mike Kelly
On Sat, 29 Jan 2011 06:44:40 +1000 Carl Worth wrote: > On Wed, 12 Jan 2011 22:39:45 +0000, Mike Kelly > wrote: > > 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: > > > >

Re: notmuch's idea of concurrency / failing an invocation

2011-01-29 Thread Mike Kelly
we'd either need a new Xapian option, or we would just have to wrap our own flock/fcntl lock around things as you suggest. Hrm. Do you know if Xapian upstream would be open to a patch to support optional blocking locks? We can't be the only ones hitting these sorts of issues. -- Mike Kelly

notmuch's idea of concurrency / failing an invocation

2011-01-28 Thread Mike Kelly
if we want a read-only or read-write database handle in notmuch_database_open, so it seems like it'd be easy enough to hook in there. -- Mike Kelly

About the json output and the number of results shown.

2011-01-12 Thread Mike Kelly
re doing it wrong" would be helpful. My script is available at: http://git.pioto.org/gitweb?p=pioto-scripts.git;a=blob;f=mail/notmuch-poll.pl;hb=master -- Mike Kelly

Re: About the json output and the number of results shown.

2011-01-12 Thread Mike Kelly
it wrong would be helpful. My script is available at: http://git.pioto.org/gitweb?p=pioto-scripts.git;a=blob;f=mail/notmuch-poll.pl;hb=master -- Mike Kelly ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [PATCH 0/4] Maildir synchronization v2

2010-12-09 Thread Mike Kelly
On Wed, Oct 13, 2010 at 10:35:15AM -0400, Mike Kelly wrote: On Wed, 13 Oct 2010 10:24:25 -0400 Mike Kelly pi...@pioto.org wrote: Looks like this may also require a newer xapian than i have now (xapian-core 1.0.18), as notmuch new aborts with: terminate called after throwing

[PATCH] test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability

2010-12-02 Thread Mike Kelly
tests. This is also important on systems where bash isn't in /bin/ (for example, FreeBSD), so I'd appreciate this patch. (I'm slowly working on various other patches that are required to get things working well on FreeBSD). -- Mike Kelly

Re: [PATCH] test: change #!/bin/bash to #!/usr/bin/env bash enhances portability

2010-12-02 Thread Mike Kelly
on systems where bash isn't in /bin/ (for example, FreeBSD), so I'd appreciate this patch. (I'm slowly working on various other patches that are required to get things working well on FreeBSD). -- Mike Kelly ___ notmuch mailing list notmuch

[PATCH 0/4] Maildir synchronization v2

2010-10-18 Thread Mike Kelly
yncing of a filename should happen in notmuch_(message|thread)_(add|remove)_tag(), not in notmuch-tag.cc. Otherwise, anyone using libnotmuch directly (e.g. alternative clients, things using python bindings, etc) will not benefit from this. -- Mike Kelly

Re: [PATCH 0/4] Maildir synchronization v2

2010-10-18 Thread Mike Kelly
should happen in notmuch_(message|thread)_(add|remove)_tag(), not in notmuch-tag.cc. Otherwise, anyone using libnotmuch directly (e.g. alternative clients, things using python bindings, etc) will not benefit from this. -- Mike Kelly ___ notmuch mailing

[PATCH] notmuch-setup.c: Initialize getline(3) response_size to 0

2010-10-14 Thread Mike Kelly
This appears to be necessary on FreeBSD. If this isn't done, we get a nasty segfault. See: id:20101013094340.41580a2f at pioto.org --- notmuch-setup.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/notmuch-setup.c b/notmuch-setup.c index 955deb7..0ed80ad 100644 ---

[PATCH 0/4] Maildir synchronization v2

2010-10-13 Thread Mike Kelly
tly, however > notmuch didn't used to have that dependency. -- Mike Kelly -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/a

notmuch setup: segfault in prompt macro

2010-10-13 Thread Mike Kelly
(sorry, forgot to reply to list) On Wed, 13 Oct 2010 14:26:56 -0300 David Bremner wrote: > On Wed, 13 Oct 2010 09:43:40 -0400, Mike Kelly > wrote: > > Hi, > > > > While testing Michal Sojka's latest patches, I tried running notmuch > > setup, only to f

[PATCH 0/4] Maildir synchronization v2

2010-10-13 Thread Mike Kelly
On Wed, 13 Oct 2010 10:24:25 -0400 Mike Kelly wrote: > Looks like this may also require a newer xapian than i have now > (xapian-core 1.0.18), as notmuch new aborts with: > > terminate called after throwing an instance of > 'Xapian::InvalidArgumentError' > > I'll se

[PATCH 0/4] Maildir synchronization v2

2010-10-13 Thread Mike Kelly
On Wed, 13 Oct 2010 09:31:58 -0400 Mike Kelly wrote: > On Wed, 13 Oct 2010 14:13:54 +0200 > Michal Sojka wrote: > > > Hi, > > > > this is an updated version of patches sent in > > id:1273580061-22580-1-git-send-email-sojkam1 at fel.cvut.cz. Only the > >

notmuch setup: segfault in prompt macro

2010-10-13 Thread Mike Kelly
= 0 new_tags = (const char **) 0x280ae000 new_tags_len = 3217023608 #5 0x0804ec46 in main (argc=2, argv=0xbfbfe318) at notmuch.c:499 local = (void *) 0x288090a0 command = (command_t *) 0x806fd00 i = 0 -- Mike Kelly

[PATCH 0/4] Maildir synchronization v2

2010-10-13 Thread Mike Kelly
sync' gmake: *** [notmuch-config.o] Error 1 This is with "gcc (GCC) 4.2.1 20070719 [FreeBSD]" Switching to gcc44 seems to allow it to compile correctly, however notmuch didn't used to have that dependency. -- Mike Kelly

notmuch setup: segfault in prompt macro

2010-10-13 Thread Mike Kelly
= 0 new_tags = (const char **) 0x280ae000 new_tags_len = 3217023608 #5 0x0804ec46 in main (argc=2, argv=0xbfbfe318) at notmuch.c:499 local = (void *) 0x288090a0 command = (command_t *) 0x806fd00 i = 0 -- Mike Kelly

Re: [PATCH 0/4] Maildir synchronization v2

2010-10-13 Thread Mike Kelly
On Wed, 13 Oct 2010 10:24:25 -0400 Mike Kelly pi...@pioto.org wrote: Looks like this may also require a newer xapian than i have now (xapian-core 1.0.18), as notmuch new aborts with: terminate called after throwing an instance of 'Xapian::InvalidArgumentError' I'll see if I can track

Re: notmuch setup: segfault in prompt macro

2010-10-13 Thread Mike Kelly
(sorry, forgot to reply to list) On Wed, 13 Oct 2010 14:26:56 -0300 David Bremner brem...@unb.ca wrote: On Wed, 13 Oct 2010 09:43:40 -0400, Mike Kelly pi...@pioto.org wrote: Hi, While testing Michal Sojka's latest patches, I tried running notmuch setup, only to find that it segfaults

Re: [PATCH 0/4] Maildir synchronization v2

2010-10-13 Thread Mike Kelly
, however notmuch didn't used to have that dependency. -- Mike Kelly signature.asc Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

make install tries, fails to install 'test/libnotmuch.so.1.1.0'

2010-09-21 Thread Mike Kelly
': No such file or directory make: *** [install-lib] Error 1 -- Mike Kelly

notmuchsync: handling of the deleted tag

2010-09-21 Thread Mike Kelly
st try to make a patch to do this soon if nobody beats me to it. -- Mike Kelly

Re: notmuchsync: handling of the deleted tag

2010-09-21 Thread Mike Kelly
a patch to do this soon if nobody beats me to it. -- Mike Kelly ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

make install tries, fails to install 'test/libnotmuch.so.1.1.0'

2010-09-21 Thread Mike Kelly
': No such file or directory make: *** [install-lib] Error 1 -- Mike Kelly ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Plans for the 0.2 release (this week)

2010-04-12 Thread Mike Kelly
On Thu, Apr 08, 2010 at 10:34:59AM -0400, Mike Kelly wrote: > On Wed, Apr 07, 2010 at 11:23:14PM +0100, James Westby wrote: > > On Wed, 07 Apr 2010 15:12:44 -0700, Carl Worth wrote: > > > * Anything else that people want, (especially things that already > > > ex

Re: Plans for the 0.2 release (this week)

2010-04-12 Thread Mike Kelly
On Thu, Apr 08, 2010 at 10:34:59AM -0400, Mike Kelly wrote: On Wed, Apr 07, 2010 at 11:23:14PM +0100, James Westby wrote: On Wed, 07 Apr 2010 15:12:44 -0700, Carl Worth cwo...@cworth.org wrote: * Anything else that people want, (especially things that already exist and that you're

[PATCH] Have notmuch count default to showing the total.

2010-04-09 Thread Mike Kelly
iour to me? My thoughts exactly :) -- Mike Kelly

Re: [PATCH] Have notmuch count default to showing the total.

2010-04-09 Thread Mike Kelly
:) -- Mike Kelly ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Plans for the 0.2 release (this week)

2010-04-08 Thread Mike Kelly
indexed so that "list:" will search any of them. Almost all modern mailing list software seems to use List-Id: https://tools.ietf.org/html/rfc2919 -- Mike Kelly -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pg

[PATCH 3/3] document new `notmuch new` behavior

2010-04-08 Thread Mike Kelly
--- notmuch.1 |8 +--- notmuch.c |7 --- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/notmuch.1 b/notmuch.1 index 0e6a2ed..8b4021e 100644 --- a/notmuch.1 +++ b/notmuch.1 @@ -93,9 +93,11 @@ The .B new command scans all sub-directories of the database, performing

[PATCH 2/3] apply all the other maildir flag->tag conversions

2010-04-08 Thread Mike Kelly
--- notmuch-new.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/notmuch-new.c b/notmuch-new.c index 511347d..dc33d69 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -99,6 +99,16 @@ tag_inbox_and_unread (notmuch_message_t *message)

[PATCH 1/3] Initial support for maildir flags.

2010-04-08 Thread Mike Kelly
When adding new messages, if they have the 'S' (seen) flag, do not add them to the 'unread' tag. --- lib/message.cc | 25 + lib/notmuch.h |5 + notmuch-new.c |3 ++- 3 files changed, 32 insertions(+), 1 deletions(-) diff --git a/lib/message.cc

[PATCH] Have notmuch count default to showing the total.

2010-04-08 Thread Mike Kelly
If no parameters are given to notmuch-count, or just '' or '*' are given, return the total number of messages in the database. update notmuch count help --- notmuch-count.c |5 ++--- notmuch.c |4 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/notmuch-count.c

Plans for the 0.2 release (this week)

2010-04-08 Thread Mike Kelly
th handling maildir flags, are pretty much my top "must haves" before I think I would be able to begin to replace mutt/whatever with notmuch. -- Mike Kelly

Plans for the 0.2 release (this week)

2010-04-08 Thread Mike Kelly
import would be great here. I'm still waiting to see a complete > > solution I think. > > id:1268515677-12692-1-git-send-email-jw+debian at jameswestby.net I haven't tested yet, but this is definitely a feature I want/need (due to the... unique behavior of a certain bug tracker I use at work). -- Mike Kelly

[PATCH 2/3] apply all the other maildir flag-tag conversions

2010-04-08 Thread Mike Kelly
--- notmuch-new.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/notmuch-new.c b/notmuch-new.c index 511347d..dc33d69 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -99,6 +99,16 @@ tag_inbox_and_unread (notmuch_message_t *message)

[PATCH 3/3] document new `notmuch new` behavior

2010-04-08 Thread Mike Kelly
--- notmuch.1 |8 +--- notmuch.c |7 --- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/notmuch.1 b/notmuch.1 index 0e6a2ed..8b4021e 100644 --- a/notmuch.1 +++ b/notmuch.1 @@ -93,9 +93,11 @@ The .B new command scans all sub-directories of the database, performing

[PATCH] Fix the default value for --includedir.

2010-04-07 Thread Mike Kelly
--- configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 21780a6..59e4092 100755 --- a/configure +++ b/configure @@ -357,7 +357,7 @@ prefix = ${PREFIX} libdir = ${LIBDIR:=\$(prefix)/lib} # The directory to which header files should be

[notmuch] A few patches

2010-03-01 Thread Mike Kelly
messages/folders. An empty > > pattern should match everything. > > I agree that '' should work, but then I would expect to have '*' work > as well. Is there a reason not to have both at the same time? Both > make sense. Try out this patch. It works both ways. -- Mik

Re: [notmuch] A few patches

2010-03-01 Thread Mike Kelly
match everything. I agree that '' should work, but then I would expect to have '*' work as well. Is there a reason not to have both at the same time? Both make sense. Try out this patch. It works both ways. -- Mike Kelly From 861a52ecaf87da6d95aabad05fd4ed3a2609a246 Mon Sep 17 00:00:00 2001

[notmuch] [PATCH 2/2] document new `notmuch new` behavior

2010-02-26 Thread Mike Kelly
--- notmuch.1 |8 +--- notmuch.c |3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/notmuch.1 b/notmuch.1 index 282ad98..f03529e 100644 --- a/notmuch.1 +++ b/notmuch.1 @@ -93,9 +93,11 @@ The .B new command scans all sub-directories of the database, performing

[notmuch] [PATCH 1/2] Initial support for maildir flags.

2010-02-26 Thread Mike Kelly
When adding new messages, if they have the 'S' (seen) flag, do not add them to the 'unread' tag. --- lib/message.cc | 25 + lib/notmuch.h |5 + notmuch-new.c |3 ++- 3 files changed, 32 insertions(+), 1 deletions(-) diff --git a/lib/message.cc

[notmuch] [PATCH] A simple approach to maildir flags

2010-02-26 Thread Mike Kelly
The following patches attempt to provide a simple, extendable approach to handling the 'Seen' maildir flag. To appease (hopefully) everyone, it will only do this for new messages. This means that people coming from another MUA won't be stuck with 30,000 unread messages, for example. It should be

[notmuch] [PATCH] A simple approach to maildir flags

2010-02-26 Thread Mike Kelly
The following patches attempt to provide a simple, extendable approach to handling the 'Seen' maildir flag. To appease (hopefully) everyone, it will only do this for new messages. This means that people coming from another MUA won't be stuck with 30,000 unread messages, for example. It should be

[notmuch] [PATCH 1/2] Initial support for maildir flags.

2010-02-26 Thread Mike Kelly
When adding new messages, if they have the 'S' (seen) flag, do not add them to the 'unread' tag. --- lib/message.cc | 25 + lib/notmuch.h |5 + notmuch-new.c |3 ++- 3 files changed, 32 insertions(+), 1 deletions(-) diff --git a/lib/message.cc

[notmuch] [PATCH 2/2] document new `notmuch new` behavior

2010-02-26 Thread Mike Kelly
--- notmuch.1 |8 +--- notmuch.c |3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/notmuch.1 b/notmuch.1 index 282ad98..f03529e 100644 --- a/notmuch.1 +++ b/notmuch.1 @@ -93,9 +93,11 @@ The .B new command scans all sub-directories of the database, performing

[notmuch] [PATCH] Mail::Notmuch Perl wrapper

2010-01-25 Thread Mike Kelly
library - there's a patch on the mailing list > earlier which does that. > Notmuch else to say, really. Enjoy. Hey, I was working on that! :p But, thanks. I'll probably be giving you more thorough feedback soon. -- Mike Kelly

[notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread Mike Kelly
l this should be optional. But, since it is likely the behavior most people would expect, I think it should be the default. PS. You mean the 'new-unread' branch, not the 'noarg-count' branch, from my repo. -- Mike Kelly

Re: [notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread Mike Kelly
most people would expect, I think it should be the default. PS. You mean the 'new-unread' branch, not the 'noarg-count' branch, from my repo. -- Mike Kelly ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[notmuch] A few patches

2010-01-21 Thread Mike Kelly
`notmuch new` only tag messages as 'unread' if they don't have a maildir 'seen' flag. This shouldn't affect anyones existing database, but should make initial imports for people migrating from other mail setups (like me) go much better. -- Mike Kelly

[notmuch] A few patches

2010-01-21 Thread Mike Kelly
`notmuch new` only tag messages as 'unread' if they don't have a maildir 'seen' flag. This shouldn't affect anyones existing database, but should make initial imports for people migrating from other mail setups (like me) go much better. -- Mike Kelly