mutt stable branch with some hacks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add purge-message patch.

This is based on the patch by Cedric Duval.
Modifications are:

* Use the exising M_PURGE flag from the trash folder patch, rather
than adding a separate flag.

* Undelete operations are already handled by the trash folder patch.

+8
+1
OPS
··· 142 142 OP_PREV_LINE "scroll up one line" 143 143 OP_PREV_PAGE "move to the previous page" 144 144 OP_PRINT "print the current entry" 145 + OP_PURGE_MESSAGE "really delete the current entry, bypassing the trash folder" 145 146 OP_QUERY "query external program for addresses" 146 147 OP_QUERY_APPEND "append new query results to current results" 147 148 OP_QUIT "save changes to mailbox and quit"
+3
curs_main.c
··· 1950 1950 MAYBE_REDRAW (menu->redraw); 1951 1951 break; 1952 1952 1953 + case OP_PURGE_MESSAGE: 1953 1954 case OP_DELETE: 1954 1955 1955 1956 CHECK_MSGCOUNT; ··· 1961 1962 if (tag) 1962 1963 { 1963 1964 mutt_tag_set_flag (MUTT_DELETE, 1); 1965 + mutt_tag_set_flag (MUTT_PURGE, (op == OP_PURGE_MESSAGE)); 1964 1966 if (option (OPTDELETEUNTAG)) 1965 1967 mutt_tag_set_flag (MUTT_TAG, 0); 1966 1968 menu->redraw = REDRAW_INDEX; ··· 1968 1970 else 1969 1971 { 1970 1972 mutt_set_flag (Context, CURHDR, MUTT_DELETE, 1); 1973 + mutt_set_flag (Context, CURHDR, MUTT_PURGE, (op == OP_PURGE_MESSAGE)); 1971 1974 if (option (OPTDELETEUNTAG)) 1972 1975 mutt_set_flag (Context, CURHDR, MUTT_TAG, 0); 1973 1976 if (option (OPTRESOLVE))
+2
functions.h
··· 121 121 { "toggle-write", OP_TOGGLE_WRITE, "%" }, 122 122 { "next-thread", OP_MAIN_NEXT_THREAD, "\016" }, 123 123 { "next-subthread", OP_MAIN_NEXT_SUBTHREAD, "\033n" }, 124 + { "purge-message", OP_PURGE_MESSAGE, NULL }, 124 125 { "query", OP_QUERY, "Q" }, 125 126 { "quit", OP_QUIT, "q" }, 126 127 { "reply", OP_REPLY, "r" }, ··· 223 224 { "print-message", OP_PRINT, "p" }, 224 225 { "previous-thread", OP_MAIN_PREV_THREAD, "\020" }, 225 226 { "previous-subthread",OP_MAIN_PREV_SUBTHREAD, "\033p" }, 227 + { "purge-message", OP_PURGE_MESSAGE, NULL }, 226 228 { "quit", OP_QUIT, "Q" }, 227 229 { "exit", OP_EXIT, "q" }, 228 230 { "reply", OP_REPLY, "r" },
+2
pager.c
··· 2406 2406 MAYBE_REDRAW (redraw); 2407 2407 break; 2408 2408 2409 + case OP_PURGE_MESSAGE: 2409 2410 case OP_DELETE: 2410 2411 CHECK_MODE(IsHeader (extra)); 2411 2412 CHECK_READONLY; ··· 2413 2414 CHECK_ACL(MUTT_ACL_DELETE, _("Cannot delete message")); 2414 2415 2415 2416 mutt_set_flag (Context, extra->hdr, MUTT_DELETE, 1); 2417 + mutt_set_flag (Context, extra->hdr, MUTT_PURGE, (ch == OP_PURGE_MESSAGE)); 2416 2418 if (option (OPTDELETEUNTAG)) 2417 2419 mutt_set_flag (Context, extra->hdr, MUTT_TAG, 0); 2418 2420 redraw = REDRAW_STATUS | REDRAW_INDEX;