From: Paul Eggert <eggert@cs.ucla.edu>
To: Max Nikulin <manikulin@gmail.com>,
org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: [DRAFT][PATCH] org-encode-time compatibility and convenience helper
Date: Mon, 11 Apr 2022 10:43:27 -0700 [thread overview]
Message-ID: <3f2555b1-23b5-c46e-d6b9-d64883be874f@cs.ucla.edu> (raw)
In-Reply-To: <7f4ea652-7d22-fb61-f873-5e92f078c9e6@gmail.com>
On 4/11/22 08:22, Max Nikulin wrote:
> + (defmacro org-encode-time (&rest time)
> + (pcase (length time)
> + (1 `(encode-time ,(car time)))
> + (6 `(encode-time (list ,@time nil -1 nil)))
> + (9 `(encode-time (list ,@time)))
After seeing this code and thinking about it a bit more I now understand
better why you'd prefer Emacs encode-time to accept a 6-argument list.
I'll work on adding that to Emacs master (to become Emacs 29). Of course
something like the above will still needed for Emacs 27 and 28.
next prev parent reply other threads:[~2022-04-11 17:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-11 15:22 [DRAFT][PATCH] org-encode-time compatibility and convenience helper Max Nikulin
2022-04-11 17:43 ` Paul Eggert [this message]
2022-04-23 8:25 ` Ihor Radchenko
2022-04-23 19:37 ` Paul Eggert
2022-04-24 3:35 ` Ihor Radchenko
2022-04-24 11:34 ` [DRAFT][PATCH v2] " Max Nikulin
2022-04-26 9:07 ` Ihor Radchenko
2022-05-03 12:14 ` [PATCH v3] " Max Nikulin
2022-05-04 9:56 ` Ihor Radchenko
2022-05-04 16:49 ` Max Nikulin
2022-05-05 15:22 ` [PATCH v4] " Max Nikulin
2022-05-07 4:46 ` Ihor Radchenko
2022-07-17 8:50 ` Ihor Radchenko
2022-05-10 14:31 ` Max Nikulin
2022-05-11 13:20 ` Ihor Radchenko
2022-05-13 15:14 ` Max Nikulin
2022-05-14 6:06 ` Ihor Radchenko
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3f2555b1-23b5-c46e-d6b9-d64883be874f@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=emacs-orgmode@gnu.org \
--cc=manikulin@gmail.com \
/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/org-mode.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).