emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] DOCT: Declarative Org Capture Templates (easier template synta


From: Matt Price
Subject: Re: [RFC] DOCT: Declarative Org Capture Templates (easier template syntax)
Date: Tue, 29 Mar 2022 10:19:31 -0400



On Sat, Mar 26, 2022 at 4:31 AM Ihor Radchenko <yantar92@gmail.com> wrote:
No Wayman <iarchivedmywholelife@gmail.com> writes:

> I'm open to bringing doct's features into Org mode, but I'd prefer
> it not to be spread out over another two years.

Proper integration of doct into org-capture.el would indeed be ideal. I
am happy that you are ok with such option.

Practically, we can do it step-by-step in separate patches:
1. Introduce alist format for org-capture-templates. No new
   functionality yet, just change the existing supported template
   options to :keyword value pairs. Also, make sure that we keep
   backwards compatibility.
2. Extend the alist with new options, like ${keyword} expansion, hooks,
   contexts, children, etc Maybe in a sequence of patches.
3. Provide validation of capture templates.

WDYT?

Best,
Ihor

I'll just say that I would be an enthusiastic adopter of the new syntax (just one data point). I agree wholeheartedly that named properties in plists are much easier to remember and adjust than positional arguments, especially when there are lots of the latter.   So, I hope this move sforward. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]