unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 41102@debbugs.gnu.org
Subject: bug#41102: When messages have no Date:
Date: Wed, 06 May 2020 07:23:43 +0800	[thread overview]
Message-ID: <878si6c6f4.5.fsf@jidanni.org> (raw)

Got an idea: if a mail arrives without a Date: header, gnus should add a
X-Gnus-Artificial-Date: <now> header.

And when opening such messages, if no Date: is found, use the
X-Gnus-Artificial-Date: header when making dates for the *Summary*
buffer.

That way instead of 1970 dates, you'll have dates certainly just a day
or two from the real date (when they sent the mail, that we don't know.)

-AND/OR-

Dig the earliest date out of all the Received headers.

My idea increases the accuracy of the date thousands of times over
"1970" (which of course could still be an option for folks who like it.)

Gnus v5.13
GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11)
 of 2019-09-23, modified by Debian





             reply	other threads:[~2020-05-05 23:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 23:23 積丹尼 Dan Jacobson [this message]
2020-05-06 11:36 ` bug#41102: just like totally-fudged-out-message-id 積丹尼 Dan Jacobson
2020-05-06 11:43 ` bug#41102: Add a X-Gnus-Note 積丹尼 Dan Jacobson
2020-05-06 12:03 ` bug#41102: Mutt 積丹尼 Dan Jacobson
2020-08-05 11:16 ` bug#41102: When messages have no Date: Lars Ingebrigtsen

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=878si6c6f4.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=41102@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).