(message-encode-function): New variable.
(message-forward-start-separator): Modify for mime-edit.
(message-forward-end-separator): Modify for mime-edit.
(message-setup-hook): Use `(message-maybe-setup-default-charset
turn-on-mime-edit)' in default.
(message-header-hook): Use `(eword-encode-header)' in default.
(message-send): Use local variable `message-encoding-buffer',
`message-edit-buffer' and `message-mime-mode' as public variables; use
`message-encode-function'.
(message-send-mail): Use `message-encoding-buffer' to get contents of
body; abolish `message-encode-mail-hook'; use
`mime-edit-maybe-split-and-send'; use `message-edit-buffer' to refer
original editing buffer.
(message-send-news): Use `message-encoding-buffer' to get contents of
body; abolish `message-encode-news-hook'; use
`mime-edit-maybe-split-and-send'; use `message-edit-buffer' to refer
original editing buffer.
(message-check-news-syntax): Call `message-check-news-body-syntax' in
`mime-edit-buffer'.
(message-do-fcc): Use `message-encoding-buffer' to get contents; run
`message-header-hook'.
(message-cancel-news): Use `std11-extract-address-components' instead
of `mail-extract-address-components'; bind `message-encoding-buffer'
and `message-edit-buffer'.
(message-maybe-setup-default-charset): New function.
(message-maybe-encode): New function.
(message-mime-insert-article): New function.
Add setting for mime-view.