]> git.notmuchmail.org Git - notmuch/commit
contrib: pick: allow recursive message field formats
authorMark Walters <markwalters1009@gmail.com>
Mon, 2 Sep 2013 03:28:07 +0000 (04:28 +0100)
committerDavid Bremner <bremner@debian.org>
Sun, 15 Sep 2013 11:58:03 +0000 (08:58 -0300)
commit6ae591911c41ca2b2c042e79f545579b2ccd55cb
treee9812effdb4142cd90f0d7ac2def0575a9ad5eca
parent6c8116c05b5cb1de4cabf5ffd2abca444fcdd717
contrib: pick: allow recursive message field formats

Previously, the message format was fixed: each part had to be a
certain width and either left or right justified. This allows the user
to specify that two parts can be variable width but that combined they
should be some fixed width. We do this by allowing the user to set as
a "field" a list of the normal result-format form which is formatted
and then itself inserted according to the format string specified.

This means all existing formats work but allows more general things
too. This will be used in the next patch to allow the user to specify
where the tree box graphics are drawn but allow, e.g., the total width
of the tree box graphics and subject to be specified.
contrib/notmuch-pick/notmuch-pick.el