diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-13 23:19:36 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-13 23:19:36 -0500 |
| commit | 00f1246fa32fa65571a141b1b685b95994fbfbc9 (patch) | |
| tree | c86af3372d6e4c019aeaa782b44d011a4f8e10b5 /tests/test-ai-term--default-geometry.el | |
| parent | 9927367c02c4e8723af27efb1dedbb8f89149c85 (diff) | |
| download | dotemacs-00f1246fa32fa65571a141b1b685b95994fbfbc9.tar.gz dotemacs-00f1246fa32fa65571a141b1b685b95994fbfbc9.zip | |
fix(mu4e-attachments): reject stale MIME handles at save time
The selection buffer captures MIME handles when it opens, but viewing another message kills the buffer a handle points at. Saving through such a handle died deep in mm-decode, or could write another message's bytes. The save path now signals a user-error naming the attachment when its handle's buffer is dead, and it checks before any mu4e MIME support loads, in the same spot as the existing no-handle check.
I added tests for the stale-handle error, the healthy live-handle save, and the mid-batch failure behavior (the error propagates and files already written stay).
Diffstat (limited to 'tests/test-ai-term--default-geometry.el')
0 files changed, 0 insertions, 0 deletions
