From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SOH/AzSsD2edQwAA62LTzQ:P1 (envelope-from ) for ; Wed, 16 Oct 2024 12:06:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SOH/AzSsD2edQwAA62LTzQ (envelope-from ) for ; Wed, 16 Oct 2024 14:06:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=anonaddy.com header.s=default2 header.b="cEw/4lGj"; 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=reject) header.from=anonaddy.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729080371; 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=qtr4uoKcvzByq7d06S7euDyhnKX+r9xi60DieDrGJqg=; b=seVDHNd6AR/cl2zgZqwD1aSFCC4tHJnv6DY33n0MtFhplMvFpcrjkAlXsWCgFTXnnnH0ox RbTOA8JdE0YDbpJgqJMCV+XOMiG5xr8O2T4xXCjM4VRgOrRgBtHCLzrtSCLiHQtmamZx/T yu8SuRndU71joQNv5fa25D8BP/U97aaBA3N/Mzm7EU7UC3aPAADW122KClDEUY7UJ9JaTX aU/tTkv/blvMQvcpX9PbjgpOFF7VxTwwxwnSnKZAnZ7zUgosLdc1aa6lOpD8RWHlDlHBiF junoMmvOXS31R+SmedqmOJK5caytFeAWq45QeChYvHxsYsn9JqsP1F4THbbjLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=anonaddy.com header.s=default2 header.b="cEw/4lGj"; 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=reject) header.from=anonaddy.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729080371; a=rsa-sha256; cv=none; b=MElzVFZ1zmmF3/Gzrd5rCagvJIdGXQWMv5sZCG9cc5Ha2oYtvsGQa/mwvFgUktymyvq/zf 807QD9O5T7cAKTB/W35OpVkpC+9gC7HA/QNvRsp37TO8VlhkVcrpRGmEdr/aDzRl5JmACF 1Lt52exnvmDKLg4jL9ctxmaAJCVus1vlFFYWPhlbdEJYsvEd8rH84gWyH3jroTuTOvAOoS 3R1YvvX0591JGtxFcbMUE6gWBaCLvg6R90W0aIIVf+7t4ffj3HFe45ZfMt+Bu/s+Z5u3Gt bWcxzKo47ch8szFxK0niPN782bihFhukwC3hKyAI6ELc/3B2qTcvIgoydsEV9g== 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 BF9BE8972E for ; Wed, 16 Oct 2024 14:06:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t12mJ-0008Br-9P; Wed, 16 Oct 2024 08:05:24 -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 1szxc7-0006xc-S3 for emacs-orgmode@gnu.org; Sun, 13 Oct 2024 08:22:23 -0400 Received: from mail2.anonaddy.me ([185.70.196.149]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szxc6-0004FE-8D for emacs-orgmode@gnu.org; Sun, 13 Oct 2024 08:22:23 -0400 Received: from mail2.anonaddy.me (mail2.anonaddy.me [127.0.0.1]) by mail2.anonaddy.me (Postfix) with ESMTPS id 3CCD3FA7D7 for ; Sun, 13 Oct 2024 13:22:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anonaddy.com; s=default2; t=1728822131; h=from:from: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; bh=qtr4uoKcvzByq7d06S7euDyhnKX+r9xi60DieDrGJqg=; b=cEw/4lGjiSYuqlk3Dlx/mBGLrvfLCDYP+QWqAz9IXKwVVmjpFp1svQiuYp5034dM5G1srm dOgLAhzGQI3VnFQdjZNdyVhUbJrk6Y3WOtVEjONFubLolksdBdPGFMbmFvP6erYFKIJnz7 ck1LUDAYBtyGt/T9JiU/eEB7hweX/XBU+KX1X6vbHBXoVbp4ZekvtyabsR+H/XuTe/hPHj nRJKeDEFYQBXreYXPWfiNrwqdbXIOfamAgaUNAmvDmBvu9A1w+PmvXxfwucajFz1HzO/d9 xo5hrI1JAlQwMOl683nL9fZu3AK8OfeJfat2Gwh+g3+1WO9+LAAp/PLrhb6F3g== From: a4ofubmq@anonaddy.com To: yantar92@posteo.net Subject: Re: [FR] Allow searching by outline path in file: links to Org files [file: In-Reply-To: <87v7xwz1v8.fsf@localhost> References: <87v7xwz1v8.fsf@localhost> Cc: emacs-orgmode@gnu.org MIME-Version: 1.0 Date: Sun, 13 Oct 2024 12:22:11 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.196.149; envelope-from=b_ha4woojumy3hk5bumzwa_gfrgmmrzmm3ta@anonaddy.com; helo=mail2.anonaddy.me X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DM_SURBL=1 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 16 Oct 2024 08:05:14 -0400 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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.31 X-Spam-Score: -0.31 X-Migadu-Queue-Id: BF9BE8972E X-TUID: dV+nDqJ5Xpcy > > there is ambiguity right now if you want to org-store-link to > > hea= ding 2 > > > subheading 1. By default org stores > > [[file::= :*subheading1]], which would incorrectly point to > > heading 1. > > = > > Instead it could be [[file:::*heading 2**subheading1]] >= >=20 > > Please let me know what you think, if this has been already > >= suggested. > > I know that you could create unique UUID in PROPERTIES, b= ut > > wouldn't it > > be more informative if org-store-link used paren= t headings instead? > > I > > think it would be more elegant and not di= ssimilar from other > > popular > > addressing schemes (e.g. file paths= or urls). >=20 > I think that such feature does make sense. > In a way= , we already use something similar in org-refile - search by > outline pa= th. >=20 > I am not sure if I like the format you proposed though. > Ma= ybe we can instead try to implement nested search options. > Something = > like [file:::*heading 2::*subheading1] >=20 > You may refer t= o the existing code in `org-id-open' that allows to > narrow down link se= arch to an existing subtree. Yes, exactly and formatting you proposed = makes sense to me as well.