* md5-el.el (TopLevel): Provide `md5-el' instead of `md5'.
* md5.el (TopLevel): Require `md5-el' and `md5-dl'.
+2000-07-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mmexternal.el (initialize-instance): Deleted.
+ (mmexternal-require-file-name): New function.
+ (mmexternal-require-buffer): Use `mmexternal-require-file-name'.
+
+2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+ * mime.el (mime-entity-read-field): Fix a bug when FIELD-NAME is a
+ string.
+
2000-06-27 Kenichi OKADA <okada@opaopa.org>
* smtp.el (smtp-via-smtp): additional HELO for sendmail warning.
# Makefile for FLIM.
#
+<<<<<<< Makefile
PACKAGE = slim
API = 1.14
-RELEASE = 0
+RELEASE = 1
TAR = tar
RM = /bin/rm -f
FILES = README.?? Makefile FLIM-MK FLIM-CFG FLIM-ELS *.el ChangeLog
VERSION = $(API).$(RELEASE)
-ARC_DIR = /ftp/pub/mule/flim/flim-$(API)
-SEMI_ARC_DIR = /ftp/pub/mule/semi/semi-1.14-for-flim-$(API)
+ARC_DIR_PREFIX = /home/tomo/public_html/comp/emacsen/lisp
+ARC_DIR = $(ARC_DIR_PREFIX)/flim/flim-$(API)
+SEMI_ARC_DIR = $(ARC_DIR_PREFIX)/semi/semi-1.14-for-flim-$(API)
elc:
$(EMACS) $(FLAGS) -f compile-flim $(PREFIX) $(LISPDIR) \
It is available from
- ftp://ftp.m17n.org/pub/mule/flim/flim-API
+ http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/comp/emacsen/lisp/flim/flim-API/
-or
-
- ftp://ftp.etl.go.jp/pub/mule/flim/flim-API
-
---[[message/external-body;
- access-type=anon-ftp;
- site="ftp.m17n.org";
- directory="/pub/mule/flim/flim-API";
- name="PACKAGE-VERSION.tar.gz";
- mode=image]]
+--[[message/external-body; access-type=URL;
+ URL*0="http://";
+ URL*1="www.kanji.zinbun.kyoto-u.ac.jp/~tomo/";
+ URL*2="comp/emacsen/lisp/";
+ URL*3="flim/flim-API/";
+ URL*4="PACKAGE-VERSION.tar.gz"]]
Content-Type: application/octet-stream;
name="PACKAGE-VERSION.tar.gz";
type=tar;
;; entity are in the body of the parent entity.
)
-(luna-define-method initialize-instance :after ((entity mime-external-entity)
- &rest init-args)
- (or (mime-external-entity-body-file-internal entity)
- (let* ((ct (mime-entity-content-type
- (mime-entity-parent-internal entity)))
- (access-type (mime-content-type-parameter ct "access-type")))
- (if (and access-type
- (string= access-type "anon-ftp"))
- (let ((site (mime-content-type-parameter ct "site"))
- (directory (mime-content-type-parameter ct "directory"))
- (name (mime-content-type-parameter ct "name")))
- (mime-external-entity-set-body-file-internal
- entity
- (expand-file-name
- name
- (concat "/anonymous@" site ":" directory)))))))
- entity)
-
(luna-define-method mime-entity-name ((entity mime-external-entity))
(concat "child of "
(mime-entity-name
(mime-entity-parent-internal entity))))
+(defun mmexternal-require-file-name (entity)
+ (condition-case nil
+ (or (mime-external-entity-body-file-internal entity)
+ (let* ((ct (mime-entity-content-type
+ (mime-entity-parent-internal entity)))
+ (access-type
+ (mime-content-type-parameter ct "access-type")))
+ (if (and access-type
+ (string= access-type "anon-ftp"))
+ (let ((site (mime-content-type-parameter ct "site"))
+ (directory
+ (mime-content-type-parameter ct "directory"))
+ (name (mime-content-type-parameter ct "name")))
+ (mime-external-entity-set-body-file-internal
+ entity
+ (expand-file-name
+ name
+ (concat "/anonymous@" site ":"
+ (file-name-as-directory directory))))))))
+ (error (message "Can't make file-name of external-body."))))
+
(defun mmexternal-require-buffer (entity)
(unless (and (mime-external-entity-body-buffer-internal entity)
(buffer-live-p
(mime-external-entity-body-buffer-internal entity)))
(condition-case nil
- (mime-external-entity-set-body-buffer-internal
- entity
- (with-current-buffer (get-buffer-create
- (concat " *Body of "
- (mime-entity-name entity)
- "*"))
- (insert-file-contents-as-binary
- (mime-external-entity-body-file-internal entity))
- (current-buffer)))
+ (progn
+ (mmexternal-require-file-name entity)
+ (mime-external-entity-set-body-buffer-internal
+ entity
+ (with-current-buffer (get-buffer-create
+ (concat " *Body of "
+ (mime-entity-name entity)
+ "*"))
+ (insert-file-contents-as-binary
+ (mime-external-entity-body-file-internal entity))
+ (current-buffer))))
(error (message "Can't get external-body.")))))