On Mon, 15 Oct 2012, Ethan Glasser-Camp ethan.glasser.c...@gmail.com wrote:
+/* Parse a previously postponed number if one exists. */
+static int parse_postponed_number (struct state *state, int v, int n, char
d);
+static int
+handle_postponed_number (struct state *state, enum field
Here is a new spin of my patchset introduced in late August
(id:1345476704-17091-1-git-send-email-bgamari.f...@gmail.com) adding a
compact command to libnotmuch and the command line frontend.
I believe the concerns raised in August have been addressed, but correct me if
I'm wrong.
Cheers,
- Ben
---
Makefile.local|1 +
notmuch-client.h |3 +++
notmuch-compact.c | 43 +++
notmuch.c |3 +++
4 files changed, 50 insertions(+)
create mode 100644 notmuch-compact.c
diff --git a/Makefile.local b/Makefile.local
index
---
lib/database.cc | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/lib/database.cc b/lib/database.cc
index 6e83a61..49aa36d 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -780,11 +780,24 @@ notmuch_database_close (notmuch_database_t *notmuch)
Adrien Bustany adr...@bustany.org writes:
This method explicitly flushes the pending modifications to disk. It is
useful if your program has various threads, each with a read only DB and
one writer thread with a read/write DB. In that case, you most likely
want the writer to sync the changes
Hi Ben -
I'd like some meaningful commit messages here. Please find other
comments inline.
BR,
Jani.
On Wed, 17 Oct 2012, Ben Gamari bgamari.f...@gmail.com wrote:
---
configure | 21 -
lib/database.cc | 54 ++
Again, a commit message saying *why* having a flood of status messages
is a good idea would be appreciated. I'm not sure it is a good idea.
On Wed, 17 Oct 2012, Ben Gamari bgamari.f...@gmail.com wrote:
---
lib/database.cc | 15 ++-
1 file changed, 14 insertions(+), 1
Nag nag nag: Commit message. ;)
The custom is to have a man page for each notmuch cli command.
Small nitpicks below.
BR,
Jani.
On Wed, 17 Oct 2012, Ben Gamari bgamari.f...@gmail.com wrote:
---
Makefile.local|1 +
notmuch-client.h |3 +++
notmuch-compact.c | 43
Le 17/10/2012 18:53, Ethan Glasser-Camp a écrit :
Adrien Bustany adr...@bustany.org writes:
This method explicitly flushes the pending modifications to disk. It is
useful if your program has various threads, each with a read only DB and
one writer thread with a read/write DB. In that case, you
The code of the patches in unchanged, but the formatting issues are now
hopefully fixed.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch
This method explicitly flushes the pending modifications to disk. It is
useful if your program has various threads, each with a read only DB and
one writer thread with a read/write DB. In that case, you most likely
want the writer to sync the changes to disk so that the readers can see
them,
Calling notmuch_database_reopen is needed to refresh the database
contents when the database on disk was modified by another
notmuch_database_t instance, for example in a different thread.
---
lib/database.cc | 17 +
lib/notmuch.h | 8
2 files changed, 25 insertions(+)
From: Pieter Praet pie...@praet.org
See commits 44a544ed, 866ce8b1, 668b66ec.
Signed-off-by: Ethan Glasser-Camp et...@betacantrips.com
---
I am embarrassed to admit I didn't try to apply these patches before I
removed the needs-review tag. This one didn't apply. Here's the
trivial fix. The tests
Ethan Glasser-Camp ethan.glasser.c...@gmail.com writes:
This patch, and its predecessors, all look great to me.
But a note: many of the first lines in your commit messages ({show,
hide} message headers) contain tabs. I hate tabs. Is this intentional?
I have noticed it on other patches you've
This requires changing the contents of the crypto tests, as one thread
that was marked read by the earlier tests in test/emacs is no longer
marked read.
This moves tests for:
- 09d19ac test: emacs: toggle eliding of non-matching messages in
`notmuch-show', which should have actually read:
On Fri, Oct 12 2012, Ethan Glasser-Camp ethan.glasser.c...@gmail.com wrote:
Since $TEST_DIRECTORY is an absolute path, any filenames generated
with it will be complete paths. Only use the basename to generate
suffixes for filenames.
Signed-off-by: Ethan Glasser-Camp et...@betacantrips.com
On Mon, 15 Oct 2012, Ethan Glasser-Camp wrote:
>> +/* Parse a previously postponed number if one exists. */
>> +static int parse_postponed_number (struct state *state, int v, int n, char
>> d);
>> +static int
>> +handle_postponed_number (struct state *state, enum field next_field)
>> +{
>> +
Here is a new spin of my patchset introduced in late August
(id:"1345476704-17091-1-git-send-email-bgamari.foss at gmail.com") adding a
compact command to libnotmuch and the command line frontend.
I believe the concerns raised in August have been addressed, but correct me if
I'm wrong.
Cheers,
---
lib/database.cc | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/lib/database.cc b/lib/database.cc
index 6e83a61..49aa36d 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -780,11 +780,24 @@ notmuch_database_close (notmuch_database_t *notmuch)
---
configure | 21 -
lib/database.cc | 54 ++
lib/notmuch.h | 14 ++
3 files changed, 88 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index acb90a8..6551b13 100755
---
---
Makefile.local|1 +
notmuch-client.h |3 +++
notmuch-compact.c | 43 +++
notmuch.c |3 +++
4 files changed, 50 insertions(+)
create mode 100644 notmuch-compact.c
diff --git a/Makefile.local b/Makefile.local
index
Adrien Bustany writes:
> This method explicitly flushes the pending modifications to disk. It is
> useful if your program has various threads, each with a read only DB and
> one writer thread with a read/write DB. In that case, you most likely
> want the writer to sync the changes to disk so
Hi Ben -
I'd like some meaningful commit messages here. Please find other
comments inline.
BR,
Jani.
On Wed, 17 Oct 2012, Ben Gamari wrote:
> ---
> configure | 21 -
> lib/database.cc | 54 ++
> lib/notmuch.h
Again, a commit message saying *why* having a flood of status messages
is a good idea would be appreciated. I'm not sure it is a good idea.
On Wed, 17 Oct 2012, Ben Gamari wrote:
> ---
> lib/database.cc | 15 ++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
> diff --git
Nag nag nag: Commit message. ;)
The custom is to have a man page for each notmuch cli command.
Small nitpicks below.
BR,
Jani.
On Wed, 17 Oct 2012, Ben Gamari wrote:
> ---
> Makefile.local|1 +
> notmuch-client.h |3 +++
> notmuch-compact.c | 43
From: Pieter Praet
See commits 44a544ed, 866ce8b1, 668b66ec.
Signed-off-by: Ethan Glasser-Camp
---
I am embarrassed to admit I didn't try to apply these patches before I
removed the needs-review tag. This one didn't apply. Here's the
trivial fix. The tests are still placed at
Ethan Glasser-Camp writes:
> This patch, and its predecessors, all look great to me.
But a note: many of the first lines in your commit messages ("{show,
hide} message headers") contain tabs. I hate tabs. Is this intentional?
I have noticed it on other patches you've sent (such as
Ethan Glasser-Camp writes:
> Pieter Praet writes:
>
>> Great work!
>>
>> Here's some tests.
>
> Hi! These look fine to me. With Mark's review
> (id:"87k41e45hi.fsf at qmul.ac.uk"), I'm removing the needs-review tag.
Tests pushed (with Ethan's rebased version of the first patch)
d
This requires changing the contents of the crypto tests, as one thread
that was marked read by the earlier tests in test/emacs is no longer
marked read.
This moves tests for:
- 09d19ac "test: emacs: toggle eliding of non-matching messages in
`notmuch-show'", which should have actually read:
29 matches
Mail list logo