;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;; Created: 1994/08/21 renamed from mime.el
;; Renamed: 1997/2/21 from tm-edit.el
-;; Version: $Revision: 0.45 $
+;; Version: $Revision: 0.46 $
;; Keywords: MIME, multimedia, multilingual, mail, news
;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
;;;
(defconst mime-edit-RCS-ID
- "$Id: mime-edit.el,v 0.45 1997-02-25 06:18:07 tmorioka Exp $")
+ "$Id: mime-edit.el,v 0.46 1997-02-25 06:23:51 tmorioka Exp $")
(defconst mime-edit-version (get-version-string mime-edit-RCS-ID))
(iso-2022-int-1 7 "base64")
))
-(defsubst mime/encoding-name (transfer-level &optional not-omit)
+(defvar mime-edit-transfer-level 7
+ "*A number of network transfer level. It should be bigger than 7.")
+(make-variable-buffer-local 'mime-edit-transfer-level)
+
+(defsubst mime-encoding-name (transfer-level &optional not-omit)
(cond ((> transfer-level 8) "binary")
((= transfer-level 8) "8bit")
(not-omit "7bit")
))
-(defvar mime-edit-transfer-level 7
- "*A number of network transfer level. It should be bigger than 7.")
-(make-variable-buffer-local 'mime-edit-transfer-level)
-
(defvar mime-edit-transfer-level-string
- (mime/encoding-name mime-edit-transfer-level 'not-omit)
+ (mime-encoding-name mime-edit-transfer-level 'not-omit)
"*A string formatted version of mime/defaul-transfer-level")
(make-variable-buffer-local 'mime-edit-transfer-level-string)
(encoding (nth 2 charset-type))
)
(if (<= type transfer-level)
- (cons charset (mime/encoding-name type))
+ (cons charset (mime-encoding-name type))
(cons charset encoding)
))))
mime-charset-type-list))
;; Set transfer level into mode line
;;
(setq mime-edit-transfer-level-string
- (mime/encoding-name mime-edit-transfer-level 'not-omit))
+ (mime-encoding-name mime-edit-transfer-level 'not-omit))
(force-mode-line-update)
;; Define menu. Menus for other emacs implementations are
(message (format "Current transfer-level is %d bit"
mime-edit-transfer-level))
(setq mime-edit-transfer-level-string
- (mime/encoding-name mime-edit-transfer-level 'not-omit))
+ (mime-encoding-name mime-edit-transfer-level 'not-omit))
(force-mode-line-update)
)