unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: 40151@debbugs.gnu.org
Subject: bug#40151: 28.0.50; Remove Date header from message-draft-headers
Date: Fri, 20 Mar 2020 10:11:14 -0700	[thread overview]
Message-ID: <87mu8bymrx.fsf@ericabrahamsen.net> (raw)

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

             reply	other threads:[~2020-03-20 17:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20 17:11 Eric Abrahamsen [this message]
2020-03-20 17:23 ` bug#40151: 28.0.50; Remove Date header from message-draft-headers 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mu8bymrx.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=40151@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).