michaeljgruber+grubix+...@gmail.com writes: > From: Michael J Gruber <g...@grubix.eu> > > a1d139de ("lib: add sexp: prefix to Xapian (infix) query parser.", > 2022-04-09) introduced sfsexp infix queries. This requires the infix > preprocessor to be built in in a way which does not require sfsexp when > notmuch is built without it. > > Make the preprocessor throw a Xapian error in this case (and fix the > build). > > Signed-off-by: Michael J Gruber <g...@grubix.eu> > --- > Maybe something like this - I have not test *with* sfsexp, though.
Either your patch or mine is OK with me. Yours might be slightly nicer since it gives an actual error message, rather than falling back to the corresponding phrase (generic Xapian query parser behaviour with unknown prefixes). I did test both with and without libsfsexp-dev installed. d _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org