(mime-display-text): Decode CTE when FLIM 1.14.
+2000-05-16 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * mime-edit.el (mime-edit-mime-version-field-for-message/partial):
+ Remove mime-edit-version.
+ (mime-edit-message-default-max-lines): Increment to 5000.
+ (mime-edit-split-and-send):
+ (mime-edit-exit):
+ Shut up byte compiler.
+
+2000-05-16 Yoshiki Hayashi <yoshiki@xemacs.org>
+
+ * mime-view.el (mime-view-automatic-conversion): New variable.
+ (mime-display-text): Decode CTE when FLIM 1.14.
+
2000-05-12 Yoshiki Hayashi <yoshiki@xemacs.org>
* mime-view (mime-display-entity): Show header when message
:group 'mime-edit
:type 'boolean)
-(defcustom mime-edit-message-default-max-lines 1000
+(defcustom mime-edit-message-default-max-lines 5000
"*Default maximum lines of a message."
:group 'mime-edit
:type 'integer)
"MIME version number.")
(defconst mime-edit-mime-version-field-for-message/partial
- (concat "MIME-Version:"
- (eword-encode-field-body
- (concat " 1.0 (split by " mime-edit-version ")\n")
- "MIME-Version:"))
+ "MIME-Version: 1.0"
+;; (concat "MIME-Version:"
+;; (eword-encode-field-body
+;; (concat " 1.0 (split by " mime-edit-version ")\n")
+;; "MIME-Version:"))
"MIME version field for message/partial.")
(if (and (featurep 'xemacs)
(featurep 'menubar))
(delete-menu-item (list mime-edit-menu-title)))
- (end-of-invisible)
+ (disable-invisible)
(set-buffer-modified-p (buffer-modified-p))
(run-hooks 'mime-edit-exit-hook)
(message "Exit MIME editor mode.")))
(setq mime-edit-message-max-length
(or (cdr (assq major-mode mime-edit-message-max-lines-alist))
mime-edit-message-default-max-lines)))
- (let* ((mime-edit-draft-file-name
- (or (buffer-file-name)
- (make-temp-name
- (expand-file-name "mime-draft" temporary-file-directory))))
+ (let* (
+;; (mime-edit-draft-file-name
+;; (or (buffer-file-name)
+;; (make-temp-name
+;; (expand-file-name "mime-draft" temporary-file-directory))))
(separator mail-header-separator)
(id (concat "\""
(replace-space-with-underline (current-time-string))
(const :tag "Default" t))
integer)))
+(defvar mime-view-automatic-conversion
+ (cond ((featurep 'xemacs)
+ 'automatic-conversion)
+ ((boundp 'MULE)
+ '*autoconv*)
+ (t
+ 'undecided)))
+
;;; @ in raw-buffer (representation space)
;;;
(mime-entity-body entity)
;; #### This is wrong, but...
(mime-entity-content entity))
- (or (cdr (assq 'encoding situation)) "7bit"))
+ (or (cdr (assq 'encoding situation))
+ (if (fboundp 'mime-entity-body)
+ (mime-entity-encoding entity)
+ "7bit")))
(or (cdr (assq 'coding situation))
'binary)))))
(when (fboundp 'set-buffer-multibyte)
(set-buffer-multibyte t))
(buffer-string))
- 'undecided))
+ mime-view-automatic-conversion))
t)
(defun mime-preview-inline ()
(position (mime-preview-entity-boundary))
(coding (if ask-coding
(or (read-coding-system "Coding system: ")
- 'undecided)
- 'undecided))
+ mime-view-automatic-conversion)
+ mime-view-automatic-conversion))
(cte (if ask-coding
(completing-read "Content Transfer Encoding: "
(mime-encoding-alist) nil t)))