summaryrefslogtreecommitdiffstats
path: root/OPS
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-01-22 19:09:55 -0800
committerKevin McCarthy <kevin@8t8.us>2020-01-23 13:18:15 -0800
commit7e0886af9c054827447a09eeb6f854736349e196 (patch)
treebb97f18188b615993aa6394b1ba41cc6715bc7d7 /OPS
parent235c74a74c0ab377156ebadec2efeb413ed01a0b (diff)
Add move-up and move-down functions to compose menu.
This adds the ability to rearrange the order of the attachments, including swapping the first attachment if desired. The compose menu doesn't support nested attachments, but since data structures and code are shared with recvattach, the new functions use the v2r and try to behave sensibly with respect to parent pointer adjustments. However, the functions do restrict movement to be between siblings. Adding code to support cross-tree movement would be more complicated for no current purpose.
Diffstat (limited to 'OPS')
-rw-r--r--OPS2
1 files changed, 2 insertions, 0 deletions
diff --git a/OPS b/OPS
index 46a63cf2..0ebb773d 100644
--- a/OPS
+++ b/OPS
@@ -39,6 +39,8 @@ OP_CREATE_MAILBOX "create a new mailbox (IMAP only)"
OP_EDIT_TYPE "edit attachment content type"
OP_COMPOSE_GET_ATTACHMENT "get a temporary copy of an attachment"
OP_COMPOSE_ISPELL "run ispell on the message"
+OP_COMPOSE_MOVE_DOWN "move attachment down in compose menu list"
+OP_COMPOSE_MOVE_UP "move attachment up in compose menu list"
OP_COMPOSE_NEW_MIME "compose new attachment using mailcap entry"
OP_COMPOSE_TOGGLE_RECODE "toggle recoding of this attachment"
OP_COMPOSE_POSTPONE_MESSAGE "save this message to send later"