From 0404d0310081ac88f781b57274375f37d8969a8c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 29 Jan 2001 12:08:17 +0000 Subject: [PATCH] (rmail-ignored-headers): Add X-Sign, X-BeenThere, X-Mailman-Version, Precedence, List-Help, List-Post, List-Subscribe, List-Id, List-Unsubscribe, List-Archive, Content-Type, Content-Length. --- lisp/ChangeLog | 7 +++++++ lisp/mail/rmail.el | 17 +++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3e4f1ae7e33..1b1087d4a51 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2001-01-29 Gerd Moellmann + + * mail/rmail.el (rmail-ignored-headers): Add X-Sign, X-BeenThere, + X-Mailman-Version, Precedence, List-Help, List-Post, + List-Subscribe, List-Id, List-Unsubscribe, List-Archive, + Content-Type, Content-Length. + 2001-01-28 Eli Zaretskii * isearch.el (isearch-highlight): Don't punt if the display diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 74e1f41abd0..afbea71a9b3 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1,6 +1,6 @@ ;;; rmail.el --- main code of "RMAIL" mail reader for Emacs. -;; Copyright (C) 1985,86,87,88,93,94,95,96,97,98,2000 +;; Copyright (C) 1985,86,87,88,93,94,95,96,97,98,2000, 2001 ;; Free Software Foundation, Inc. ;; Maintainer: FSF @@ -139,7 +139,20 @@ value is the user's name.) It is useful to set this variable in the site customization file.") ;;;###autoload -(defcustom rmail-ignored-headers "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:\\|^\\(resent-\\|\\)message-id:\\|^summary-line:\\|^resent-date:\\|^nntp-posting-host:\\|^path:\\|^x-char.*:\\|^x-face:\\|^x-mailer:\\|^delivered-to:\\|^lines:\\|^mime-version:\\|^content-transfer-encoding:\\|^x-coding-system:\\|^return-path:\\|^errors-to:\\|^return-receipt-to:\\|^x-attribution:\\|^x-disclaimer:" +(defcustom rmail-ignored-headers + (concat "^via:\\|^mail-from:\\|^origin:\\|^references:" + "\\|^status:\\|^received:\\|^x400-originator:\\|^x400-recipients:" + "\\|^x400-received:\\|^x400-mts-identifier:\\|^x400-content-type:" + "\\|^\\(resent-\\|\\)message-id:\\|^summary-line:\\|^resent-date:" + "\\|^nntp-posting-host:\\|^path:\\|^x-char.*:\\|^x-face:" + "\\|^x-mailer:\\|^delivered-to:\\|^lines:\\|^mime-version:" + "\\|^content-transfer-encoding:\\|^x-coding-system:" + "\\|^return-path:\\|^errors-to:\\|^return-receipt-to:" + "\\|^x-sign:\\|^x-beenthere:\\|^x-mailman-version:" + "\\|^precedence:\\|^list-help:\\|^list-post:\\|^list-subscribe:" + "\\|^list-id:\\|^list-unsubscribe:\\|^list-archive:" + "\\|^content-type:\\|^content-length:" + "\\|^x-attribution:\\|^x-disclaimer:") "*Regexp to match header fields that Rmail should normally hide. This variable is used for reformatting the message header, which normally happens once for each message, -- 2.39.2