+Fri May 17 07:59:40 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+
+ * tl: Version 7.25 was released.
+ * MEL: Version 4.7 was released.
+ * tm: Version 7.62 was released.
+
+ * tm-view.el (mime-preview/insert-content-subject): New
+ implementation.
+
+ (mime-preview/default-content-separator): renamed from
+ `mime-viewer/default-content-separator'.
+
+Thu May 16 00:44:26 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+
+ * tm-edit.el: Unused variable `mime-signature-file' was abolished.
+ (mime-editor/translate-hook): DOC string was modified.
+ (mime/editor-mode): DOC string was modified.
+ (mime-editor/insert-signature): DOC string was modified.
+
+\f
Wed May 15 19:31:39 1996 MORIOKA Tomohiko <morioka@jaist.ac.jp>
* tl: Version 7.24 was released.
FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
-TARFILE = tm7.61.tar.gz
+TARFILE = tm7.62.tar.gz
elc:
$(EMACS) $(FLAGS) -l inst-tm -f compile-tm
;; Please specify install path prefix.
;;(setq PREFIX "~/") ; install to you home directory
(setq PREFIX "/usr/local/") ; install to shared directory
-;;(setq PREFIX "/lab/local/")
+;;(setq PREFIX "/lab/local")
;; Please specify tm package prefix [optional]
(setq TM_PACKAGE_PREFIX "")
;;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Created: 1994/08/21 renamed from mime.el
-;;; Version: $Revision: 7.60 $
+;;; Version: $Revision: 7.61 $
;;; Keywords: mail, news, MIME, multimedia, multilingual
;;;
;;; This file is part of tm (Tools for MIME).
;;;
(defconst mime-editor/RCS-ID
- "$Id: tm-edit.el,v 7.60 1996/05/12 17:13:39 morioka Exp $")
+ "$Id: tm-edit.el,v 7.61 1996/05/16 00:44:26 morioka Exp $")
(defconst mime-editor/version (get-version-string mime-editor/RCS-ID))
(defvar mime-prefix "\C-c\C-x"
"*Keymap prefix for MIME commands.")
-(defvar mime-signature-file "~/.signature.rtf"
- "*Signature file to be included as a part of a multipart message.")
+;; (defvar mime-signature-file "~/.signature.rtf"
+;; "*Signature file to be included as a part of a multipart message.")
(defvar mime-ignore-preceding-spaces nil
"*Ignore preceding white spaces if non-nil.")
(defvar mime-editor/translate-hook nil
"*Hook called before translating into a MIME compliant message.
-To insert a signature file specified by mime-signature-file
-(`.signature.rtf' by default) automatically, call the function
+To insert a signature file automatically, call the function
`mime-editor/insert-signature' from this hook.")
(defvar mime-editor/exit-hook nil
mime-prefix
Specifies a key prefix for MIME minor mode commands.
- mime-signature-file
- Specifies a signature file to be included as part of a multipart
- message.
-
mime-ignore-preceding-spaces
Preceding white spaces in a message body are ignored if non-nil.
)))
(defun mime-editor/insert-signature (&optional arg)
- "Insert a signature file specified by mime-signature-file."
+ "Insert a signature file."
(interactive "P")
(let ((signature-insert-hook
(function
;;; modified by Steven L. Baur <steve@miranova.com>
;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Created: 1994/7/13 (1994/8/31 obsolete tm-body.el)
-;;; Version: $Revision: 7.61 $
+;;; Version: $Revision: 7.62 $
;;; Keywords: mail, news, MIME, multimedia
;;;
;;; This file is part of tm (Tools for MIME).
;;;
(defconst mime-viewer/RCS-ID
- "$Id: tm-view.el,v 7.61 1996/05/15 16:52:21 morioka Exp $")
+ "$Id: tm-view.el,v 7.62 1996/05/17 07:59:40 morioka Exp $")
(defconst mime-viewer/version (get-version-string mime-viewer/RCS-ID))
(defconst mime/viewer-version mime-viewer/version)
(rcnum cinfo ctype params subj encoding)
(save-restriction
(narrow-to-region (point)(point))
- (insert
- (let ((access-type (assoc "access-type" params))
- (charset (assoc "charset" params))
- (num (or (assoc-value "x-part-number" params)
- (if (consp rcnum)
- (mapconcat (function
- (lambda (num)
- (format "%s" (1+ num))
- ))
- (reverse rcnum) ".")
- "0"))
- ))
- (cond (access-type
- (let ((server (assoc "server" params)))
- (setq access-type (cdr access-type))
- (if server
- (format "[%s %s ([%s] %s)]\n" num subj
- access-type (cdr server))
- (let ((site (assoc-value "site" params))
- (dir (assoc-value "directory" params))
- )
- (format "[%s %s ([%s] %s:%s)]\n" num subj
- access-type site dir)
- )))
- )
- ((setq charset (cdr charset))
- (if encoding
- (format "[%s %s (%s; %s <%s>)]\n"
- num subj ctype charset encoding)
- (format "[%s %s (%s; %s)]\n" num subj ctype charset)
- )
- )
- (t
- (format "[%s %s (%s)]\n" num subj ctype)
- )
- )))
+ (let ((access-type (assoc "access-type" params))
+ (charset (assoc "charset" params))
+ (num (or (assoc-value "x-part-number" params)
+ (if (consp rcnum)
+ (mapconcat (function
+ (lambda (num)
+ (format "%s" (1+ num))
+ ))
+ (reverse rcnum) ".")
+ "0"))
+ ))
+ (cond (access-type
+ (let ((server (assoc "server" params)))
+ (setq access-type (cdr access-type))
+ (if server
+ (format "[%s %s ([%s] %s)]\n" num subj
+ access-type (cdr server))
+ (let ((site (assoc-value "site" params))
+ (dir (assoc-value "directory" params))
+ )
+ (insert (format "[%s %s ([%s] %s:%s)]\n" num subj
+ access-type site dir))
+ )))
+ )
+ (t
+ (insert (concat "[" num " " subj))
+ (let ((rest
+ (if (setq charset (cdr charset))
+ (if encoding
+ (format " <%s; %s (%s)>]\n"
+ ctype charset encoding)
+ (format " <%s; %s>]\n" ctype charset)
+ )
+ (format " <%s>]\n" ctype)
+ )))
+ (if (>= (+ (current-column)(length rest))(window-width))
+ (setq rest (concat "\n\t" rest))
+ )
+ (insert rest)
+ ))))
(tm:add-button (point-min)(1- (point-max))
(function mime-viewer/play-content))
))
;;; @@ content separator
;;;
-(defun mime-viewer/default-content-separator (rcnum cinfo ctype params subj)
+(defun mime-preview/default-content-separator (rcnum cinfo ctype params subj)
(if (and (not (mime-viewer/header-visible-p rcnum cinfo ctype))
(not (mime-viewer/body-visible-p rcnum cinfo ctype))
)
(mime-preview/insert-content-subject
rcnum cinfo ctype params subj encoding)
))
- (mime-viewer/default-content-separator rcnum cinfo ctype params subj)
+ (mime-preview/default-content-separator rcnum cinfo ctype params subj)
(prog1
(progn
(setq ne (point-max))