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

2022-03-29 Thread Matt Price
On Sat, Mar 26, 2022 at 4:31 AM Ihor Radchenko wrote: > No Wayman 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 a

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

2022-03-27 Thread Ihor Radchenko
Ihor Radchenko writes: > 2. Extend the alist with new options, like ${keyword} expansion, hooks, >contexts, children, etc Maybe in a sequence of patches. For reference, someone proposed a patch to extend org-capture-templates and support per-template hooks: https://list.orgmode.org/orgmode/2

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

2022-03-26 Thread Ihor Radchenko
No Wayman 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

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

2022-03-24 Thread physiculus
+1 -- Jens Reimer

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

2022-03-23 Thread No Wayman
Nicolas Goaziou writes: The fact that we need a tool like "doct" to write templates in a compact form may be a sign that the data type is not good enough. Actually it sounds like a failure somehow. Agreed. That's why I wrote doct in the first place. As others have expressed, there's far t

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

2022-03-23 Thread Tim Cross
Nicolas Goaziou writes: > > Ihor Radchenko writes: > >> Nicolas Goaziou writes: >> >>> I think there should be a direct mapping between Customize interface and >>> values. Adding this macro as a band-aid to simply configuration is not, >>> IMO, a solution. >> >> I think that current customize

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

2022-03-23 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: > Nicolas Goaziou writes: > >> I think there should be a direct mapping between Customize interface and >> values. Adding this macro as a band-aid to simply configuration is not, >> IMO, a solution. > > I think that current customize interface for org-capture-templ

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

2022-03-23 Thread João Pedro de Amorim Paula
On 20 March 2022 18:19, Ihor Radchenko wrote: > Also, if anyone agrees with my arguments below, do not stay silent and > drop a "+1" email below. Otherwise, this whole thing will be stalled. > There is no point discussing technical aspects, if there is no interest. It isn't really something that

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

2022-03-21 Thread Ihor Radchenko
Nicolas Goaziou writes: > I think there should be a direct mapping between Customize interface and > values. Adding this macro as a band-aid to simply configuration is not, > IMO, a solution. I think that current customize interface for org-capture-template is perfectly fine. doct aids users who

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

2022-03-21 Thread Ihor Radchenko
Mark Barton writes: > I was concerned about long term support and if I would be left with templates > I would have to rewrite again, plus I was too busy at the time to adopt it > and it stays in my list of TODOs that are not scheduled. To clarify, I do not think that we need to switch to doct

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

2022-03-20 Thread Mark Barton
+1 as interested I saw this project a while ago https://github.com/progfolio/doct I was concerned about long term support and if I would be left with templates I would have to rewrite again, plus I was too busy at the time to adopt it and it stays in my list o

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

2022-03-20 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: > I am pinging this thread again because I believe that doct syntax is > much easier to write compared to current defaults. It should be added to > Org core. > > Also, if anyone agrees with my arguments below, do not stay silent and > drop a "+1" email below. Otherw

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

2022-03-20 Thread Ihor Radchenko
I am pinging this thread again because I believe that doct syntax is much easier to write compared to current defaults. It should be added to Org core. Also, if anyone agrees with my arguments below, do not stay silent and drop a "+1" email below. Otherwise, this whole thing will be stalled. There

Re: [RFC] DOCT: Declarative Org Capture Templates

2020-04-24 Thread No Wayman
Nicolas Goaziou writes: Hello, No Wayman writes: * [RFC] DOCT: Declarative Org Capture Templates Thank you for your work. Thank you for taking the time to respond. Disclaimer: I am only using very basic capture templates. So, I cannot comment realistically on the new syntax you sugg

Re: [RFC] DOCT: Declarative Org Capture Templates

2020-04-24 Thread Nicolas Goaziou
Hello, No Wayman writes: > * [RFC] DOCT: Declarative Org Capture Templates Thank you for your work. I have some comments. Disclaimer: I am only using very basic capture templates. So, I cannot comment realistically on the new syntax you suggest. In particular, the example you give is way too