From: jao Date: Tue, 13 Dec 2022 02:15:42 +0000 (+0000) Subject: emacs: notmuch-tree-outline-mode X-Git-Tag: 0.38_rc0~54 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=f63d14a8c12ad76024d2865c0223a06f6f4bb372;hp=f63d14a8c12ad76024d2865c0223a06f6f4bb372;p=notmuch emacs: notmuch-tree-outline-mode With this mode, one can fold trees in the notmuch-tree buffer as if they were outlines, using all the commands provided by outline-minor-mode. We also define a couple of movement commands that, optional, will ensure that only the thread around point is unfolded. The implementation is based on registering a :level property in the messages p-list, that is then used by outline-minor-mode to to recognise headers. Amended by db: Copy docstring to manual and edit for presentation. Add two tests. Fix typo "wether". ---