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 | 22232fc39598ffc065ee134889c3143566be5faa (patch) | |
| tree | d72f4630ead87023b7e17ceeeabceb7db3f8b3c0 /tests/test-calendar-sync--parse-event.el | |
| parent | cd0b90dc74996f7bd7b897834bac7038ffb7f5b8 (diff) | |
| download | dotemacs-22232fc39598ffc065ee134889c3143566be5faa.tar.gz dotemacs-22232fc39598ffc065ee134889c3143566be5faa.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 'tests/test-calendar-sync--parse-event.el')
0 files changed, 0 insertions, 0 deletions
