Function: mml-mode

mml-mode is an interactive and byte-compiled function defined in mml.el.gz.

Signature

(mml-mode &optional ARG)

Documentation

Minor mode for editing MML.

MML is the MIME Meta Language, a minor mode for composing MIME articles. See Info node (emacs-mime)Composing.

C-c RET C o mml-secure-encrypt-pgp
C-c RET C p mml-secure-encrypt-pgpmime
C-c RET C s mml-secure-encrypt-smime
C-c RET C-c mml-secure-message-encrypt
C-c RET C-e mml-secure-message-sign-encrypt
C-c RET C-n mml-unsecure-message
C-c RET C-p C-c mml-secure-encrypt
C-c RET C-p C-s mml-secure-sign
C-c RET C-s mml-secure-message-sign
C-c RET P mml-preview
C-c RET S o mml-secure-sign-pgp
C-c RET S p mml-secure-sign-pgpmime
C-c RET S s mml-secure-sign-smime
C-c RET b mml-attach-buffer
C-c RET c o mml-secure-message-encrypt-pgp
C-c RET c p mml-secure-message-encrypt-pgpmime
C-c RET c s mml-secure-message-encrypt-smime
C-c RET e mml-attach-external
C-c RET f mml-attach-file
C-c RET m mml-insert-multipart
C-c RET p mml-insert-part
C-c RET q mml-quote-region
C-c RET s o mml-secure-message-sign-pgp
C-c RET s p mml-secure-message-sign-pgpmime
C-c RET s s mml-secure-message-sign-smime
C-c RET v mml-validate

This is a minor mode. If called interactively, toggle the MML mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate the variable mml-mode(var)/mml-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mml.el.gz
(define-minor-mode mml-mode
  "Minor mode for editing MML.
MML is the MIME Meta Language, a minor mode for composing MIME articles.
See Info node `(emacs-mime)Composing'.

\\{mml-mode-map}"
  :lighter " MML" :keymap mml-mode-map
  (when mml-mode
    (when (boundp 'dnd-protocol-alist)
      (setq-local dnd-protocol-alist
                  (append mml-dnd-protocol-alist dnd-protocol-alist)))))