From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wOUpJt6Cj2Yc/QAA62LTzQ:P1 (envelope-from ) for ; Thu, 11 Jul 2024 06:59:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wOUpJt6Cj2Yc/QAA62LTzQ (envelope-from ) for ; Thu, 11 Jul 2024 08:59:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720681182; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xzQWqhmxJZ9cHtBPVhslSi6P9a1ZTq624ddvzNylf9E=; b=UVwtUa////sIfuzLc4YdmWH/wo6p1P00NRfDsxpINFE3zqUYENmPxIJR93JyM/CmJLVdZ1 4VXlf7V3LN7zbzEdPfidJVJ/vr1wL7K8fB5+HstLvBCEVnj8G1m8Y2PdXDz3ZuyR1m4okc MppAmaxGYbgPcD+7nDPTznjrfDDBv3nSVHDDrTIz+b4Fm11XU3t3N3T0gWklpg7dsR6lvB VKIvE9mA5zSwZfrCEl5X9QpsBfeFyiCB7ab/W7A4T7xA5xMjEfwCz/n/L+DRSg0V1etqTf Gg1srVcluHrCkbsRMbGK+bOaFtmzW3f1I0JRnxhkVUdzrayETG+yt287HU3BBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720681182; a=rsa-sha256; cv=none; b=sIYn14Twnt5aN5aEjHdpfHB/Llab5y+LFPYERcrGKyqZ9sH/4SAmqKT32gOstbqtAZv1J7 J2ELZ++5SpE4O84re78aZGmIe6FQbr++Xf4ReXLPGjlzOji16Q4vbrZjCVBgK/w11IFPEZ TYxnzwYKTDAeyQAlVZrFzehBoVG/g7KkDqqMlRD9I2dzp614NsYFuMnVij1D3kIoP7E+VC Ach4ajdiUNxFPwnvguvCfe8zgQR7Gbe6x7lCPHnxPzEDrlBB7MMPHY7qqGykmhB5Gof6Og n9RhwgIDNXkAi8R7jZWPaGT8d4SS/qI0bTfF5c3j0aGAm5WVBZ9bgFbOfVBRmg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7298B6C4F5 for ; Thu, 11 Jul 2024 08:59:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRnlx-0001nO-Uv; Thu, 11 Jul 2024 02:59:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRnlx-0001nF-1y for emacs-orgmode@gnu.org; Thu, 11 Jul 2024 02:59:21 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRnlv-0005t1-DN for emacs-orgmode@gnu.org; Thu, 11 Jul 2024 02:59:20 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id C6C11E8109 for ; Thu, 11 Jul 2024 08:59:16 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien?= Gendre To: emacs-orgmode@gnu.org Subject: Capture, template expansion and keyword for link type In-Reply-To: <87sewga4ni.fsf@k-7.ch> (=?utf-8?Q?=22S=C3=A9bastien?= Gendre"'s message of "Thu, 11 Jul 2024 07:17:37 +0200") References: <87sewga4ni.fsf@k-7.ch> User-Agent: mu4e 1.12.1; emacs 29.4 Supersedes: <87ikxcbnmg.fsf@k-7.ch> Date: Thu, 11 Jul 2024 08:59:15 +0200 Message-ID: <87r0c08ldo.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.55 X-Migadu-Queue-Id: 7298B6C4F5 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.55 X-TUID: cNzCfRccrMeO --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=C2=A0? When is it defined, and from/to where=C2=A0? To be able to use the "%:keyword" in a capture: Do I need to store a link before calling org-capture=C2=A0? Or do the call of org-capture will automatically store a link to where my point is before the call=C2=A0? 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=E2=80=99, =E2=80=98%:description=E2=80=99 and =E2=80=98%:annotation=E2=80=99. Is it possible to passe more keyword through an org-protocol call=C2=A0? Best regards =2D------ Gendre S=C3=A9bastien --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmaPgsMLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p5gfBAAvPGlvl0YvCm8BBTDqx1QZmm5w/WIuyVsPxn2tr44 F9jcft5uPuYOjEv6fG93+ltwxiyuzfo2AktrfJG/o7S5V79aRNrfdLLvYQu8DfM5 oRvtGYLagorhV8qsZxi+ew4uu+GfAfIJV4byTOtM8hNbiBJQqeU5AsppRar92lGR 44x9pwO0oh91fUZ15aTpytvRscC+GFrgUQV2k5lpHqojDYWdue642aw5Y24MNHqI kKzdSFKRXuNljs6/3O3Vms32yWhD807rQ4GT0S5cFMO5O9kKAno0aILyKUK8vLZk MMw07ODKzdFwn1hR8UmHA66141P8NMsFhqXwfoFOw7DIdYSLxgbJUNxIgCKM8SUc 8V6CYPVSixKmYjKt0tfnl1Qzd89BCuwu+TVVpG3nQ57VHs1P43f+QXrx/oJKxyLu n+eeB5sPOJONAk366bz7AvlITpIT72O9eF8D8pNw2TCi4JAk3H2JwH5G19ELqdMK EXjuUuMdY+Vs8OJhlwg2wzE/LLqCK8mAse5hGwUVlH1w7EiUclKxszCv928SFuwV iBNJl8J2v7ULVCfVVgmikKhUBMQK6kZPMhktLr7NBUN8rAgDlapYqxw7ZEGUAkt8 iY6OddVZvu5R/16L2svz0NjjVIoLYrRmFQIMtToZw7t3lZwMVP3enLKjnO2pG2WV MUg= =jLoh -----END PGP SIGNATURE----- --=-=-=--