From be3b539741a3293ea5369c6817b2fbad28628c51 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Tue, 2 Feb 1999 15:47:44 +0000 Subject: Merging the external character set patch into unstable. Additionally, this change introduces a M_CHARCONV state flag which gives us some more control about when character set conversions are actually done. Current versions of mutt would happily apply character set conversions when, e.g., saving a text/plain attachment to a file. (We had at least one corrupt russing translation file due to this mis-feature.) Additionally, we clean up some of the character set related code in handler.c. Most of that is now done by the decoder functions in charset.c. --- functions.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'functions.h') diff --git a/functions.h b/functions.h index e8162819..46c606e2 100644 --- a/functions.h +++ b/functions.h @@ -259,6 +259,7 @@ struct binding_t OpAttach[] = { struct binding_t OpCompose[] = { { "attach-file", OP_COMPOSE_ATTACH_FILE, "a" }, { "attach-message", OP_COMPOSE_ATTACH_MESSAGE, "A" }, + { "change-charset", OP_COMPOSE_CHANGE_CHARSET, NULL }, { "edit-bcc", OP_COMPOSE_EDIT_BCC, "b" }, { "edit-cc", OP_COMPOSE_EDIT_CC, "c" }, { "copy-file", OP_SAVE, "C" }, @@ -285,6 +286,7 @@ struct binding_t OpCompose[] = { { "edit-type", OP_COMPOSE_EDIT_TYPE, "\024" }, { "write-fcc", OP_COMPOSE_WRITE_MESSAGE, "w" }, { "toggle-unlink", OP_COMPOSE_TOGGLE_UNLINK, "u" }, + { "toggle-recode", OP_COMPOSE_NORECODE, NULL }, { "update-encoding", OP_COMPOSE_UPDATE_ENCODING, "U" }, { "view-attach", OP_VIEW_ATTACH, M_ENTER_S }, { "send-message", OP_COMPOSE_SEND_MESSAGE, "y" }, -- cgit v1.2.3