From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 IBxmIZoQy2ZvegAAqHPOHw:P1 (envelope-from ) for ; Sun, 25 Aug 2024 11:08:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IBxmIZoQy2ZvegAAqHPOHw (envelope-from ) for ; Sun, 25 Aug 2024 13:08:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=slmails.com header.s=dkim header.b=ZP1pdC8u; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); dmarc=pass (policy=quarantine) header.from=slmails.com; 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724584090; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ytm3EVuGBjRFk03aVnu2bSvldGD3iLub+LgCffKL7do=; b=KZU7b3jMjpoQREdiauT7px4Dhxhtr1Ub+YRgYjjKeQN9Xaxy/ZFkfcXs+8o5rnTUPJn0ZC ffoKUQ7G1rTw6qx3H30vdFB4qpSJF6UKZf8j+Daw1GZ7oGJB0MAUSGwjhSxf1h/GsEQtVW yV7HTWclw6fw85PV5I/YoW9rUzZi8lV5rPKI4MrzB8fvzCa0KcTDurS0QTjOH6Ogu0zvKz iwJj6vdv+hlZLxgoxSX19C3eog/F51fSj3c52+1JjtV5pkmmBzwUE5ZbLFJ8KVUkXCNDLx lxvnF9iWUmCbLcNT64LZ0c+eiFX+NXYwH9PpqCPbnixESa87IOqOqNKQc5rrJA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1724584090; a=rsa-sha256; cv=pass; b=VtJ5cjONbdC2w76hGdcvQbIFDRNwoQFFkkUHEEODtOfiEQbeRwhOx6To9vo16GqGaP7+YV jSnjk9edK3gE6DtlTA7d71JpjhY8FfyqiS00F14BTJu3ng59hyxxXJkXZEFwbV3cabP9S2 qtqFJGGE1phm46LpkKotPbefVbyMGO4jJiKpmHzm3J37Xlh35Jpp3+2Oh2jY70QVNuBSIk llABbjuIAbaqjnx4wHZihEv8EOU01fCC2/n9lFUxUiikyj1i5Njf4/dUEugB/2W1asP+DD dB8ALs6gB12lOog/wf+OKRTJUhgYLMzbVXs8ukJuiIKDo+ysfhJVxjF5OrMhEA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=slmails.com header.s=dkim header.b=ZP1pdC8u; arc=pass ("simplelogin.co:s=arc-20230626:i=1"); dmarc=pass (policy=quarantine) header.from=slmails.com; 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 EE8B87050E for ; Sun, 25 Aug 2024 13:08:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siB5a-0003Jt-D2; Sun, 25 Aug 2024 07:07:18 -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 1siB5Y-0003JW-QT for emacs-orgmode@gnu.org; Sun, 25 Aug 2024 07:07:16 -0400 Received: from mail-200162.simplelogin.co ([176.119.200.162]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1siB5W-00048h-4r for emacs-orgmode@gnu.org; Sun, 25 Aug 2024 07:07:16 -0400 ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1724584031; cv=none; b=FGFLSzjZTWOs62vhbtyz/VjPK/6Rhjua2V9meLCggIUdTMSDUqBxaZJM7ycnyfegX9jcjAoXhGJbCoGmWbHMJfNZg44Ac1RNTgycY58UC5n7XG17E78KFuZFmIOqNemOib8sP+K3Z6I7Nk4eUObB136QkdfslMpTmLdw49NwnPBlq/zGjyz4Isnx1dxMhwueq9NQXtv8uXPOpZGUqlEIz9es62jZ5RZyEtMwsHUKLzvM+BszaspCFEO9vP/Ihg474xcilXKpTvgCz+duuJGzW7jM6DuiRMF/9d6n/8Yd5CQP7FcsEMN3XTGcMD2rcP3fkubt8IRtSv6SVWak/rfYPg== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1724584031; c=relaxed/simple; bh=9qZX90gxE+oU2i9tGBUn8S/zM6JdC65ktkyhtUu7YAU=; h=Date:Subject:From:To; b=xEIIaUj4qCds/TWtb9qsaecgKzd4GhcbO2fyTXG2LU2ZS7/Wp8sDjICFea/UX/YoEI5OOGLtOYTd+8M4ONSCeM08Ue/HEgRbumRe+ycqXuf/Amt3u4H3vghKBgB7shaFuyGBXdnVq63wlvGort+rcCPkePO7N8B9bupiMYjsY6g7JPx+t6FDKhBstEZOW8dTf4YM3RLRMJMvSyIvN7V8rFI2kh9R2zXQludyWmei1EZ76+dCgSfUll6VYdP557OHB0jtF6jZtAs3LdfmEpEnsTNnSkx3NagjBqJxudpj6Sf2oKHXCFsugGD3fsaAm3Go4K6zyMs91nwCgfEeO0Gdmg== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=slmails.com; s=dkim; t=1724584031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ytm3EVuGBjRFk03aVnu2bSvldGD3iLub+LgCffKL7do=; b=ZP1pdC8uJ+6ilK+20W/cRjRlIdk7KYqGMHtxxFHevzYpP75lR+g3smwLm0+o79x17xGDSQ OdMfnJg3F5zxsjCkzbGAB3cCN72PDn4VoLv/iVP82CtJQMseR6bmyqY1iy8Ap2cHg1qfLj wSzlb6GGy7rcY5jUdSchHO6iHBFeam4= Content-Type: multipart/alternative; boundary="------------ITvFpJ7vSuKDabwJlZyUCSYM" Date: Sun, 25 Aug 2024 13:07:01 +0200 Subject: Ideas to generate unique search context for id:links MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Kepa To: "emacs-orgmode@gnu.org" Message-ID: <172458403079.9.14394725843089748827.415077079@slmails.com> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 415077079 X-SimpleLogin-Want-Signing: yes Received-SPF: pass client-ip=176.119.200.162; envelope-from=sl.lmysyibuge2tanzxga3tslbageztsmzrgq3v2.u7jgkr4pyqnoo@slmails.com; helo=mail-200162.simplelogin.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.52 X-Spam-Score: -6.52 X-Migadu-Queue-Id: EE8B87050E X-Migadu-Scanner: mx11.migadu.com X-TUID: BBFOaazHA2sy --------------ITvFpJ7vSuKDabwJlZyUCSYM Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi I'm exploring the new option implemented in org 9.7: "id: links support search options like [[id:my-id::*child heading]]: Any valid fuzzy location will work as a search option." Do you use any way to generate UNIQUE search contexts? I was thinking about submitting this feature request, but probably it will have caveats: If the search context is in the form "fn:number", update that "number" too when normalizing footnotes (org-footnote-normalize. For example: * headline 1 :PROPERTIES: :ID:       2024-08-25T121008356645 :END: blah blah [fn:20] blah * headline 2 The goal is to automatically create unique search contexts using the features of the footnotes, like in this link to [[id:2024-08-25T121008356645::fn:20][blah]] --------------ITvFpJ7vSuKDabwJlZyUCSYM Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi

I'm exploring the new option implemented in org 9.7:

"id: links support search options like [[id:my-id::*child heading]]: Any valid fuzzy location will work as a search option."


Do you use any way to generate UNIQUE search contexts?


I was thinking about submitting this feature request, but probably it will have caveats:

If the search context is in the form "fn:number", update that "number" too when normalizing footnotes (org-footnote-normalize.

For example:

* headline 1

:PROPERTIES:
:ID:       2024-08-25T121008356645
:END:

blah blah [fn:20] blah

* headline 2

The goal is to automatically create unique search contexts using the features of the footnotes, like in this link to  [[id:2024-08-25T121008356645::fn:20][blah]]


--------------ITvFpJ7vSuKDabwJlZyUCSYM--