Re: [PATCH] NEWS: deprecate Emacs 24

2019-04-14 Thread David Bremner
David Bremner writes: > --- > NEWS | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/NEWS b/NEWS > index 9fcb57ed..5dffd5a2 100644 > --- a/NEWS > +++ b/NEWS > @@ -7,6 +7,12 @@ Command Line Interface > `notmuch show` now supports --body=false and --include-html with > --format=text

Re: Updated version of the patch-set for tagging forwarded messages

2019-04-14 Thread David Bremner
Örjan Ekeberg writes: > This is a new (final?) version of the patch set for adding reference > links to forwarded messages, and tags to forwarded and replied messages. pushed this version to master. Thanks for working with us to get the series into notmuch. d ___

Re: [PATCH] lib: add 'body:' field, stop indexing headers twice.

2019-04-14 Thread David Bremner
David Bremner writes: > The new `body:` field (in Xapian terms) or prefix (in slightly > sloppier notmuch) terms allows matching terms that occur only in the > body. > > Unprefixed query terms should continue to match anywhere (header or > body) in the message. Last call for review. I'll push th

[PATCH 3/3] lib: migrate from Xapian ValueRangeProcessor to RangeProcessor

2019-04-14 Thread David Bremner
This will be mandatory as of Xapian 1.5. The API is also more consistent with the FieldProcessor API, which helps code re-use a bit. Note that this switches to using the built-in Xapian support for prefixes on ranges (i.e. deleted code at beginning of ParseTimeRangeProcessor::operator(), added pr

[PATCH 1/3] build: require Xapian >= 1.4.0

2019-04-14 Thread David Bremner
This is necessary before we can support Xapian 1.5, which drops the old compact API, and replaces ValueRangeProcessor classes with RangeProcessor classes. It also simplifies maintainability as 3 previously optional features are now part of the baseline Xapian version. --- INSTALL | 17 +-

Drop support for pre-1.4 Xapian, prepare for 1.5.x

2019-04-14 Thread David Bremner
The current development release of Xapian drops several deprecated APIs. This hampers testing of notmuch against Xapian master (i.e. to see if a problem has been fixed). This series fixes most of the incompatibilities. The one thing this series doesn't handle is test/T530-upgrade.sh, which mostly

[PATCH 2/3] lib: migrate to post Xapian 1.3.4 compact support

2019-04-14 Thread David Bremner
The old API was deprecated in Xapian 1.3.4 and (will be) removed in 1.5.0 --- lib/database.cc | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/database.cc b/lib/database.cc index 09ab9cb0..bad6df5f 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -1197,11 +1197,7 @