Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/gnus/mm-encode.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\302\303\304\"\210\302\305\306\"\210\302\307\306\"\210\310\311\312\313\314\315\316\317&\210\310\320\321\322\323\324\314\325\316\326& \210\310\327\321\330\323\324\314\331\316\326& \207" [require mail-parse autoload mailcap-extension-to-mime "mailcap" mm-body-7-or-8 "mm-bodies" mm-long-lines-p custom-declare-variable mm-content-transfer-encoding-defaults '(("text/x-patch" 8bit) ("text/.*" qp-or-base64) ("message/rfc822" 8bit) ("application/emacs-lisp" qp-or-base64) ("application/x-emacs-lisp" qp-or-base64) ("application/x-patch" qp-or-base64) (".*" base64)) "Alist of regexps that match MIME types and their encodings.\nIf the encoding is `qp-or-base64', then either quoted-printable\nor base64 will be used, depending on what is more efficient.\n\nThis list is only consulted when encoding MIME parts in the\nbodies -- not for the regular non-MIME-ish messages." :type (repeat (list (regexp :tag "MIME type") (choice :tag "encoding" (const 7bit) (const 8bit) (const qp-or-base64) (const quoted-printable) (const base64)))) :group mime mm-sign-option nil "Option how to create signed parts.\nnil, use the default keys without asking;\n`guided', let you select signing keys from the menu." :version "23.2" (choice (item guided) (item :tag "default" nil)) mime-security mm-encrypt-option "Option how to create encrypted parts.\nnil, use the default keys without asking;\n`guided', let you select recipients' keys from the menu." (choice (item guided) (item :tag "default" nil))] 10)
#@466 If non-nil, use encodings aimed at Procrustean bed survival.
This means that textual parts are encoded as quoted-printable if they
contain lines longer than 76 characters or starting with "From " in
the body. Non-7bit encodings (8bit, binary) are generally disallowed.
This is to reduce the probability that a broken MTA or MDA changes the
message.
This variable should never be set directly, but bound before a call to
`mml-generate-mime' or similar functions.
(defvar mm-use-ultra-safe-encoding nil (#$ . 1920))
#@54 Insert text/plain headers with CHARSET and ENCODING.
(defalias 'mm-insert-rfc822-headers #[(charset encoding) "\302c\210\303\304\305!\227!\306\261\210\307\305 !\227\306\261\207" [charset encoding "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=" mail-quote-string symbol-name "\n" "Content-Transfer-Encoding: "] 4 (#$ . 2443)])
#@33 Insert multipart/mixed headers.
(defalias 'mm-insert-multipart-headers #[nil "\301\302c\210\303\304\261\210)\207" [boundary "=-=-=" "MIME-Version: 1.0\n" "Content-Type: multipart/mixed; boundary=\"" "\"\n"] 3 (#$ . 2789)])
#@37 Return a default encoding for FILE.
(defalias 'mm-default-file-encoding #[(file) "\301\302\"\204 \303\207\304\305\306\"!\207" [file string-match "\\.[^.]+$" "application/octet-stream" mailcap-extension-to-mime match-string 0] 4 (#$ . 3022)])
#@59 Return an encoding similar to ENCODING but safer than it.
(defalias 'mm-safer-encoding #[(encoding &optional type) "\302\267\202 \303\207 \304\230\203 \305\207\306\207 \304\230\203 \307\207\310\207" [encoding type #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (7bit 6 8bit 8 quoted-printable 8)) 7bit "message/rfc822" 8bit quoted-printable binary base64] 2 (#$ . 3273)])
#@209 Encode the current buffer with ENCODING for MIME type TYPE.
ENCODING can be: nil (do nothing); one of `quoted-printable', `base64';
`7bit', `8bit' or `binary' (all do nothing); a function to do the encoding.
(defalias 'mm-encode-content-transfer-encoding #[(encoding &optional type) "\302\267\202, \303ed\304#\207\305\306 \"\203'