unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40151: 28.0.50; Remove Date header from message-draft-headers
@ 2020-03-20 17:11 Eric Abrahamsen
  2020-03-20 17:23 ` Lars Ingebrigtsen
  2020-03-20 19:40 ` James Cloos
  0 siblings, 2 replies; 11+ messages in thread
From: Eric Abrahamsen @ 2020-03-20 17:11 UTC (permalink / raw)
  To: 40151

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]


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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: message-draft-headers.diff --]
[-- Type: text/x-patch, Size: 583 bytes --]

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

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

end of thread, other threads:[~2020-03-23  8:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-20 17:11 bug#40151: 28.0.50; Remove Date header from message-draft-headers Eric Abrahamsen
2020-03-20 17:23 ` Lars Ingebrigtsen
2020-03-20 17:31   ` Eric Abrahamsen
2020-03-20 17:44     ` Lars Ingebrigtsen
2020-03-20 17:55       ` Eric Abrahamsen
2020-03-20 18:20         ` Lars Ingebrigtsen
2020-03-20 18:41           ` Eric Abrahamsen
2020-03-23  8:09         ` Peter Münster
2020-03-23  8:35           ` Robert Pluim
2020-03-20 19:40 ` James Cloos
2020-03-20 20:57   ` Eric Abrahamsen

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