David Bremner <email@example.com> writes: > Ioan-Adrian Ratiu <firstname.lastname@example.org> writes: > >> I'd like to add a feature to quickly work with mail file sizes >> because using custom scripts / external programs which parse >> maildir contents is slow, and non-intuitive, especially since >> notmuch does incremental parsing and has such a nice emacs UI. > > I just remembered (and olly confirmed) that there is some work in > progress on adding file sizes to the xapian query parser. Finishing that > would benefit more people, and allow the feature you want in notmuch > with less code in notmuch. Maybe you could have a look and see if it's > practical to finish this off (or consult with the original student who > seems to have abandonded it, but maybe not). > > https://github.com/xapian/xapian/pull/135 When I take a second look at that pull request, it's more a layer on top of the series proposed for notmuch, to provide human readable units. It (and the omega file size indexing it extends) nonetheless might be interesting for you.