From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UPMyIMKBj2bW/QAAqHPOHw:P1 (envelope-from ) for ; Thu, 11 Jul 2024 06:54:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UPMyIMKBj2bW/QAAqHPOHw (envelope-from ) for ; Thu, 11 Jul 2024 08:54:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720680898; 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:resent-to:resent-from:resent-message-id: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=1gRtxYp2NPi8QO+e9Z/qo9QlC6g9uTzvZ0Rg1dNak9Q=; b=qpTshxwuz//rwE/fHg8ReXXC03yMVlwvRPTvcSVINIQkBiSaqEp5rdEHfQYtS5b+p+cnaw eKRejEOQCod8xbCoL1Xk7Ki3rL24b7+Es6uCY06Zfs/OCs2WTLsiOSgu0xazEtuKCPInsX MYQhqHgxINjVL8o42y/w2omoktFQOq5EJzC1VCf8e45/bl0QR3R0dqCN3AlkwmE+j4Chq/ rAnlnlkMq75MNW8BRvl35v8nlm3StfqBamRvwDHos1hwbdKIKJdCkpRed8xrMahL8atNCh CmhaUFjXv9aei4Wk8XCnj9BEyUbzFDKMC+Hv5Ij2Ayrq2G0Eoh/eMjg9vh8vuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720680898; a=rsa-sha256; cv=none; b=TX7X0YPfNd+XrqbkqN2EGQU4SzysYHw1UbGkXUW4ojcdbG17VBAu7KWCJHW2Rs0ey2uj+v Ci79VPGUfWDeDRNpO5BpWYDFGzfQAZYSDmnCbUKDQlHVRVSZz92I+Wjh+3mMOYdtiVZjD1 LIHfr96hFELQ9lEWktkSb5rC5NmSUyALUl0m5Vu8z76PwLLQcxkVZRvLUnDcN2FW2rbKv8 7T/wjEECBFKt/mV9v0SrlxllSuAIiqj23d7H9ECP7x4HYPVfFOz27TEBoZ2xYrE1+D3Y9Z AFQYUFB49SYz10hJTWngmvlNMiyyrTRlT8MoqZoS9IOkoGSpT7s0r0sB0FE76Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" 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 462271AA2C for ; Thu, 11 Jul 2024 08:54:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRngn-0000O8-0e; Thu, 11 Jul 2024 02:54:01 -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 1sRngj-0000Nn-Q1 for emacs-orgmode@gnu.org; Thu, 11 Jul 2024 02:53:58 -0400 Received: from k-7.ch ([185.31.100.96]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRngh-00054T-RX for emacs-orgmode@gnu.org; Thu, 11 Jul 2024 02:53:57 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id F0E8AE8109 for ; Thu, 11 Jul 2024 08:53:52 +0200 (CEST) Resent-To: "emacs-orgmode@gnu.org" Resent-From: =?utf-8?Q?S=C3=A9bastien_Gendre?= Resent-Date: Thu, 11 Jul 2024 08:53:52 +0200 Resent-Message-ID: <87zfqo8lmn.fsf@k-7.ch> From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: emacs-org-mode@gnu.org Subject: Capture, template expansion and keyword for link type User-Agent: mu4e 1.12.1; emacs 29.4 Date: Thu, 11 Jul 2024 05:42:31 +0200 Message-ID: <87ikxcbnmg.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: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 462271AA2C X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.93 X-Spam-Score: -7.93 X-TUID: dEAtF7xwObOn --=-=-= 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/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmaPVKcLHHNlYkBrLTcu Y2gACgkQtYb3x3I54p4VTBAAgy426cnSD0G15RcpuqmFB9cf7EQcXRc0XFrwj1Sr r3IT5O9K9eRkhGNUQumaQ2mGs20eeBhJtbKpa6t46Fl7s4RA8ov08Nb0bGpkwdUU kwLXIwMC6Vs0R1P2NDcrk3/1Gs3ErZwUuwaXWYUW3cJ6W9tiBmHPjY/khF0SOQgN 4c7e2Qc49PS+xRyZo8b2jGzQzxpoEWu+fHI4l/HCKvZpQP1Mf3Y9U/zwZkv2np5a S8hMms2+sa89wQfoQP+Kf2k1VWBQCXAdtFJitp20DgE1DU5iDHfu1sO5LjZqsvgx m/aixt476Qe0qL+lyqGU5JM4Rei6LpCX9OEETtqDbHuBkwIKoP4QKOCn5+26fn91 wN3dGUlMRR15lavZAgBtbSAUs52IXAv5meHt8Tl8ytXxPMUTdi9sN0RzFU2Hh2d0 aiOyp3JeRcPZZIoRSlf+YSVI7yCpCtzwwm62320w4z+XYfqCU0uzh85XyCp8tux0 V2jC1LNp4cjbApu8tHcw/0P8U8j49nUVp5OTuaPPR7sSUFZIfgX6D9E1iLV6pKKV 5dWYhancIhWK9dC3Id+UigH7kGAhFTgoP1keGjIX2uKyDUwOFoieF8MbvdurMGmT SKXl2ZaY/VVNeGOziIkQaN7CYZxb7K0ymQnTOzFij9RQr65kRVwlLaiw/j+CTosx zxM= =TxfO -----END PGP SIGNATURE----- --=-=-=--