Re: Inconsistent query results

2017-03-09 Thread Olly Betts
On Wed, Mar 08, 2017 at 10:32:56PM -0400, David Bremner wrote: > "Kirill A. Shutemov" writes: > > I found that on particular queries notmuch return different results if run > > the query few times. Re-initialing the query or db doesn't help. > > Thanks for the report. I

Re: [RFC PATCH 6] support make goals after initial {'', dist, data}clean goal(s)

2017-03-09 Thread Tomi Ollila
On Thu, Mar 09 2017, David Bremner wrote: > Tomi Ollila writes: > >> Now make goal combinations starting with *clean goals, >> ending with *clean coals, and having non-*clean goals in between >> should work. What does not expected to work are >> non-*clean

Re: [PATCH] emacs: add support for stashing formatted timestamp

2017-03-09 Thread Tomi Ollila
On Thu, Mar 09 2017, David Bremner wrote: > Jani Nikula writes: > >> notmuch-show-stash-date stashes the Date: header of the message >> verbatim. While that is useful, sometimes more control of the output >> is desirable. >> >> Add support for stashing the

Re: [PATCH] tests: add compatibility layer

2017-03-09 Thread Tomi Ollila
On Thu, Mar 09 2017, David Bremner wrote: > From: Mikhail > > Make test-lib-common.sh load test-lib-<$PLATFORM>.sh to create > additional shim for platform specifics. > > Use test-lib-FREEBSD.sh to call GNU utilities instead of native ones. > > - amended by

Re: [David Bremner] Re: [PATCH] cli/new: Avoid printing "\033[K" to non-terminal output

2017-03-09 Thread Tomi Ollila
On Thu, Mar 09 2017, David Bremner wrote: > From: David Bremner > Subject: Re: [PATCH] cli/new: Avoid printing "\033[K" to non-terminal output > To: Łukasz Stelmach > Date: Thu, 09 Mar 2017 08:35:11 -0400 > > Łukasz Stelmach

[PATCH] tests: add compatibility layer

2017-03-09 Thread David Bremner
From: Mikhail Make test-lib-common.sh load test-lib-<$PLATFORM>.sh to create additional shim for platform specifics. Use test-lib-FREEBSD.sh to call GNU utilities instead of native ones. - amended by db following Tomi's suggestions --- I haven't tested this, except to

[David Bremner] Re: [PATCH] cli/new: Avoid printing "\033[K" to non-terminal output

2017-03-09 Thread David Bremner
--- Begin Message --- Łukasz Stelmach writes: > --- > notmuch-new.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/notmuch-new.c b/notmuch-new.c > index 1321263..44174ad 100644 > --- a/notmuch-new.c > +++ b/notmuch-new.c > @@ -905,10 +905,9

Re: [PATCH] emacs: add support for stashing formatted timestamp

2017-03-09 Thread David Bremner
Jani Nikula writes: > notmuch-show-stash-date stashes the Date: header of the message > verbatim. While that is useful, sometimes more control of the output > is desirable. > > Add support for stashing the message timestamp (as parsed by gmime at > the lib level from the Date:

[PATCH] bindings/python: test python Database.get_revision ()

2017-03-09 Thread Gaute Hope
Here is a test for Database.get_revision (), based on the first part of T570-revision-tracking.sh. --- test/T390-python.sh | 19 +++ 1 file changed, 19 insertions(+) diff --git a/test/T390-python.sh b/test/T390-python.sh index 4726bc36..b27f0740 100755 --- a/test/T390-python.sh

Re: [RFC PATCH 6] support make goals after initial {'', dist, data}clean goal(s)

2017-03-09 Thread David Bremner
Tomi Ollila writes: > Now make goal combinations starting with *clean goals, > ending with *clean coals, and having non-*clean goals in between > should work. What does not expected to work are > non-*clean - *clean - *non-clean goal combinations. > > Also, if first goals are

Re: [RFC PATCH] doc: add support for adding configure options as Sphinx tags

2017-03-09 Thread David Bremner
Jani Nikula writes: > Add the configure options specified in $(TAGS) that equal 1 as tags on > the Sphinx command line using the -t option. The tags may be used to > conditionally include documentation using the Sphinx "only" directive > [1]. > > As an example, indicate in the

Re: [PATCH] bindings/python: add bindings for notmuch_database_get_revision

2017-03-09 Thread David Bremner
Gaute Hope writes: > Database.get_revision () returns a tuple with the current database > revision and the UUID string representing the database. It would be great if you could add a test for the new API to T390-python.sh. Probably just translating the C example from