;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Version:
-;; $Id: mime-setup.el,v 0.3 1997-02-21 05:57:20 tmorioka Exp $
+;; $Id: mime-setup.el,v 0.4 1997-02-21 07:04:51 tmorioka Exp $
;; Keywords: MIME, multimedia, multilingual, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
(require 'semi-setup)
-(autoload 'mime/editor-mode "tm-edit"
+(autoload 'mime-edit-mode "mime-edit"
"Minor mode for editing MIME message." t)
(autoload 'mime/decode-message-header "tm-ew-d"
"Decode MIME encoded-words in message header." t)
(set-buffer-modified-p nil)
)))
-(add-hook 'mime/editor-mode-hook 'mime-setup-decode-message-header)
+(add-hook 'mime-edit-mode-hook 'mime-setup-decode-message-header)
;;; @ variables
(if mime-setup-use-signature
(progn
(autoload 'insert-signature "signature" "Insert signature" t)
- (add-hook 'mime/editor-mode-hook 'mime-setup-set-signature-key)
+ (add-hook 'mime-edit-mode-hook 'mime-setup-set-signature-key)
(setq gnus-signature-file nil)
(setq mail-signature nil)
(setq message-signature nil)
;;;
(add-hook 'mail-setup-hook 'mime/decode-message-header)
-(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 'mail-setup-hook 'mime-edit-mode 'append)
+(add-hook 'mail-send-hook 'mime-edit-maybe-translate)
+(set-alist 'mime-edit-split-message-sender-alist
'mail-mode (function
(lambda ()
(interactive)
;;;
(defun mime-setup-mh-draft-setting ()
- (mime/editor-mode)
+ (mime-edit-mode)
(make-local-variable 'mail-header-separator)
(setq mail-header-separator "--------")
(save-excursion
))
(add-hook 'mh-letter-mode-hook 'mime-setup-mh-draft-setting t)
-(add-hook 'mh-before-send-letter-hook 'mime-editor/maybe-translate)
+(add-hook 'mh-before-send-letter-hook 'mime-edit-maybe-translate)
;;; @ for message (September Gnus 0.58 or later)
(or (boundp 'epoch::version)
(progn
- (add-hook 'message-setup-hook 'mime/editor-mode)
+ (add-hook 'message-setup-hook 'mime-edit-mode)
(add-hook 'message-setup-hook 'message-maybe-setup-default-charset)
- (add-hook 'message-send-hook 'mime-editor/maybe-translate)
+ (add-hook 'message-send-hook 'mime-edit-maybe-translate)
(add-hook 'message-header-hook 'mime/encode-message-header)
(call-after-loaded