summaryrefslogtreecommitdiffstats
path: root/OPS
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-10-29 13:53:20 +0800
committerKevin McCarthy <kevin@8t8.us>2019-11-01 14:24:08 +0800
commit0e566a03725b4ad789aa6ac1d17cdf7bf4e7e354 (patch)
tree8f00fdff1bfa583ccfe85c20915d6d6046acf56c /OPS
parent3f9116816d9df94e5c1cb6650bd422897ba7a228 (diff)
Add ability to generate multipart/alternative using a filter script.
Create config variables $send_multipart_alternative (a quadoption) and $send_multipart_alternative_filter. The filter script expects output to be the mime type, a blank line, then the content. Add ability to preview alternative from compose menu. <view-alt-text> forces viewing as text. <view-alt-mailcap> forces using the mailcap. Bind them to 'v' and 'V', respectively. Improve <resend-message> so a multipart/alternative is stripped out, which would just confuse the compose menu. Currently this preserves the first alternative. Allow alternative generation in batch mode, as long as the quadoption is set to 'yes'.
Diffstat (limited to 'OPS')
-rw-r--r--OPS2
1 files changed, 2 insertions, 0 deletions
diff --git a/OPS b/OPS
index 4e3bd1d0..990bdb35 100644
--- a/OPS
+++ b/OPS
@@ -49,6 +49,8 @@ OP_COMPOSE_TO_SENDER "compose new message to the current message sender"
OP_COMPOSE_TOGGLE_DISPOSITION "toggle disposition between inline/attachment"
OP_COMPOSE_TOGGLE_UNLINK "toggle whether to delete file after sending it"
OP_COMPOSE_UPDATE_ENCODING "update an attachment's encoding info"
+OP_COMPOSE_VIEW_ALT_TEXT "view multipart/alternative as text"
+OP_COMPOSE_VIEW_ALT_MAILCAP "view multipart/alternative using mailcap"
OP_COMPOSE_WRITE_MESSAGE "write the message to a folder"
OP_COPY_MESSAGE "copy a message to a file/mailbox"
OP_CREATE_ALIAS "create an alias from a message sender"