Re: [PATCH 3.5/8] Query parser tests for wildcard queries.

2011-01-24 Thread Michal Sojka
On Sun, 23 Jan 2011, Austin Clements wrote: > Oops, yes. I'm not sure why you had to initialize qparser_desc (are you > sure it doesn't compile if you omit that?), This was another problem - I got a warning that this variable might be uninitialized. -Michal _

Re: [PATCH] configure: add options to disable emacs/zsh/bash and choose install dir.

2011-01-24 Thread Michal Sojka
Hi Cédric, thanks for the patch. I checked it and it didn't break anything for me. But it made me thinking why zsh completion does not work for a long time. Carl, please apply the patch below. -Michal From 72f6488b39aec318264caf26d2b163f73d3cf694 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date

Re: [PATCH 6/8 v2] Support maildir folder search.

2011-01-24 Thread Austin Clements
This implements a folder: query prefix by constructing a wildcard query that matches all files within the specified folder, folder/new, or folder/cur. This works with hierarchical folder names, and accepts both absolute and relative paths. --- Well, that's embarrassing. I somehow lost the critic

[PATCH 5.5/8] test: Wildcard tag search and untagged search.

2011-01-24 Thread Austin Clements
--- test/qparser-test.cc |6 +++--- test/qparser.expected-output/wildcards | 13 + test/search| 12 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/test/qparser-test.cc b/test/qparser-test.cc index ae6c8

[PATCH 6.5/8] test: Add tests for custom query parser-based folder searches.

2011-01-24 Thread Austin Clements
--- test/notmuch-test |2 +- test/search-by-folder | 52 + 2 files changed, 53 insertions(+), 1 deletions(-) create mode 100755 test/search-by-folder diff --git a/test/notmuch-test b/test/notmuch-test index 1e331b3..2aa3489 100755 --- a/t

[PATCH 8.5/8] test: Add tests for search by date.

2011-01-24 Thread Austin Clements
--- test/search | 67 +++ 1 files changed, 67 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index 7d1dedb..6425359 100755 --- a/test/search +++ b/test/search @@ -73,6 +73,73 @@ add_message '[subject]="this phrase sho

Tag timestamps and synchronization

2011-01-24 Thread dm-list-email-notmuch
One of the features I would like to see from notmuch is an easier ability to synchronize tags across machines. At the very least, I would need either incremental dump and restore, or some way to communicate arbitrary tags to a local imap server that shares notmuch's maildir (much as notmuch curren

Re: [PATCH] configure: add options to disable emacs/zsh/bash and choose install dir.

2011-01-24 Thread Cédric Cabessa
On Monday 24 January 2011 08:10:20 Xavier Maillard wrote: > > Why not just try to detect whether bash/zsh or even emacs is available > on the system and install the dependent files when it is the case ? Hi Xavier, I think it is better to let user explicitly choose what he want to install or not.

Re: [PATCH 1/4] Import date/time parser from GNU coreutils

2011-01-24 Thread Jameson Rollins
On Sun, 23 Jan 2011 12:47:24 +0100, Michal Sojka wrote: > This function have quite a lot dependencies. We may reduce them later it > it is a problem. > --- > lib/c-ctype.c | 398 +++ > lib/c-ctype.h | 297 + > lib/getdate.c | 3497 > ++

Re: Tag timestamps and synchronization

2011-01-24 Thread Tim Stoakes
dm-list-email-notm...@scs.stanford.edu(dm-list-email-notm...@scs.stanford.edu)@240111-11:10: > One of the features I would like to see from notmuch is an easier > ability to synchronize tags across machines. At the very least, I > would need either incremental dump and restore, or some way to > co

Re: Tag timestamps and synchronization

2011-01-24 Thread dm-list-email-notmuch
At Tue, 25 Jan 2011 10:08:12 +1030, Tim Stoakes wrote: > > I do something like this by using some shell scripts with formail, to > 'store' notmuch tags into the X-Label headers of the individual mails. > Offlineimap then syncs these headers. If I need the tags to become > notmuch-ified on the targ

