From 1b90f6ccc51889b86bbcd1d8543990202d2d4335 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 12 May 1997 12:30:42 +0000 Subject: [PATCH] `mime/content-decoding-condition' -> `mime-acting-condition'. --- mime-file.el | 6 +++--- mime-pgp.el | 12 ++++++------ mime-play.el | 6 +++--- mime-tar.el | 10 +++++----- mime-view.el | 10 +++++----- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/mime-file.el b/mime-file.el index 456a361..fa2e692 100644 --- a/mime-file.el +++ b/mime-file.el @@ -4,7 +4,7 @@ ;; Author: MORIOKA Tomohiko ;; modified by Shuhei KOBAYASHI -;; Version: $Id: mime-file.el,v 0.1 1997-03-15 20:34:35 morioka Exp $ +;; Version: $Id: mime-file.el,v 0.2 1997-05-12 12:28:38 morioka Exp $ ;; Keywords: file, extract, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -72,14 +72,14 @@ ;;; @ setup ;;; -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/octet-stream") (method . mime-article/extract-file) ) 'ignore '(method) 'replacement) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((mode . "extract") (method . mime-article/extract-file) ) diff --git a/mime-pgp.el b/mime-pgp.el index e705df1..7b262a7 100644 --- a/mime-pgp.el +++ b/mime-pgp.el @@ -5,7 +5,7 @@ ;; Author: MORIOKA Tomohiko ;; Created: 1995/12/7 ;; Renamed: 1997/2/27 from tm-pgp.el -;; Version: $Id: mime-pgp.el,v 0.18 1997-03-27 21:17:25 morioka Exp $ +;; Version: $Id: mime-pgp.el,v 0.19 1997-05-12 12:29:13 morioka Exp $ ;; Keywords: PGP, security, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -103,12 +103,12 @@ (set-window-buffer p-win mime-view-buffer) )) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/pgp") (method . mime-article/view-application/pgp) )) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "text/x-pgp") (method . mime-article/view-application/pgp) )) @@ -239,7 +239,7 @@ It should be ISO 639 2 letter language code such as en, ja, ...") (delete-file sig-file) ))) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/pgp-signature") (method . mime-article/check-pgp-signature) )) @@ -265,7 +265,7 @@ It should be ISO 639 2 letter language code such as en, ja, ...") (mime-article/view-application/pgp obeg oend cal) )) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/pgp-encrypted") (method . mime-article/decrypt-pgp) )) @@ -294,7 +294,7 @@ It should be ISO 639 2 letter language code such as en, ja, ...") (kill-buffer (current-buffer)) )) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/pgp-keys") (method . mime-article/add-pgp-keys) )) diff --git a/mime-play.el b/mime-play.el index 83a8d6c..e008fac 100644 --- a/mime-play.el +++ b/mime-play.el @@ -5,7 +5,7 @@ ;; Author: MORIOKA Tomohiko ;; Created: 1995/9/26 (separated from tm-view.el) ;; Renamed: 1997/2/21 from tm-play.el -;; Version: $Id: mime-play.el,v 0.42 1997-05-09 01:25:26 morioka Exp $ +;; Version: $Id: mime-play.el,v 0.43 1997-05-12 12:30:11 morioka Exp $ ;; Keywords: MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -40,7 +40,7 @@ (defun mime-view-play-current-entity (&optional mode) "Play current entity. It decodes current entity to call internal or external method. The -method is selected from variable `mime/content-decoding-condition'. +method is selected from variable `mime-acting-condition'. If MODE is specified, play as it. Default MODE is \"play\"." (interactive) (or mode @@ -104,7 +104,7 @@ If MODE is specified, play as it. Default MODE is \"play\"." ;;; (defun mime/get-content-decoding-alist (al) - (get-unified-alist mime/content-decoding-condition al) + (get-unified-alist mime-acting-condition al) ) diff --git a/mime-tar.el b/mime-tar.el index c4396fe..129820c 100644 --- a/mime-tar.el +++ b/mime-tar.el @@ -5,7 +5,7 @@ ;; Author: Hiroshi Ueno ;; modified by MORIOKA Tomohiko ;; Renamed: 1997/2/26 from tm-tar.el -;; Version: $Id: mime-tar.el,v 0.6 1997-05-09 04:19:21 morioka Exp $ +;; Version: $Id: mime-tar.el,v 0.7 1997-05-12 12:30:42 morioka Exp $ ;; Keywords: tar, tar+gzip, MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -327,25 +327,25 @@ ;;; @@ message types to use mime-tar ;;; -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/octet-stream") (method . mime-decode-message/tar) (mode . "play") ("type" . "tar") )) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/octet-stream") (method . mime-decode-message/tar) (mode . "play") ("type" . "tar+gzip") )) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/x-gzip") (method . mime-decode-message/tar) (mode . "play") ("type" . "tar") )) -(set-atype 'mime/content-decoding-condition +(set-atype 'mime-acting-condition '((type . "application/x-tar") (method . mime-decode-message/tar) (mode . "play") diff --git a/mime-view.el b/mime-view.el index f5be46a..f93fd14 100644 --- a/mime-view.el +++ b/mime-view.el @@ -6,7 +6,7 @@ ;; Created: 1994/7/13 ;; Renamed: 1994/8/31 from tm-body.el ;; Renamed: 1997/02/19 from tm-view.el -;; Version: $Revision: 0.87 $ +;; Version: $Revision: 0.88 $ ;; Keywords: MIME, multimedia, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -40,7 +40,7 @@ ;;; (defconst mime-view-RCS-ID - "$Id: mime-view.el,v 0.87 1997-05-09 03:05:51 morioka Exp $") + "$Id: mime-view.el,v 0.88 1997-05-12 12:27:32 morioka Exp $") (defconst mime-view-version (get-version-string mime-view-RCS-ID)) @@ -48,7 +48,7 @@ ;;; @ variables ;;; -(defvar mime/content-decoding-condition +(defvar mime-acting-condition '(((type . "text/plain") (method "tm-plain" nil 'file 'type 'encoding 'mode 'name) (mode "play" "print") @@ -865,7 +865,7 @@ button-2 Move to point under the mouse cursor "Extract current entity into file (maybe). It decodes current entity to call internal or external method as \"extract\" mode. The method is selected from variable -`mime/content-decoding-condition'." +`mime-acting-condition'." (interactive) (mime-view-play-current-entity "extract") ) @@ -874,7 +874,7 @@ It decodes current entity to call internal or external method as "Print current entity (maybe). It decodes current entity to call internal or external method as \"print\" mode. The method is selected from variable -`mime/content-decoding-condition'." +`mime-acting-condition'." (interactive) (mime-view-play-current-entity "print") ) -- 1.7.10.4