* Month-week and quarter-week datetrees (RFC and package announcement)
@ 2023-12-30 19:41 Jack Kamm
2023-12-31 14:50 ` Ihor Radchenko
0 siblings, 1 reply; 4+ messages in thread
From: Jack Kamm @ 2023-12-30 19:41 UTC (permalink / raw)
To: emacs-orgmode
I have started a package that defines org-capture datetrees following
year-quarter-week and year-month-week formats:
https://gitlab.com/jackkamm/org-grouped-weektree
I'd appreciate feedback on 2 points:
1. Are any of these datetree formats worth upstreaming into org-mode
proper?
2. Can we add a public interface for `org-datetree--find-create', and
are there any suggestions on how to do it?
Regarding #2, an ugly aspect of my current implementation is the abuse
of the private function `org-datetree--find-create'. I also pass in
the week or quarter for the DAY and MONTH arguments of this function,
though I note that `org-datetree-find-iso-week-create' does something
similar in its implementation.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Month-week and quarter-week datetrees (RFC and package announcement)
2023-12-30 19:41 Month-week and quarter-week datetrees (RFC and package announcement) Jack Kamm
@ 2023-12-31 14:50 ` Ihor Radchenko
2023-12-31 18:16 ` Jack Kamm
0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2023-12-31 14:50 UTC (permalink / raw)
To: Jack Kamm; +Cc: emacs-orgmode
Jack Kamm <jackkamm@gmail.com> writes:
> https://gitlab.com/jackkamm/org-grouped-weektree
>
> I'd appreciate feedback on 2 points:
>
> 1. Are any of these datetree formats worth upstreaming into org-mode
> proper?
That would make sense.
> 2. Can we add a public interface for `org-datetree--find-create', and
> are there any suggestions on how to do it?
>
> Regarding #2, an ugly aspect of my current implementation is the abuse
> of the private function `org-datetree--find-create'. I also pass in
> the week or quarter for the DAY and MONTH arguments of this function,
> though I note that `org-datetree-find-iso-week-create' does something
> similar in its implementation.
The API of `org-datetree--find-create' is generally very limiting.
It would be nice to come up with something less limiting.
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Month-week and quarter-week datetrees (RFC and package announcement)
2023-12-31 14:50 ` Ihor Radchenko
@ 2023-12-31 18:16 ` Jack Kamm
2024-12-16 18:49 ` Ihor Radchenko
0 siblings, 1 reply; 4+ messages in thread
From: Jack Kamm @ 2023-12-31 18:16 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: emacs-orgmode
Ihor Radchenko <yantar92@posteo.net> writes:
>> https://gitlab.com/jackkamm/org-grouped-weektree
>>
>> I'd appreciate feedback on 2 points:
>>
>> 1. Are any of these datetree formats worth upstreaming into org-mode
>> proper?
>
> That would make sense.
>
>> 2. Can we add a public interface for `org-datetree--find-create', and
>> are there any suggestions on how to do it?
>>
>> Regarding #2, an ugly aspect of my current implementation is the abuse
>> of the private function `org-datetree--find-create'. I also pass in
>> the week or quarter for the DAY and MONTH arguments of this function,
>> though I note that `org-datetree-find-iso-week-create' does something
>> similar in its implementation.
>
> The API of `org-datetree--find-create' is generally very limiting.
> It would be nice to come up with something less limiting.
Thanks for the feedback -- I'll start working on something along these
lines. Though this might take me a little while since the holiday is
ending soon :''-(
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-16 21:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30 19:41 Month-week and quarter-week datetrees (RFC and package announcement) Jack Kamm
2023-12-31 14:50 ` Ihor Radchenko
2023-12-31 18:16 ` Jack Kamm
2024-12-16 18:49 ` Ihor Radchenko
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).