diff options
author | Kevin McCarthy <kevin@8t8.us> | 2019-02-06 14:29:42 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-02-06 14:29:42 -0800 |
commit | d97bbddfeb0167fd0cf1ba5a20bd7913c6577ce6 (patch) | |
tree | d1486abb8622874a8b6cc0e4809cce0b076c9342 /functions.h | |
parent | d79cb6b7e3d66469f747a3d9fb9a412fd8520f6f (diff) |
Create <group-chat-reply> function.
This function differs from <group-reply> only in that it preserves To
recipients in the original email as To recipients in the reply.
The merits of this function aren't without controversy; therefore it
is left unbound by default. Those who care about such things are free
to bind it.
Combine reply operation handlers in the pager and curs_main, since the
code was the same with the exception of the flags used.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.h b/functions.h index d3ac06b7..081f1487 100644 --- a/functions.h +++ b/functions.h @@ -106,6 +106,7 @@ const struct binding_t OpMain[] = { /* map: index */ { "edit-type", OP_EDIT_TYPE, "\005" }, { "forward-message", OP_FORWARD_MESSAGE, "f" }, { "flag-message", OP_FLAG_MESSAGE, "F" }, + { "group-chat-reply", OP_GROUP_CHAT_REPLY, NULL }, { "group-reply", OP_GROUP_REPLY, "g" }, #ifdef USE_POP { "fetch-mail", OP_MAIN_FETCH_MAIL, "G" }, @@ -209,6 +210,7 @@ const struct binding_t OpPager[] = { /* map: pager */ { "edit-type", OP_EDIT_TYPE, "\005" }, { "forward-message", OP_FORWARD_MESSAGE, "f" }, { "flag-message", OP_FLAG_MESSAGE, "F" }, + { "group-chat-reply", OP_GROUP_CHAT_REPLY, NULL }, { "group-reply", OP_GROUP_REPLY, "g" }, #ifdef USE_IMAP { "imap-fetch-mail", OP_MAIN_IMAP_FETCH, NULL }, @@ -320,6 +322,7 @@ const struct binding_t OpAttach[] = { /* map: attachment */ { "view-mailcap", OP_ATTACH_VIEW_MAILCAP, "m" }, { "reply", OP_REPLY, "r" }, { "resend-message", OP_RESEND, "\033e" }, + { "group-chat-reply", OP_GROUP_CHAT_REPLY, NULL }, { "group-reply", OP_GROUP_REPLY, "g" }, { "list-reply", OP_LIST_REPLY, "L" }, { "forward-message", OP_FORWARD_MESSAGE, "f" }, |