emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: emacs-org-mode@gnu.org
Subject: Capture, template expansion and keyword for link type
Date: Thu, 11 Jul 2024 05:42:31 +0200	[thread overview]
Message-ID: <87ikxcbnmg.fsf@k-7.ch> (raw)

[-- Attachment #1: Type: text/plain, Size: 933 bytes --]

Hello,


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.

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 ?



Best regards

-------
Gendre Sébastien

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

             reply	other threads:[~2024-07-11  6:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-11  3:42 Sébastien Gendre [this message]
     [not found] <87sewga4ni.fsf@k-7.ch>
2024-07-11  6:59 ` Capture, template expansion and keyword for link type Sébastien Gendre
2024-07-11 13:56   ` Ihor Radchenko
2024-07-11 20:47     ` Sébastien Gendre
2024-07-11 14:05   ` Max Nikulin
2024-07-11 20:36     ` Sébastien Gendre
2024-07-12 12:00       ` Max Nikulin
2024-07-12 16:34         ` Sébastien Gendre
2024-07-14  8:22           ` Max Nikulin

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=87ikxcbnmg.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --cc=emacs-org-mode@gnu.org \
    /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
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

	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).