diff options
author | Vitaly Ovchinnikov <v@postbox.nz> | 2023-06-07 14:27:13 +0300 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-06-10 19:58:14 +0200 |
commit | 5fc6c8408450a8a7e7b6d33632155d6aca0db9be (patch) | |
tree | f8430210630e2233b80b7a6f45d89d5c9033f3d8 /CHANGELOG.md | |
parent | edd4752268b266d697be51733599b708e4ae449a (diff) | |
download | aerc-5fc6c8408450a8a7e7b6d33632155d6aca0db9be.tar.gz |
save: new option for saving attachments
Add a new `-A` option to `:save` that works in the same manner as `-a`,
but saves all the named parts of an email, not just attachments.
The reason is that I have an email with this structure:
multipart/related
multipart/alternative
text/plain
text/html
image/png (image001.png)
image/png (image002.png)
image/png (image003.png)
text/plain (env.txt)
Where the `env.txt` is a "real" attachment, while the images are just a
part of the HTML version of the email. However, in this particular email
it was important to see them which can't be done with text UI and
opening the HTML part with the browser also didn't work. Saving them to
a temorary folder did the job and this can be useful in other scenarios.
So before the patch we could do `:save -ap /some/path` and get just the
`env.txt` saved there.
After the patch we could also do `:save -Ap /some/path` and get all the
images and the text file saved into the folder.
Signed-off-by: Vitaly Ovchinnikov <v@postbox.nz>
Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c321b001..33876008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added +- Add a `-A` option to `:save` for saving all the named parts, not just + attachments - Colorize can style diff chunk function names with `diff_chunk_func`. - Warn before sending emails with an empty subject with `empty-subject-warning` in `aerc.conf`. |