unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ignore authenticated received chain (arc), and such headers in rmail
@ 2017-05-07 10:59 Alfred M. Szmidt
  2017-05-07 17:17 ` Eli Zaretskii
  2017-05-12  8:46 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Alfred M. Szmidt @ 2017-05-07 10:59 UTC (permalink / raw)
  To: emacs-devel

This ignores some new headers that have become popular by some smtp
providers which are very verbose.  They are not very useful for the
user, and just polute the buffer.

diff -u --label /home/ams/emacs/lisp/mail/rmail.el --label \#\<buffer\ rmail.el\> /home/ams/emacs/lisp/mail/rmail.el /tmp/buffer-content-363vYs
--- /home/ams/emacs/lisp/mail/rmail.el
+++ #<buffer rmail.el>
@@ -363,6 +363,7 @@
 	  "\\|^importance:\\|^envelope-to:\\|^delivery-date\\|^openpgp:"
 	  "\\|^mbox-line:\\|^cancel-lock:"
 	  "\\|^DomainKey-Signature:\\|^dkim-signature:"
+	  "\\|^ARC-.*:"
+	  "\\|^Received-SPF:"
+	  "\\|^Authentication-Results:"
 	  "\\|^resent-face:\\|^resent-x.*:\\|^resent-organization:\\|^resent-openpgp:"
 	  "\\|^x-.*:"))
   "Regexp to match header fields that Rmail should normally hide.

Diff finished.  Sun May  7 12:48:41 2017



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-12  8:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-07 10:59 ignore authenticated received chain (arc), and such headers in rmail Alfred M. Szmidt
2017-05-07 17:17 ` Eli Zaretskii
2017-05-10  8:40   ` Alfred M. Szmidt
2017-05-10 16:35     ` Eli Zaretskii
2017-05-12  8:46 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).