From: Paul Eggert <eggert@cs.ucla.edu>
To: 74869@debbugs.gnu.org
Cc: Richard Lawrence <rwl@recursewithless.net>
Subject: bug#74869: Fwd: [PATCH] Add predicates for decoded times and time deltas
Date: Sun, 29 Dec 2024 11:17:33 -0800 [thread overview]
Message-ID: <ed162bc7-c624-4ce9-94b3-0f6492f5a421@cs.ucla.edu> (raw)
In-Reply-To: <468ca0ab-a4aa-41ed-8f6c-260940f3f9f3@cs.ucla.edu>
Argh, I now see that I cc'ed the wrong bug report. It should be bug
74869, not 74689. Forwarding this two-day-old email to the correct bug
report. Sorry about the duplication.
-------- Forwarded Message --------
Subject: Re: [PATCH] Add predicates for decoded times and time deltas
Date: Fri, 27 Dec 2024 16:44:32 -0800
From: Paul Eggert <eggert@cs.ucla.edu>
To: Richard Lawrence <rwl@recursewithless.net>
CC: 74689@debbugs.gnu.org
What's the use case for these proposed predicates? I'm finding it hard
to review the patch without knowing what it's for.
Surely this should be in time-date.el rather than simple.el.
The implementation of decoded-time-p seems complicated and doesn't match
what decode-time produces. Wouldn't it be simpler to call (ignore-errors
(equal val (decode-time (encode-time val))))?
next parent reply other threads:[~2024-12-29 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <468ca0ab-a4aa-41ed-8f6c-260940f3f9f3@cs.ucla.edu>
2024-12-29 19:17 ` Paul Eggert [this message]
[not found] <e6537a9d-3f74-46a0-9bbd-ef63d045f4c2@cs.ucla.edu>
2024-12-29 19:18 ` bug#74869: Fwd: [PATCH] Add predicates for decoded times and time deltas Paul Eggert
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=ed162bc7-c624-4ce9-94b3-0f6492f5a421@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=74869@debbugs.gnu.org \
--cc=rwl@recursewithless.net \
/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).