Re: Create tags from folders

2022-08-09 Thread David Bremner
Reto writes: > > Out of interest, how does your workflow look like? > All based on folder queries? I don't use folders much anymore. My main searches are defined in terms of List-ID ORed with tags to sort into mailing-list-like-things (as some things I think should be part of the list are missing

[PATCH 3/3] WIP/lib: use common lastmod logic in infix parser

2022-08-09 Thread David Bremner
This allows the support of negative lastmod revisions to be interpreted as relative to the most recent revision. --- lib/lastmod-fp.cc | 15 + lib/lastmod-fp.h | 39 ++ lib/open.cc| 4 ++-- test/T570-revisi

[PATCH 2/3] WIP/lib: factor out lastmod range handling from sexp parser.

2022-08-09 Thread David Bremner
This will permit the re-use of the same logic in the infix query parser. The location of the shared code in the infix side is just a convention at this point. --- lib/Makefile.local | 3 +- lib/database-private.h | 6 lib/lastmod-fp.cc | 68 +