emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: gusbrs.2016@gmail.com
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Force creation of org id in template
Date: Mon, 26 Oct 2020 16:24:11 -0300	[thread overview]
Message-ID: <87pn54kcys.fsf@gmail.com> (raw)
In-Reply-To: <87y2jsx2qz.fsf@web.de> (Michael Heerdegen's message of "Mon, 26 Oct 2020 19:26:28 +0100")

Hi Michael,

On Mon, 26 Oct 2020 at 19:26, Michael Heerdegen <michael_heerdegen@web.de> 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 template?

:PROPERTIES:
:ID: %(org-id-new)
:END:

HTH,
Gustavo.


  reply	other threads:[~2020-10-26 19:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-26 18:26 Michael Heerdegen
2020-10-26 19:24 ` gusbrs.2016 [this message]
2020-10-26 21:33   ` Michael Heerdegen
2020-10-26 22:40     ` Gustavo Barros
2020-10-26 23:30       ` Gustavo Barros
2020-10-27  6:12         ` Colin Baxter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn54kcys.fsf@gmail.com \
    --to=gusbrs.2016@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael_heerdegen@web.de \
    --subject='Re: Force creation of org id in template' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).