From: martin f. krafft Date: Sun, 7 Oct 2007 14:59:51 +0000 (+0100) Subject: add KEEP_ALL_HEADERS slot X-Git-Tag: mailplate-0.1~7 X-Git-Url: https://git.madduck.net/code/mailplate.git/commitdiff_plain/21e948a069d5a416a4a714523dd03d432d25f02e add KEEP_ALL_HEADERS slot --- diff --git a/mailplate b/mailplate index 4b03c05..0cceef1 100755 --- a/mailplate +++ b/mailplate @@ -86,6 +86,7 @@ HELPER_SLOT_TRAILER = ')' # character ending a helper slot STD_HEADERS = ('From', 'To', 'Cc', 'Bcc', 'Subject', 'Reply-To', 'In-Reply-To') KEEP_HEADERS = { 'KEEP_FROM_HEADER' : STD_HEADERS[:1] , 'KEEP_STD_HEADERS' : STD_HEADERS[1:] + , 'KEEP_ALL_HEADERS' : STD_HEADERS } SIG_DELIM='\n-- \n' @@ -495,3 +496,4 @@ if options.edit: sys.exit(posix.EX_USAGE) os.execlp('sensible-editor', 'sensible-editor', outfname) +