From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AN6TCx/WMWdjrwAAqHPOHw:P1 (envelope-from ) for ; Mon, 11 Nov 2024 10:02:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AN6TCx/WMWdjrwAAqHPOHw (envelope-from ) for ; Mon, 11 Nov 2024 11:02:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OaHgSw37; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731319326; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZHp2F4dSKx2NuxEqjFWSyrGMrEsIxG5jS5R88vR5wQE=; b=LSXXLxL9/4Irn9Bt1w+T3z51HhX75Tg2iiEyCIF5OyGL39qKW/YFJ+jycolU1xNDWof816 fV1ZV3dKyfBOMhUj9lhkta6p40wLCM2EgYhShxURGwBOgNDoUCD9m1dFp1CXf0q9QEn021 CUsm3mX+Ck3HB9Vp+MXGOJvCF/hh8o868tjVdPRkPEaz7bW055k5yohXozSHLjaDR2KZrx aahqFklLXi7z0y0KvLox3qr2vgEtgzMfgfMNEE4y9K4MH2FgxIlVFIepr46H1Fp0Y9Y7/j WEE1L9RFPuwMBE0Nbot2sRj0dSjhsNetV6WgLOCDV4spdZpIToYMlGeqXegujw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731319326; a=rsa-sha256; cv=none; b=O+LGxjLVeIAvSnLLNGf2tHrzVNiWMqUf1/durnUoxZkuIt5VLKzJOhmL0ApvSJ6bWJAODB oop1Xz12VyFOaSRyVPA1IfBx89Fr9/9+ByFJsfDDSo3SN18H2rLALkSmBfHugVY/vCKKJr 2cJkPG+GEgZO7XBjgXJScmAIOKmDHyucKtrP2sbkQwb+NeW9Rr+GQAf/M3S049yYdsdW69 2kp1iMuhTvAbVvHwumvsaL8E2PNQp4Rfb/qza2j9u42tdgoWe+tgEO57yeGZ0n2SWsTySo iWV3/mCO0YBkHD9VMmU3nH+NtpUkYo/4uthjU/vixiHMcqgaIXHNQKASAaIvPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OaHgSw37; 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=pass (policy=none) header.from=posteo.net 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 A7F5A1929 for ; Mon, 11 Nov 2024 11:02:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAREV-0004Sl-RK; Mon, 11 Nov 2024 05:01:19 -0500 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 1tAOT8-0005Yw-P0 for emacs-orgmode@gnu.org; Mon, 11 Nov 2024 02:04:14 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAOT6-0002dS-CL for emacs-orgmode@gnu.org; Mon, 11 Nov 2024 02:04:14 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 21E70240101 for ; Mon, 11 Nov 2024 08:04:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1731308650; bh=ZHp2F4dSKx2NuxEqjFWSyrGMrEsIxG5jS5R88vR5wQE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=OaHgSw37OEeCdIlaAmdIHqr4tsPQf68Vc517526ObeWGX9+6YTPT6osBlEKEUzjEK f/nxmHmFOxF2tSjIaXCrOLbE5CjcRvuV6DLtVxTq6C/rmtbikIgiaQW+1rkYeR56Tk sw0AZE4u/Zm9Grjyk2AWdEiobRBo0QL5+hMdWbXqtd2Ejvso4flzysV0jancqzlgAV Grd0g52Vi0MAenNrktDhd25DiiP1IrB6UKBwJMIFAn7OJ35IqqPxcpllmhA6zeplvc c2gmBTExSw/xhjV69VyhtZBu1E8UUnWsjFpx2Sxn5z329U/rUeOq1rdDPFgNcOL4QJ 5Zcid7SRCZ8vA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Xn0s52qlMz9rxL; Mon, 11 Nov 2024 08:04:09 +0100 (CET) From: Ihor Radchenko To: =?utf-8?Q?S=C3=A9bastien?= Gendre Cc: Rick Lupton , "Y. E." Subject: Re: Org version 9.7 and id: links In-Reply-To: <87seryal6j.fsf@k-7.ch> References: <87y11taeje.fsf@k-7.ch> <1f1890e2-d95b-4b36-aaa5-aa916e56cbeb@app.fastmail.com> <87seryal6j.fsf@k-7.ch> Date: Mon, 11 Nov 2024 07:05:41 +0000 Message-ID: <87wmhacksa.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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-Spam-Score: -2.60 X-Spam-Score: -2.60 X-Migadu-Queue-Id: A7F5A1929 X-Migadu-Scanner: mx13.migadu.com X-TUID: YZqynOuTmZ5X S=C3=A9bastien Gendre writes: > * With Org 9.7, an "id:" can also have "::#custom-id" at the end > > * "org-id-store-link" add it by default > > > But an "id:" link already contain an ID, why adding it a second time at > the end of the link=C2=A0? Example 1: You have top-level property drawer in a file: :PROPERTIES: :ID: file-id :END: Then, you can refer to headings in the file as [[id:file-id::heading-id]] instead of [[file:/path/to/file/that/may/change::heading-id]]. Example 2: You have a subtree with only the topmost heading with ID. You do not want to pollute child headings with PROPERTIES drawer, but you cannot reference them using [[*heading]] links either because the child heading titles are not unique. Then, you can do [[id:parent-id::*child title]] to refer to a child. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at