;ELC ;;; compiled by rms@mole.gnu.ai.mit.edu on Tue Mar 15 01:43:39 1994 ;;; from file /home/fsf/rms/e19/lisp/mh-mime.el ;;; emacs version 19.22.85. ;;; bytecomp version FSF 2.10 ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "`/home/fsf/rms/e19/lisp/mh-mime.el' was compiled for Emacs 19")) (byte-code "ÀÁ!ˆÂÃ!‡" [provide mh-mime require mh-comp] 2) (defvar mh-mime-content-types (quote (("text/plain") ("text/richtext") ("multipart/mixed") ("multipart/alternative") ("multipart/digest") ("multipart/parallel") ("message/rfc822") ("message/partial") ("message/external-body") ("application/octet-stream") ("application/postscript") ("image/jpeg") ("image/gif") ("audio/basic") ("video/mpeg"))) "\ Legal MIME content types.") (defalias 'mh-mhn-compose-insertion #[(pathname type description) "À \n #‡" [mh-mhn-compose-type pathname type description] 4 "\ Add a directive to insert a message part from a file. This is the typical way to insert non-text parts in a message. See also \\[mh-edit-mhn]." (list (read-file-name "Insert contents of: ") (completing-read "Content-type: " mh-mime-content-types nil nil nil) (read-string "Content-description: "))]) (defalias (quote mh-mhn-compose-type) #[(pathname type &optional description attributes comment) "ÀyˆÁ\n±ˆ ƒÄ ±ˆ ƒÆ DZˆÈcˆ ƒ' cˆÊË\f!±ˆÍc‡" [0 "#" type attributes "; " comment " (" ")" " [" description "] " expand-file-name pathname "\n"] 3]) (defalias 'mh-mhn-compose-anon-ftp #[(host pathname type description) "ÀÁ\n \f %‡" [mh-mhn-compose-external-type "anon-ftp" host pathname type description] 6 "\ Add a directive for an anonymous ftp external body part. This directive tells MH to include a reference to a message/external-body part retrievable by anonymous FTP. See also \\[mh-edit-mhn]." (list (read-string "Remote host: ") (read-string "Remote pathname: ") (completing-read "External Content-type: " mh-mime-content-types nil nil nil) (read-string "External Content-description: "))]) (defalias 'mh-mhn-compose-external-compressed-tar #[(host pathname description) "ÀÁ\n Ä ÆÇ&‡" [mh-mhn-compose-external-type "anon-ftp" host pathname "application/octet-stream" description "type=tar; conversions=x-compress" "mode=image"] 8 "\ Add a directive to include a reference to a compressed tar file. The file should be available via anonymous ftp. This directive tells MH to include a reference to a message/external-body part. See also \\[mh-edit-mhn]." (list (read-string "Remote host: ") (read-string "Remote pathname: ") (read-string "Tar file Content-description: "))]) (defalias (quote mh-mhn-compose-external-type) #[(access-type host pathname type &optional description attributes extra-params comment) "ÀyˆÁ\n±ˆ ƒÄ ±ˆ ƒÆ DZˆÈcˆ ƒ' cˆÊcˆË\fıˆÍ±ˆÏÐ!±ˆÒÓ!Ô±ˆƒSıˆÖc‡" [0 "#@" type attributes "; " comment " (" ") " " [" description "] " "access-type=" access-type "site=" host "; name=" file-name-nondirectory pathname "; directory=\"" file-name-directory "\"" extra-params "\n"] 3]) (defalias 'mh-mhn-compose-forw #[(&optional description msgs folder) "ÀyˆÁcˆ\nƒ\nØ„\ncˆÄcˆ ƒ% Ø„%Æ ±ˆƒFØ„F`ƱˆÉ`ÊË$ˆ)‚S\fƒSÆÍ\f!±ˆÎc‡" [0 "#forw [" description "" "]" folder " " msgs start subst-char-in-region 44 32 mh-sent-from-msg int-to-string "\n"] 5 "\ Add a forw directive to this message. This directive tells MH to include the named messages in this one. Arguments are DESCRIPTION, a line of text for the Content-description header, MESSAGES and FOLDER, which name the message(s) to be forwarded. See also \\[mh-edit-mhn]." (list (read-string "Forw Content-description: ") (read-string (format "Messages%s: " (if mh-sent-from-msg (format " [%d]" mh-sent-from-msg) ""))) (mh-prompt-for-folder "Message from" mh-sent-from-folder nil))]) (defalias 'mh-edit-mhn #[nil "À ˆÁÂ!ˆÃÄÅÆ \"ÇÆ #ˆÈɉ\"ˆÁÊ!‡" [save-buffer message "mhn editing..." mh-exec-cmd-error format "mhdraft=%s" buffer-file-name "mhn" revert-buffer t "mhn editing...done"] 4 "\ Filter the current draft through the mhn program for MIME formatting. Using directives already inserted in the draft, fills in all the MIME components and header fields. This step should be done last just before sending the message. The mhn program is part of MH version 6.8 or later. The `\\[mh-revert-mhn-edit]' command undoes this command. For assistance with creating MIME directives to insert various types of components in a message, see \\[mh-mhn-compose-insertion] (generic insertion from a file), \\[mh-mhn-compose-anon-ftp] (external reference to file via anonymous ftp), \\[mh-mhn-compose-external-compressed-tar] (reference to compressed tar file via anonymous ftp), and \\[mh-mhn-compose-forw] (forward message)." "*"]) (defalias 'mh-revert-mhn-edit #[(noconfirm) "„ÁÂ!ˆÃĉƒ,ÇÈ!@É!ÊR‰!„,A‰„„6ÁË\"ˆ\f„HÍÎÏ \"!„HÁÐ!ˆÄÒ ˆÓ !ˆ)ÔÄ!*‡" [buffer-file-name error "Buffer does not seem to be associated with any file" ("," "#") nil backup-file backup-strings file-exists-p file-name-directory file-name-nondirectory ".orig" "mhn backup file for %s no longer exists!" noconfirm yes-or-no-p format "Revert buffer from file %s? " "mhn edit revert not confirmed." buffer-read-only erase-buffer insert-file-contents after-find-file] 6 "\ Undoes the effect of \\[mh-edit-mhn] by reverting to the backup file. Argument (optional) non-nil means don't ask for confirmation." "*P"])