Re: Force creation of org id in template

2020-10-27 Thread Colin Baxter
I have this URL to a site which gives a method for generating auto IDs, which might be useful. I never use IDs so can't report on its effectiveness. https://writequit.org/articles/emacs-org-mode-generate-ids.html#automating-id-creation Best wishes, Colin Baxter URL:

Re: Force creation of org id in template

2020-10-26 Thread Gustavo Barros
On Mon, 26 Oct 2020 at 19:40, Gustavo Barros wrote: > On Mon, 26 Oct 2020 at 22:33, Michael Heerdegen > wrote: > >> I'm not sure. I see that creating an id involves slightly more than >> adding the property - see the `org-id-add-location' call in >> `org-id-get'. Calling the higher level

Re: Force creation of org id in template

2020-10-26 Thread Gustavo Barros
On Mon, 26 Oct 2020 at 22:33, Michael Heerdegen wrote: > I'm not sure. I see that creating an id involves slightly more than > adding the property - see the `org-id-add-location' call in > `org-id-get'. Calling the higher level `org-id-get' or the like in a > %() spec in a template fails

Re: Force creation of org id in template

2020-10-26 Thread Michael Heerdegen
gusbrs.2...@gmail.com writes: > Untested, but how about adding something like the following to your > template? > > :PROPERTIES: > :ID: %(org-id-new) > :END: I'm not sure. I see that creating an id involves slightly more than adding the property - see the `org-id-add-location' call in

Re: Force creation of org id in template

2020-10-26 Thread gusbrs . 2016
Hi Michael, On Mon, 26 Oct 2020 at 19:26, Michael Heerdegen wrote: > is it possible to tweak `org-capture-templates' entries so that the > creation of an org id for an org entry created with `org-capture' is > forced? Untested, but how about adding something like the following to your

Force creation of org id in template

2020-10-26 Thread Michael Heerdegen
Hello, is it possible to tweak `org-capture-templates' entries so that the creation of an org id for an org entry created with `org-capture' is forced? TIA, Michael.