Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rougier/mu4e-folding
Thread folding support for mu4e
https://github.com/rougier/mu4e-folding
emacs lisp mail mu4e
Last synced: 2 months ago
JSON representation
Thread folding support for mu4e
- Host: GitHub
- URL: https://github.com/rougier/mu4e-folding
- Owner: rougier
- License: gpl-3.0
- Created: 2022-04-27T08:58:25.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-08T17:48:21.000Z (over 2 years ago)
- Last Synced: 2024-08-07T18:30:31.299Z (6 months ago)
- Topics: emacs, lisp, mail, mu4e
- Language: Emacs Lisp
- Homepage:
- Size: 20.5 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
- License: LICENSE.txt
Awesome Lists containing this project
README
* mu4e folding
[[file:mu4e-folding.el][mu4e-folding.el]] is a minor mode to enable threads folding in [[https://www.djcbsoftware.nl/code/mu/][mu4e]].
It works by using overlays with an invisible property and setting
hooks at the right place. It is possible to configure colors to
better highlight a thread. Note that when a thread is folded, any
unread child remains visible. Compared to [[https://github.com/rougier/mu4e-thread-folding][mu4e-thread-folding]], this
mode shoudl be much faster (less compuation overall).Internally, the library works by creating overlay for each thread:
- mu4e-folding-root: overlay for the root of the thread
- mu4e-folding-all-children: overlay for all the thread children
- mu4e-folding-read-children: overlay for all the read childrenChildren have two overlays such that we can hide the read children
while keeping the unread visible: when a thread is folded, unread
children stay visibleDefault keybinding are:
- `tab` for toggling fold status of a single thread
- `shift-tab` for toggling fold status of all threadsCustomization is accessible from the `mu4e-folding` group