Re: org-capture: question about function to create template

2021-03-16 Thread Joost Kremers
Hi Ihor & No Wayman, Thanks for your replies. On Tue, Mar 16 2021, Ihor Radchenko wrote: > Joost Kremers writes: > >> ... I was wondering if there's any >> way for this function to access the state of the ongoing capture process. >> Specifically, it would be useful for me if the function can

Re: org-capture: question about function to create template

2021-03-15 Thread Ihor Radchenko
Joost Kremers writes: > ... I was wondering if there's any > way for this function to access the state of the ongoing capture process. > Specifically, it would be useful for me if the function can find out the key > of > the template that the user selected. See org-capture-plist. Also, you

Re: org-capture: question about function to create template

2021-03-15 Thread No Wayman
From: Joost Kremers To: emacs-orgmode@gnu.org Subject: org-capture: question about function to create template Message-ID: <87eeggh0r5@fastmail.fm> Content-Type: text/plain Hi list, I've been looking at the =org-capture= mechanism a bit more closely recently and noticed that i

org-capture: question about function to create template

2021-03-15 Thread Joost Kremers
Hi list, I've been looking at the =org-capture= mechanism a bit more closely recently and noticed that in =org-capture-templates=, the template can also be a function. This looks like a potentially useful feature, but I was wondering if there's any way for this function to access the state of the