Hi Kevin,

> This weekend, I'm going to work on merging the compressed mailboxes
> patch.  It looks like the NeoMutt team did a nice job reworking it with
> Damien's mx_ops changes.

Thanks :-)

> I found a broken-out patch file in the Gentoo archive,
> so plan on using that as a starting point.

The code hasn't changed since Gentoo took that patch,
but it has been reformatted to "Mutt-standard".

I've rebased that code to the latest default (45023e44c92c - Define PATH_MAX)

Tree:
    https://github.com/neomutt/neomutt/tree/devel/compress
Patch:
    https://github.com/neomutt/neomutt/commit/e969f0d.patch


This feature's quite fiddly to test.
My test cases cover most of the routes through the code.

# Hook Combinations

Not all of the hooks (Open, Close, Append) are required.
The combinations that make sense are:
    Open only
    Open and Close
    Open, Close and Append
    Open and Append

# Actions

There are 10 actions you can perform for each of the hook combinations:
    Open mailbox
    Close mailbox
    Sync mailbox (after no changes)
    Sync mailbox (after a change)
    Append one file
    Append many files
    Delete file
    Open message
    Close message
    External mailbox update

# Misc

There are two other ways a compressed mailbox won't work:
    Bad compression
    Bad mailbox inside

Rich

Attachment: signature.asc
Description: PGP signature

Reply via email to