(message-encode-function): New variable.
authormorioka <morioka>
Thu, 27 Nov 1997 16:17:30 +0000 (16:17 +0000)
committermorioka <morioka>
Thu, 27 Nov 1997 16:17:30 +0000 (16:17 +0000)
commite9a944230baa82e9b352f217ba5d48fe8b5793de
treeddd47acbbb0ccf78bd4cf6383d43e3909ea225d0
parent4f8bc69c44cae3e42d7292ab23a6796468ea0aae
(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.
lisp/message.el