Re: [PATCH v2 00/11] Add filesize index, search, sort & emacs UI

Subject: Re: [PATCH v2 00/11] Add filesize index, search, sort & emacs UI

Date: Tue, 06 Jun 2017 20:11:55 -0300

To: Ioan-Adrian Ratiu, notmuch@notmuchmail.org

Cc: xapian-discuss@lists.xapian.org

From: David Bremner


David Bremner <david@tethera.net> writes:

> Ioan-Adrian Ratiu <adi@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

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.

Thread: