From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CAyHI13ZxGS6fAAASxT56A (envelope-from ) for ; Sat, 29 Jul 2023 11:18:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CFe/Il3ZxGS6KwEAG6o9tA (envelope-from ) for ; Sat, 29 Jul 2023 11:18:21 +0200 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 546894CBC6 for ; Sat, 29 Jul 2023 11:18:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=inTlZgIU; 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=1690622301; 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=JW076lQ/EaDNPIG+l13nq+SEgrOtYoyolBw76dt/OPU=; b=NyfEl+j/UdJFC+Z3dbYOJN9qjDIxPDOu9jPUTLUy8ZtHs97+LZKP4Q8YBLeiEmE2vfeT9k UmvSLg2z0M/aovb6x6grqc5QATZL9Ktqq1II6jUZYGL5/oVUsjIvkFsRwPmY8WlYwgMbpM E8uDvB6zOqkkfzDlmEyPBhJtm/smnWxUZQhhyeOknc+uMMCYGAH2+pzz41ZKj01+gZMKgD TX4Ov8G7CM2GTqJw/1wiGgZV0HSPeJf/YEB8dATmkUQixI1DWEt6oWN1Vo7Dwk7QxYEhVK SrE4TxQ0chwt9VpjgGa6aCQsxyjJs5bSSFgdmuwUiKuFIyLzBS6CdizZ7yMySg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690622301; a=rsa-sha256; cv=none; b=lUjbG70YNd4AftkPVSIthq443qgUZ5nlxvN/I9sBVT4v2w3h5f/GjLLlO7S/4DzrrF7PPO 8olzTiR1+5g31EGw8bS1JUvk+F1brRbio+j3Mu91edxu28Z0Sk/Mi3loiuhQZvldfSAzpG dgXgek9xeioBNkU1rQlzKAzTqM/j4YMCNjGTV85G6xEo+2pYn7FLJw4vhe5QKj+Z1fIN4b aYsCd//m5vv4Z+07Fptc6hYDn6spvF0T9A9HQ0ZxqPjSBcYGrEka6Zz9gMmDEClbLLX12C EqdgKS/UerdoHzMpy84XjI5mjmi8RANFp28bun88dTEU8TII9XsczChErbwohg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=inTlZgIU; 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 localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPfO6-0000hV-0x; Sat, 29 Jul 2023 04:33:22 -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 1qPfO4-0000hM-Dx for emacs-orgmode@gnu.org; Sat, 29 Jul 2023 04:33:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPfO2-0000id-SB for emacs-orgmode@gnu.org; Sat, 29 Jul 2023 04:33:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8B3AD240028 for ; Sat, 29 Jul 2023 10:33:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1690619597; bh=JW076lQ/EaDNPIG+l13nq+SEgrOtYoyolBw76dt/OPU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=inTlZgIULOuB/GsvmVloN0102r/Pzr6sqqlP2Dz5bTIrnnvLOGITn+YPWOu0F5zej SO8+NIoFdPy7istwDx9BANkcIFsvI0v1nmYQ5iLisTVAhgtZyyvjTDK8MfDJLd6Apm RfQwBZonzd9dtm/UyABttLDOlCaQBBLGdUENrtB2vfXqoGP7QTr9bpkyxQparghy3/ W9QBGO2zWE4Cy0PxoMngtuFDMV+Zd3FpirSAko37qa3f88CjSCCrH46L6zZkgizptb z6hPpS+M9WGsAlLIypZx9DnWevDfmMkFfSSolhmmhK4Kv0jDxoUA8HPwH8PeU0XHgN JIOyAC8hBLDxw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RCd7H0G9Mz9s4G; Sat, 29 Jul 2023 10:33:14 +0200 (CEST) From: Ihor Radchenko To: Rick Lupton Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] org-id: allow using parent's existing id in links to headlines In-Reply-To: References: <118435e8-0b20-46fd-af6a-88de8e19fac6@app.fastmail.com> <87edkwsafe.fsf@localhost> <142ff7c1-7a22-c5fa-1b8d-79ab8809cc38@gmail.com> <87h6prm6tk.fsf@localhost> Date: Sat, 29 Jul 2023 08:33:30 +0000 Message-ID: <87zg3fxgkl.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.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.33 X-Spam-Score: -6.33 X-Migadu-Queue-Id: 546894CBC6 X-Migadu-Scanner: mx1.migadu.com X-TUID: XypnMVys47eA "Rick Lupton" writes: >> What about inherited CUSTOM_ID? > > I=E2=80=99m not sure what you mean.=20 > > Are you thinking of CUSTOM_ID links, and whether they would behave consis= tently with a search string to this proposal? Like: [[custom-id:my-id::*H2]= [H2]] > > Or using custom id as a search string? Like: [[id:abc::#my-id][Descriptio= n]] No. I was thinking about something like [[#my-id::search string]]. However, this will only make sense in internal links. file: links would need multiple search terms, which we currently do not support. So, never mind my comment. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at