Variable: mail-yank-ignored-headers
mail-yank-ignored-headers is a customizable variable defined in
sendmail.el.gz.
Value
"^\\(?:in-reply-to\\|m\\(?:ail-\\(?:f\\(?:ollowup-to\\|rom\\)\\|reply-to\\)\\|essage-id\\)\\|origin\\|re\\(?:ceived\\|mailed\\|turn-path\\)\\|s\\(?:tatus\\|u\\(?:bject\\|mmary-line\\)\\)\\|to\\|via\\|x-rmail-\\(?:\\(?:attribute\\|keyword\\)s\\)\\):"
Documentation
Delete these headers from old message when it's inserted in a reply.
This variable was added, or its default value changed, in Emacs 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/sendmail.el.gz
:version "23.1") ; changed from nil to t
(defcustom mail-yank-ignored-headers
(concat "^"
(regexp-opt '("via" "mail-from" "origin" "status" "remailed"
"received" "message-id" "summary-line" "to" "subject"
"in-reply-to" "return-path" "mail-reply-to"
;; Should really be rmail-attribute-header and
;; rmail-keyword-header, but this file does not
;; require rmail (at run time).
"x-rmail-attributes" "x-rmail-keywords"
"mail-followup-to") "\\(?:")
":")
"Delete these headers from old message when it's inserted in a reply."
:type 'regexp
:version "23.1")