From: Joost Kremers <firstname.lastname@example.org>
To: Ihor Radchenko <email@example.com>,
No Wayman <firstname.lastname@example.org>
Subject: Re: org-capture: question about function to create template
Date: Tue, 16 Mar 2021 10:36:34 +0100 [thread overview]
Message-ID: <email@example.com> (raw)
Hi Ihor & No Wayman,
Thanks for your replies.
On Tue, Mar 16 2021, Ihor Radchenko wrote:
> Joost Kremers <firstname.lastname@example.org> 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.
Yes, I thought that might be it, but I wasn't sure.
On Mon, Mar 15 2021, No Wayman wrote:
>> From: Joost Kremers <email@example.com>
>> Specifically, it would be useful for me if the function can find out the key
>> of the template that the user selected.
> This is stored on the above plist as :key.
> There are some corner cases to consider if you have overlapping
> capture processes.
> You'll want to look into `org-capture-get' and
> `org-capture-current-plist' as well.
Thanks for the pointers. I'll dive in a little and see what's best for my use
Life has its moments
next prev parent reply other threads:[~2021-03-16 9:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 15:42 org-capture: question about function to create template Joost Kremers
2021-03-16 2:30 ` Ihor Radchenko
2021-03-16 9:36 ` Joost Kremers [this message]
[not found] <firstname.lastname@example.org>
2021-03-15 16:57 ` No Wayman
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
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).