(autoload 'mime/editor-mode "tm-edit"
"Minor mode for editing MIME message." t)
-(autoload 'mime/decode-message-header "tm-ew-d"
+(autoload 'mime-decode-header-in-buffer "eword-decode"
"Decode MIME encoded-words in message header." t)
(defun mime-setup-decode-message-header ()
(match-beginning 0)
(point-max)
))
- (mime/decode-message-header)
+ (mime-decode-header-in-buffer)
(set-buffer-modified-p nil)
)))
;;; @ for mu-cite
;;;
-(add-hook 'mu-cite/pre-cite-hook 'mime/decode-message-header)
+(add-hook 'mu-cite/pre-cite-hook 'mime-decode-header-in-buffer)
;;; @ for mail-mode, RMAIL and VM
;;;
-(add-hook 'mail-setup-hook 'mime/decode-message-header)
+(add-hook 'mail-setup-hook 'mime-decode-header-in-buffer)
(add-hook 'mail-setup-hook 'mime/editor-mode 'append)
(add-hook 'mail-send-hook 'mime-editor/maybe-translate)
(set-alist 'mime-editor/split-message-sender-alist
(add-hook 'message-setup-hook 'mime/editor-mode)
(add-hook 'message-setup-hook 'message-maybe-setup-default-charset)
(add-hook 'message-send-hook 'mime-editor/maybe-translate)
- (add-hook 'message-header-hook 'mime/encode-message-header)
+ (add-hook 'message-header-hook 'eword-encode-header)
(call-after-loaded
'message