#
-# $Id: Makefile,v 6.6 1995/05/15 04:20:56 morioka Exp morioka $
+# $Id: Makefile,v 6.7 1995/05/16 12:26:22 morioka Exp morioka $
#
SHELL = /bin/csh
tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex tm/doc/*.texi \
tm/gnus/Makefile tm/gnus/Makefile.bc tm/gnus/*.el \
tm/mh-e/Makefile tm/mh-e/Makefile.bc tm/mh-e/*.el \
- tl/README.eng tl/Makefile tl/Makefile.bc tl/*.el tl/doc/*.texi
+ tl/README.eng \
+ tl/Makefile tl/Makefile.bc tl/loadpath \
+ tl/*.el tl/doc/*.texi
-TARFILE = tm6.20.tar
+TARFILE = tm6.21.tar
lpath-nemacs:
#
-# $Id: Makefile.bc,v 6.0 1995/05/15 04:13:07 morioka Exp $
+# $Id: Makefile.bc,v 6.1 1995/05/16 12:18:30 morioka Exp $
#
TM_EL = signature.el \
TM_VM_EL = tm-vm.el
TM_VM_ELC = ${TM_VM_EL:el=elc}
-BATCH = $(EMACS) -batch -q .lpath.el -f eval-current-buffer
+BATCH = $(EMACS) -batch -q loadpath -f eval-current-buffer
.SUFFIXES: .el .elc
#
-# $Id: Makefile.bc,v 6.2 1995/05/15 03:40:20 morioka Exp $
+# $Id: Makefile.bc,v 6.3 1995/05/16 12:21:08 morioka Exp $
#
.SUFFIXES: .el .elc
-BATCH = $(EMACS) -batch ../.lpath.el -f eval-current-buffer .
+BATCH = $(EMACS) -batch ../loadpath -f eval-current-buffer .
.el.elc:
$(BATCH) -l $(NNTP) -l $(GNUS) -f batch-byte-compile $<
#!/bin/csh -f
-echo "(setq load-path" > .lpath.el
-echo " (nconc '("'"."' >> .lpath.el
-echo ' "'`pwd`'"' >> .lpath.el
-echo ' "'`(cd ../tl; pwd)`'"' >> .lpath.el
+echo "(setq load-path" > loadpath
+echo " (nconc '("'"."' >> loadpath
+echo ' "'`pwd`'"' >> loadpath
+echo ' "'`(cd ../tl; pwd)`'"' >> loadpath
foreach i ($argv)
-echo ' "'$i'"' >> .lpath.el
+echo ' "'$i'"' >> loadpath
end
-echo ' ) load-path))' >> .lpath.el
+echo ' ) load-path))' >> loadpath
#
-# $Id: Makefile.bc,v 6.0 1995/05/15 03:41:24 morioka Exp $
+# $Id: Makefile.bc,v 6.1 1995/05/16 12:20:36 morioka Exp $
#
.SUFFIXES: .el .elc
-BATCH = $(EMACS) -batch ../.lpath.el -f eval-current-buffer .
+BATCH = $(EMACS) -batch ../loadpath -f eval-current-buffer .
.el.elc:
$(BATCH) -l mh-e -f batch-byte-compile $<
;;;
(defconst mime-viewer/RCS-ID
- "$Id: tm-view.el,v 6.20 1995/05/10 19:18:05 morioka Exp $")
+ "$Id: tm-view.el,v 6.21 1995/05/16 12:07:52 morioka Exp $")
(defconst mime-viewer/version (get-version-string mime-viewer/RCS-ID))
(defconst mime/viewer-version mime-viewer/version)
(cons ctype (reverse dest))
)))))
-(defun mime/Content-Type ()
- (let ((str (message/get-field-body "Content-Type")))
+(defun mime/Content-Type (&optional port)
+ "Read field-body of Content-Type field from PORT and parse it.
+PORT must be buffer or string. If PORT is omitted,
+it is regarded as current-buffer. [tm-view]"
+ (if (null port)
+ (setq port (current-buffer))
+ )
+ (let ((str (if (get-buffer port)
+ (save-window-excursion
+ (switch-to-buffer port)
+ (message/get-field-body "Content-Type")
+ )
+ port)
+ ))
(if str
(mime::parse-field-body/Content-Type
(message/unfolding-string str))
;;;
;;; tm-vm.el: tm-MUA for VM
-;;; This version is tested under VM-5.72 with tm-6.19.0
+;;; This version is tested under VM-5.76 with tm-6.20
;;;
;;; Written by MASUTANI Yasuhiro <masutani@me.es.osaka-u.ac.jp>
;;; Modified by SHIONO <jun@p5.nm.fujitsu.co.jp>
(require 'vm)
(defconst tm-vm/RCS-ID
- "$Id: tm-vm.el,v 6.0 1995/05/10 18:44:02 morioka Exp $")
+ "$Id: tm-vm.el,v 6.1 1995/05/16 12:33:21 morioka Exp $")
(defconst tm-vm/version (get-version-string tm-vm/RCS-ID))
(define-key vm-mode-map "Z" 'tm-vm/view-message)
(narrow-to-region (vm-start-of mp) (point-max)))
(select-window (vm-get-buffer-window (current-buffer)))
(mime/viewer-mode nil
- (mime::parse-field-body/Content-Type (or ct ""))
+ (mime::parse-field-body/Content-Type
+ (message/unfolding-string (or ct "")))
cte))))
(defun tm-vm/decode-message-header (&optional count)