unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers.
       [not found] ` <20220921124357.F2CE6C11DF3@vcs2.savannah.gnu.org>
@ 2022-09-21 13:54   ` Po Lu
  2022-09-21 15:42     ` Robert Pluim
  2022-09-22  5:08   ` Sean Whitton
  1 sibling, 1 reply; 6+ messages in thread
From: Po Lu @ 2022-09-21 13:54 UTC (permalink / raw)
  To: emacs-devel; +Cc: Richard Stallman

"Richard M. Stallman" <rms@gnu.org> writes:

> branch: master
> commit 13bd79e34fc6085410057f669cea435f2d1d046a
> Author: Richard Stallman <rms@gnu.org>
> Commit: Richard Stallman <rms@gnu.org>
>
>     Add more headers to default value of rmail-retry-ignored-headers.
>     
>     * rmail.el (rmail-retry-ignored-headers): Add more headers to default.
>     Don't bother with `purecopy'.  Split value readably.
> ---
>  lisp/mail/rmail.el | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
> index fed0a2057b..9cc097d28d 100644
> --- a/lisp/mail/rmail.el
> +++ b/lisp/mail/rmail.el
> @@ -372,11 +372,17 @@ If nil, display all header fields except those matched by
>    :group 'rmail-headers)
>  
>  ;;;###autoload
> -(defcustom rmail-retry-ignored-headers (purecopy "^x-authentication-warning:\\|^x-detected-operating-system:\\|^x-spam[-a-z]*:\\|content-type:\\|content-transfer-encoding:\\|mime-version:\\|message-id:")
> +(defcustom rmail-retry-ignored-headers
> +  (concat "^x-authentication-warning:\\|^x-detected-operating-system:\\|"
> +          "^x-spam[-a-z]*:\\|^arc-.*:\\|"
> +          "^content-type:\\|^content-transfer-encoding:\\|"
> +          "^mime-version:\\|^message-id:\\|^x-google-smtp-source:\\|"
> +          "^x-received:\\|^received-spf:\\|"
> +          "^authentication-results:\\|^dkim-signature:")
>    "Headers that should be stripped when retrying a failed message."
>    :type '(choice regexp (const :value nil :tag "None"))
>    :group 'rmail-headers
> -  :version "23.2")	   ; added x-detected-operating-system, x-spam
> +  :version "23.2")

Since the default was changed, :version must be updated too, right?



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

* Re: master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers.
  2022-09-21 13:54   ` master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers Po Lu
@ 2022-09-21 15:42     ` Robert Pluim
  2022-09-22  5:33       ` Po Lu
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Pluim @ 2022-09-21 15:42 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel, Richard Stallman

>>>>> On Wed, 21 Sep 2022 21:54:24 +0800, Po Lu <luangruo@yahoo.com> said:
    >> -  :version "23.2")	   ; added x-detected-operating-system, x-spam
    >> +  :version "23.2")

    Po Lu> Since the default was changed, :version must be updated too, right?

I already did that in 69fab1589a

Robert
-- 



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

* Re: master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers.
       [not found] ` <20220921124357.F2CE6C11DF3@vcs2.savannah.gnu.org>
  2022-09-21 13:54   ` master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers Po Lu
@ 2022-09-22  5:08   ` Sean Whitton
  2022-09-22  5:25     ` Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: Sean Whitton @ 2022-09-22  5:08 UTC (permalink / raw)
  To: emacs-devel, Richard Stallman

Hello,

On Wed 21 Sep 2022 at 08:43AM -04, Richard M. Stallman wrote:

> branch: master
> commit 13bd79e34fc6085410057f669cea435f2d1d046a
> Author: Richard Stallman <rms@gnu.org>
> Commit: Richard Stallman <rms@gnu.org>
>
>     Add more headers to default value of rmail-retry-ignored-headers.
>
>     * rmail.el (rmail-retry-ignored-headers): Add more headers to default.
>     Don't bother with `purecopy'.  Split value readably.
> ---

Could this variable be merged with message-ignored-resent-headers?  I
can't see why we might want to have both.

-- 
Sean Whitton



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

* Re: master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers.
  2022-09-22  5:08   ` Sean Whitton
@ 2022-09-22  5:25     ` Eli Zaretskii
  2022-09-22 16:12       ` Sean Whitton
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-09-22  5:25 UTC (permalink / raw)
  To: Sean Whitton; +Cc: emacs-devel, rms

> From: Sean Whitton <spwhitton@spwhitton.name>
> Date: Wed, 21 Sep 2022 22:08:23 -0700
> 
> Hello,
> 
> On Wed 21 Sep 2022 at 08:43AM -04, Richard M. Stallman wrote:
> 
> > branch: master
> > commit 13bd79e34fc6085410057f669cea435f2d1d046a
> > Author: Richard Stallman <rms@gnu.org>
> > Commit: Richard Stallman <rms@gnu.org>
> >
> >     Add more headers to default value of rmail-retry-ignored-headers.
> >
> >     * rmail.el (rmail-retry-ignored-headers): Add more headers to default.
> >     Don't bother with `purecopy'.  Split value readably.
> > ---
> 
> Could this variable be merged with message-ignored-resent-headers?  I
> can't see why we might want to have both.

I don't think that Rmail's rmail-retry-failure and message.el's
message-resend do the same job, do they?  The doc string of the former
says:

    "Edit a mail message which is based on the contents of the current message.
  For a message rejected by the mail system, extract the interesting headers and
  the body of the original message.

IOW, this deals with a message that was rejected by the MTA.  It
doesn't sound like a simple resend, AFAIU.




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

* Re: master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers.
  2022-09-21 15:42     ` Robert Pluim
@ 2022-09-22  5:33       ` Po Lu
  0 siblings, 0 replies; 6+ messages in thread
From: Po Lu @ 2022-09-22  5:33 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel, Richard Stallman

Robert Pluim <rpluim@gmail.com> writes:

> I already did that in 69fab1589a

Oh, okay, thanks.



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

* Re: master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers.
  2022-09-22  5:25     ` Eli Zaretskii
@ 2022-09-22 16:12       ` Sean Whitton
  0 siblings, 0 replies; 6+ messages in thread
From: Sean Whitton @ 2022-09-22 16:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel, rms

Hello,

On Thu 22 Sep 2022 at 08:25AM +03, Eli Zaretskii wrote:

> I don't think that Rmail's rmail-retry-failure and message.el's
> message-resend do the same job, do they?  The doc string of the former
> says:
>
>     "Edit a mail message which is based on the contents of the current message.
>   For a message rejected by the mail system, extract the interesting headers and
>   the body of the original message.
>
> IOW, this deals with a message that was rejected by the MTA.  It
> doesn't sound like a simple resend, AFAIU.

I believe that Gnus uses message-ignored-resent-headers for all kinds of
resends, including resending bounced mail.

-- 
Sean Whitton



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

end of thread, other threads:[~2022-09-22 16:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <166376423746.15379.7272033149632466931@vcs2.savannah.gnu.org>
     [not found] ` <20220921124357.F2CE6C11DF3@vcs2.savannah.gnu.org>
2022-09-21 13:54   ` master 13bd79e34f: Add more headers to default value of rmail-retry-ignored-headers Po Lu
2022-09-21 15:42     ` Robert Pluim
2022-09-22  5:33       ` Po Lu
2022-09-22  5:08   ` Sean Whitton
2022-09-22  5:25     ` Eli Zaretskii
2022-09-22 16:12       ` Sean Whitton

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).