diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-12 00:34:03 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-12 00:34:03 -0500 |
| commit | f406c91c06902fef388ec1cc52ea373b2d72485a (patch) | |
| tree | d72f4630ead87023b7e17ceeeabceb7db3f8b3c0 /modules/prog-python.el | |
| parent | 5d361a6ae7f48d482a39b18e06187842d4ffcde6 (diff) | |
| download | dotemacs-f406c91c06902fef388ec1cc52ea373b2d72485a.tar.gz dotemacs-f406c91c06902fef388ec1cc52ea373b2d72485a.zip | |
refactor(mail): extract the mu4e attachment workflow into its own module
The attachment-save UI (the MIME-part filters, the three save commands, and the `special-mode'-derived selection buffer) was ~230 lines in `mail-config.el' and depended on nothing else there. It moves to `modules/mu4e-attachments.el', which `mail-config' now requires. `cj/email-map' and its C-; e bindings stay put. The keymap just points at commands that now live next door.
The unit tests move with it: `test-mail-config-attachments.el' becomes `test-mu4e-attachments.el' and requires the new module directly instead of pulling in the whole mu4e and org-msg use-package stack. The two tests that check `cj/email-map' wiring move to a new `test-mail-config.el', since that map belongs to `mail-config'. One of the moved tests quietly relied on a real mu4e install (it loaded `mu4e-mime-parts' through a load-path entry that loading `mail-config' happens to add), so it now stubs that path itself.
Diffstat (limited to 'modules/prog-python.el')
0 files changed, 0 insertions, 0 deletions
