Variable: mh-yank-behavior
mh-yank-behavior is a customizable variable defined in mh-e.el.gz.
Value
attribution
Documentation
Controls which part of a message is yanked by C-c C-y (mh-yank-cur-msg).
To include the entire message, including the entire header, use
"Body and Header". Use "Body" to yank just the body without
the header. To yank only the portion of the message following the
point, set this option to "Below Point".
Choose "Invoke supercite" to pass the entire message and header through supercite.
If the "Body With Attribution" setting is used, then the
message minus the header is yanked and a simple attribution line
is added at the top using the value of the option
mh-extract-from-attribution-verb. This is the default.
If the "Invoke supercite" or "Body With Attribution" settings
are used, the "-noformat" argument is passed to the "repl"
program to override a "-filter" or "-format" argument. These
settings also have "Automatically" variants that perform the
action automatically when you reply so that you don't need to use
C-c C-y (mh-yank-cur-msg) at all. Note that this automatic action is
only performed if the show buffer matches the message being
replied to. People who use the automatic variants tend to turn on
the option mh-delete-yanked-msg-window-flag as well so that the
show window is never displayed.
If the show buffer has a region, the option mh-yank-behavior is
ignored unless its value is one of Attribution variants in which
case the attribution is added to the yanked region.
If this option is set to one of the supercite flavors, the hook
mail-citation-hook is ignored and mh-ins-buf-prefix is not
inserted.
This variable was added, or its default value changed, in MH-E version
8.0.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-e.el.gz
(defcustom-mh mh-yank-behavior 'attribution
"Controls which part of a message is yanked by \\<mh-letter-mode-map>\\[mh-yank-cur-msg].
To include the entire message, including the entire header, use
\"Body and Header\". Use \"Body\" to yank just the body without
the header. To yank only the portion of the message following the
point, set this option to \"Below Point\".
Choose \"Invoke supercite\" to pass the entire message and header
through supercite.
If the \"Body With Attribution\" setting is used, then the
message minus the header is yanked and a simple attribution line
is added at the top using the value of the option
`mh-extract-from-attribution-verb'. This is the default.
If the \"Invoke supercite\" or \"Body With Attribution\" settings
are used, the \"-noformat\" argument is passed to the \"repl\"
program to override a \"-filter\" or \"-format\" argument. These
settings also have \"Automatically\" variants that perform the
action automatically when you reply so that you don't need to use
\\[mh-yank-cur-msg] at all. Note that this automatic action is
only performed if the show buffer matches the message being
replied to. People who use the automatic variants tend to turn on
the option `mh-delete-yanked-msg-window-flag' as well so that the
show window is never displayed.
If the show buffer has a region, the option `mh-yank-behavior' is
ignored unless its value is one of Attribution variants in which
case the attribution is added to the yanked region.
If this option is set to one of the supercite flavors, the hook
`mail-citation-hook' is ignored and `mh-ins-buf-prefix' is not
inserted."
:type '(choice (const :tag "Body and Header" t)
(const :tag "Body" body)
(const :tag "Below Point" nil)
(const :tag "Invoke supercite" supercite)
(const :tag "Invoke supercite, Automatically" autosupercite)
(const :tag "Body With Attribution" attribution)
(const :tag "Body With Attribution, Automatically"
autoattrib))
:group 'mh-letter
:package-version '(MH-E . "8.0"))