David Bremner
2017-Jun-06 18:51 UTC
[PATCH v2 00/11] Add filesize index, search, sort & emacs UI
Ioan-Adrian Ratiu <adi at adirat.com> 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
David Bremner
2017-Jun-06 23:11 UTC
[PATCH v2 00/11] Add filesize index, search, sort & emacs UI
David Bremner <david at tethera.net> writes:> Ioan-Adrian Ratiu <adi at adirat.com> 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/135When 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.