[PATCH] Add --include-duplicates option to a couple of commands.

2011-01-24 Thread Carl Worth
This adds new functionality under the names of: notmuch search --output=files --include-duplicates notmuch show --include-duplicates notmuch show --format=json --include-duplicates These new commands behave similarly to the existing commands without the --include-duplicate

[PATCH] configure: add options to disable emacs/zsh/bash and choose install dir.

2011-01-24 Thread Xavier Maillard
Hi Cedric, On Sun, 23 Jan 2011 14:33:43 +0100, C?dric Cabessa wrote: > add --bashcompletiondir and --zshcompletiondir (like --emacslispdir) to choose > installation dir for bash/zsh completion files > > Make some features optional: > --without-emacs / --with-emacs=no do not install lisp file >

[PATCH 3.5/8] Query parser tests for wildcard queries.

2011-01-24 Thread Michal Sojka
On Sun, 23 Jan 2011, Austin Clements wrote: > Oops, yes. I'm not sure why you had to initialize qparser_desc (are you > sure it doesn't compile if you omit that?), This was another problem - I got a warning that this variable might be uninitialized. -Michal

[PATCH 6/8 v2] Support maildir folder search.

2011-01-24 Thread Austin Clements
This implements a folder: query prefix by constructing a wildcard query that matches all files within the specified folder, folder/new, or folder/cur. This works with hierarchical folder names, and accepts both absolute and relative paths. --- Well, that's embarrassing. I somehow lost the critic

[PATCH 5.5/8] test: Wildcard tag search and untagged search.

2011-01-24 Thread Austin Clements
--- test/qparser-test.cc |6 +++--- test/qparser.expected-output/wildcards | 13 + test/search| 12 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/test/qparser-test.cc b/test/qparser-test.cc index ae6c8

[PATCH 6.5/8] test: Add tests for custom query parser-based folder searches.

2011-01-24 Thread Austin Clements
--- test/notmuch-test |2 +- test/search-by-folder | 52 + 2 files changed, 53 insertions(+), 1 deletions(-) create mode 100755 test/search-by-folder diff --git a/test/notmuch-test b/test/notmuch-test index 1e331b3..2aa3489 100755 --- a/t

[PATCH 8.5/8] test: Add tests for search by date.

2011-01-24 Thread Austin Clements
--- test/search | 67 +++ 1 files changed, 67 insertions(+), 0 deletions(-) diff --git a/test/search b/test/search index 7d1dedb..6425359 100755 --- a/test/search +++ b/test/search @@ -73,6 +73,73 @@ add_message '[subject]="this phrase sho

Tag timestamps and synchronization

2011-01-24 Thread dm-list-email-notm...@scs.stanford.edu
One of the features I would like to see from notmuch is an easier ability to synchronize tags across machines. At the very least, I would need either incremental dump and restore, or some way to communicate arbitrary tags to a local imap server that shares notmuch's maildir (much as notmuch curren

[PATCH] configure: add options to disable emacs/zsh/bash and choose install dir.

2011-01-24 Thread Cédric Cabessa
On Monday 24 January 2011 08:10:20 Xavier Maillard wrote: > > Why not just try to detect whether bash/zsh or even emacs is available > on the system and install the dependent files when it is the case ? Hi Xavier, I think it is better to let user explicitly choose what he want to install or not.

[PATCH 1/4] Import date/time parser from GNU coreutils

2011-01-24 Thread Jameson Rollins
that, rather than just linking against an external library? 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/20110124/47f5bb49/attachment.pgp>

Tag timestamps and synchronization

2011-01-24 Thread dm-list-email-notm...@scs.stanford.edu
At Tue, 25 Jan 2011 10:08:12 +1030, Tim Stoakes wrote: > > I do something like this by using some shell scripts with formail, to > 'store' notmuch tags into the X-Label headers of the individual mails. > Offlineimap then syncs these headers. If I need the tags to become > notmuch-ified on the targ