Variable: mm-content-transfer-encoding-defaults

mm-content-transfer-encoding-defaults is a customizable variable defined in mm-encode.el.gz.

Value

(("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))

Documentation

Alist of regexps that match MIME types and their encodings.

If the encoding is qp-or-base64, then either quoted-printable or base64 will be used, depending on what is more efficient.

This list is only consulted when encoding MIME parts in the bodies -- not for the regular non-MIME-ish messages.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mm-encode.el.gz
(defcustom 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.
If the encoding is `qp-or-base64', then either quoted-printable
or base64 will be used, depending on what is more efficient.

This list is only consulted when encoding MIME parts in the
bodies -- 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)