;;; Author: UMEDA Masanobu <umerin@mse.kyutech.ac.jp>
;;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;;; Created: 1994/08/21 (renamed from mime.el;
-;;; 1996/05/24 renamed from tm-edit.el)
-;;; Version: $Revision: 0.3 $
+;;; Created: 1994/08/21 renamed from mime.el by UMEDA Masanobu;
+;;; 1996/05/24 renamed from tm-edit.el
+;;; Version: $Revision: 0.4 $
;;; Keywords: mail, news, MIME, multimedia, multilingual
;;;
;;; This file is part of SEMI (September, Emacs MIME Interface)
;; News mode. First of all, you need the following autoload
;; definition to load mime/editor-mode automatically:
;;
-;; (autoload 'mime/editor-mode "tm-edit"
+;; (autoload 'mime/editor-mode "mime-edit"
;; "Minor mode for editing MIME message." t)
;;
;; In case of Mail mode (includes VM mode), you need the following
;;;
(defconst mime-editor/RCS-ID
- "$Id: mime-edit.el,v 0.3 1996-05-24 15:16:37 morioka Exp $")
+ "$Id: mime-edit.el,v 0.4 1996-05-25 14:42:47 morioka Exp $")
(defconst mime-editor/version (get-version-string mime-editor/RCS-ID))
+(defconst mime-editor/version-name
+ (concat "SEMI mime-edit " mime-editor/version))
+
;;; @ variables
;;;
'("Received" "Approved" "Path" "Replied" "Status" "X-VM-.*" "X-UIDL")
"Delete these fields from original message when it is inserted
as message/rfc822 part.
-Each elements are regexp of field-name. [tm-edit.el]")
+Each elements are regexp of field-name. [mime-edit.el]")
(defvar mime-editor/yank-ignored-field-regexp
(concat "^"
;;;
(defvar mime-editor/split-message t
- "*Split large message if it is non-nil. [tm-edit.el]")
+ "*Split large message if it is non-nil. [mime-edit.el]")
(defvar mime-editor/message-default-max-length 1000
- "*Default maximum size of a message. [tm-edit.el]")
+ "*Default maximum size of a message. [mime-edit.el]")
(defvar mime-editor/message-max-length-alist
'((news-reply-mode . 500)))
;;;
(defvar mime-editor/signing-type nil
- "*PGP signing type (pgp-elkins, pgp-kazu or nil). [tm-edit.el]")
+ "*PGP signing type (pgp-elkins, pgp-kazu or nil). [mime-edit.el]")
(defvar mime-editor/encrypting-type nil
- "*PGP encrypting type (pgp-elkins, pgp-kazu or nil). [tm-edit.el]")
+ "*PGP encrypting type (pgp-elkins, pgp-kazu or nil). [mime-edit.el]")
(if (or mime-editor/signing-type mime-editor/encrypting-type)
(require 'mailcrypt)
Tspecials means any character that matches with it in header must be quoted.")
(defconst mime-editor/mime-version-value
- (format "1.0 (generated by SEMI composer %s)" mime-editor/version)
+ (concat "1.0 (" mime-editor/version-name ")")
"MIME version number.")
(defconst mime-editor/mime-map (make-sparse-keymap)
(fields subject id number total separator)
(insert fields)
(insert (format "Subject: %s (%d/%d)\n" subject number total))
- (insert (format "Mime-Version: 1.0 (split by tm-edit %s)\n"
- mime-editor/version))
+ (insert (format "Mime-Version: 1.0 (%s)\n" mime-editor/version-name))
(insert (format "\
Content-Type: message/partial; id=%s; number=%d; total=%d\n%s\n"
id number total separator))
;;;
(defun mime-editor/preview-message ()
- "preview editing MIME message. [tm-edit.el]"
+ "preview editing MIME message. [mime-edit.el]"
(interactive)
(let* ((str (buffer-string))
(separator mail-header-separator)