unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Gildea <stepheng+emacs@gildea.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 4cc4344: ; Clarify and simplify time-stamp comments
Date: Thu, 14 Oct 2021 20:41:03 -0700	[thread overview]
Message-ID: <1694192.1634269263@pental> (raw)
In-Reply-To: Message from larsi@gnus.org of 14 Oct 2021 16:19:19 +0200 <87lf2vwuxk.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> wrote:

>   The main idea behind this patch (which no longer applies) is that we
>   could rewrite `time-stamp-string-preprocess' to just use `format-spec'.
>   I vaguely remember there being some corner case that `format-spec'
>   didn't support yet, but you've simplified the time-spec syntax a bit
>   meanwhile, so perhaps it's possible now.
>   
>   Anyway, I'm just including the patch below -- perhaps it can be used for
>   inspiration, but if not, just disregard it.

The spec of time-stamp-format is indeed somewhat complicated, mostly
for backward compatibility.  (Compatibility is important in time-stamp
because files can specify old formats in local variables.)  I plan to
simplify the format still further, after a suitable transition time.

I will keep your patch and use it for inspiration on my next pass
through time-stamp-string-preprocess.  Thank you for your attention to
simplifying time-stamp.

 < Stephen



      reply	other threads:[~2021-10-15  3:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210926152519.29145.33@vcs0.savannah.gnu.org>
     [not found] ` <20210926152521.5401420A5E@vcs0.savannah.gnu.org>
2021-10-14 14:19   ` master 4cc4344: ; Clarify and simplify time-stamp comments Lars Ingebrigtsen
2021-10-15  3:41     ` Stephen Gildea [this message]

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=1694192.1634269263@pental \
    --to=stepheng+emacs@gildea.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).