Subject: bug#40151: closed (Re: bug#40151: 28.0.50; Remove Date header from message-draft-headers)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 20 Mar 2020 18:42:03 +0000

Your bug report

#40151: 28.0.50; Remove Date header from message-draft-headers

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40151: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40151
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#40151: 28.0.50; Remove Date header from message-draft-headers
From: Eric Abrahamsen <[email-masked]>
To: Lars Ingebrigtsen <[email-masked]>
Cc: [email-masked]
Date: Fri, 20 Mar 2020 11:41:11 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Lars Ingebrigtsen <[email-masked]> writes:

> Eric Abrahamsen <[email-masked]> writes:
>
>> How's this look?
>
> [...]
>
>> +The value of `message-draft-headers' determines which headers are
>> +generate when the article is delayed.  Remaining headers are
>            ^d
>
>> +generate when the article is sent."
>            ^d

A weird typo to make twice...

> Otherwise -- looks good to me.

Done, thanks.

Subject: 28.0.50; Remove Date header from message-draft-headers
From: Eric Abrahamsen <[email-masked]>
To: [email-masked]
Date: Fri, 20 Mar 2020 10:11:14 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

It was noted on gnus.general that it's weird to have the Date header as
part of the default value of `message-draft-headers'. Having it in there
means that a Date header is generated (and fixed) when a message is
first saved or delayed, not when it is sent. In the case of delayed
messages, in particular, it's weird that the eventually-sent message can
have a Date header days or weeks in the past.

Is there any interest in changing the default value?

Eric

diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index f1ace0eeb2..eb9c79d66c 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -215,9 +215,9 @@ message-required-headers
   :link '(custom-manual "(message)Message Headers")
   :type '(repeat sexp))
 
-(defcustom message-draft-headers '(References From Date)
+(defcustom message-draft-headers '(References From)
   "Headers to be generated when saving a draft message."
-  :version "22.1"
+  :version "28.1"
   :group 'message-news
   :group 'message-headers
   :link '(custom-manual "(message)Message Headers")