[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Capture, template expansion and keyword for link type
From: |
Ihor Radchenko |
Subject: |
Re: Capture, template expansion and keyword for link type |
Date: |
Thu, 11 Jul 2024 13:56:11 +0000 |
Sébastien Gendre <seb@k-7.ch> writes:
> I was reading the Org-mode manual, at section "10.1.3.2 Template
> expansion":
> https://orgmode.org/manual/Template-expansion.html
>
> And I was a little bit confused by the "%:keyword". The manual say:
> "Specific information for certain link types, see below."
>
> Where did this link come from ?
> When is it defined, and from/to where ?
> To be able to use the "%:keyword" in a capture: Do I need to store a
> link before calling org-capture ? Or do the call of org-capture will
> automatically store a link to where my point is before the call ?
> The manual page of template expansion did not explain it.
>
1. If there is %a placeholder in the template, org-capture stores link
to the location from where you called org-capture
2. If there is no placeholder, the last stored link is used
> Also, if a capture template is selected after an org-protocol call, the
> documentation say that only 3 keywords are available: %:link’,
> ‘%:description’ and ‘%:annotation’.
>
> Is it possible to passe more keyword through an org-protocol call ?
Not directly. Additional keywords are stored inside undocumented %:query
keyword value.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Capture, template expansion and keyword for link type, Sébastien Gendre, 2024/07/11
- Capture, template expansion and keyword for link type, Sébastien Gendre, 2024/07/11
- Re: Capture, template expansion and keyword for link type,
Ihor Radchenko <=
- Re: Capture, template expansion and keyword for link type, Max Nikulin, 2024/07/11
- Re: Capture, template expansion and keyword for link type, Sébastien Gendre, 2024/07/11
- Re: Capture, template expansion and keyword for link type, Max Nikulin, 2024/07/12
- Re: Capture, template expansion and keyword for link type, Sébastien Gendre, 2024/07/12
- Re: Capture, template expansion and keyword for link type, Max Nikulin, 2024/07/14