Remove the Date header from message-draft-headers

* lisp/gnus/message.el (message-draft-headers): The Date header should
reflect when the message is sent, not when it was saved or delayed.
This commit is contained in:
Eric Abrahamsen 2020-03-20 10:53:49 -07:00
parent 0128375a50
commit 7725fbc5b1
2 changed files with 7 additions and 3 deletions

View file

@ -75,7 +75,11 @@ DELAY is a string, giving the length of the time. Possible values are:
variable `gnus-delay-default-hour', minute and second are zero.
* hh:mm for a specific time. Use 24h format. If it is later than this
time, then the deadline is tomorrow, else today."
time, then the deadline is tomorrow, else today.
The value of `message-draft-headers' determines which headers are
generated when the article is delayed. Remaining headers are
generated when the article is sent."
(interactive
(list (read-string
"Target date (YYYY-MM-DD), time (hh:mm), or length of delay (units in [mhdwMY]): "

View file

@ -215,9 +215,9 @@ Also see `message-required-news-headers' and
: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")