* 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
* Re: ignore authenticated received chain (arc), and such headers in rmail
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-12 8:46 ` Eli Zaretskii
1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2017-05-07 17:17 UTC (permalink / raw)
To: Alfred M. Szmidt; +Cc: emacs-devel
> From: ams@gnu.org (Alfred M. Szmidt)
> Date: Sun, 07 May 2017 06:59:33 -0400
>
> 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.
Fine with me, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ignore authenticated received chain (arc), and such headers in rmail
2017-05-07 17:17 ` Eli Zaretskii
@ 2017-05-10 8:40 ` Alfred M. Szmidt
2017-05-10 16:35 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Alfred M. Szmidt @ 2017-05-10 8:40 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
Fine with me, thanks.
Thanks, should be noted that I don't have commit rights, so someone else needs
to commit this.
2017-05-10 Alfred M. Szmidt <ams@gnu.org> (tiny change)
* mail/rmail.el (rmail-ignored-headers): Ignore ARC, and SPF
headers.
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ignore authenticated received chain (arc), and such headers in rmail
2017-05-10 8:40 ` Alfred M. Szmidt
@ 2017-05-10 16:35 ` Eli Zaretskii
0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2017-05-10 16:35 UTC (permalink / raw)
To: Alfred M. Szmidt; +Cc: emacs-devel
> From: ams@gnu.org (Alfred M. Szmidt)
> CC: emacs-devel@gnu.org
> Date: Wed, 10 May 2017 04:40:55 -0400
>
> Fine with me, thanks.
>
> Thanks, should be noted that I don't have commit rights, so someone else needs
> to commit this.
I know, I was waiting for others to comment, if they want.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ignore authenticated received chain (arc), and such headers in rmail
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-12 8:46 ` Eli Zaretskii
1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2017-05-12 8:46 UTC (permalink / raw)
To: Alfred M. Szmidt; +Cc: emacs-devel
> From: ams@gnu.org (Alfred M. Szmidt)
> Date: Sun, 07 May 2017 06:59:33 -0400
>
> 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.
Thanks, installed.
^ 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.