[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] lisp/org-id.el: Add new relative timestamp feature for `ts'
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] lisp/org-id.el: Add new relative timestamp feature for `ts' `org-id-method' |
Date: |
Mon, 17 Apr 2023 11:29:14 +0000 |
fernseed@fernseed.me writes:
> * etc/ORG-NEWS (New relative timestamp feature now available for the
> ~ts~ ~org-id-method~): Document the new feature.
> ---
> This patch introduces a new feature for the `ts` method specified by
> `org-id-method' that allows for the creation IDs with relative
> timestamps. This is my first patch for Emacs/Org mode. I have just
> started the FSF copyright assignment process.
Thanks for the patch!
Several high-level comments:
1. Instead of manually searching for keywords, please use `org-collect-keywords'
2. It will make sense to allow properties, not just keywords, to be the
source of time.
3. Currently, `org-id-new' can be called outside Org mode buffers.
With your new ID method, `org-id-new' may fail with error in non-Org
buffers.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>