From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 KMSrIf6E/GYEhQEA62LTzQ:P1 (envelope-from ) for ; Tue, 01 Oct 2024 23:25:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KMSrIf6E/GYEhQEA62LTzQ (envelope-from ) for ; Wed, 02 Oct 2024 01:25:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=anonaddy.com header.s=default2 header.b=N5EqDpHW; dmarc=pass (policy=reject) header.from=anonaddy.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-Seal: i=1; s=key1; d=yhetil.org; t=1727825150; a=rsa-sha256; cv=none; b=FxgMP/AyUjeey0h2BMsfevy7M0H1MGmYHoCkvkGjQb9mD1LjNTQ1Oo2b0Q+bptkX3VCvPn 4KB4tNOaDxVarTz05CCli+URPyoMJ7hoMB6juReOSqIMLYGShV7Dv0I/8cewhDw2yCje80 LYj87t0i0N6M2I0BDYFd34JU1IbN8jfYpHl9HjQtVAnnrCPL20AZGuU09m+fXVqnneaGG2 XLnRVomyg0hv0AT0pLYvFitEEAAim5GTHf0wnG1hEg6sbOzxot3lZNKbHANLzYrQSGzezU WxkJ+oU2nUFURn/05+zMGkDg5msobLWg/RNnrHSzisf0VTcuGntKYTTO4DmO7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=anonaddy.com header.s=default2 header.b=N5EqDpHW; dmarc=pass (policy=reject) header.from=anonaddy.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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727825150; 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=uT5a/K89V1ER+XDvF+71FF8DUdOrz3YH/gHlWr8goBI=; b=gS7ulZKBJkhQ1DBBbnj7J2Ovs9laTSNqFkV5MQhmrJ+ISeOkYWq5bbfr4ixcuOUSGE00t2 Y9tRYkZ6uUrCZoxUJPzVZMP5oDQz5ZNt7zbsIO6smfFqTxK9pC4d7HuqQ0cjMcavQn0/m0 uZTW/3SCCJaKwui+x+uxadhhINrOcm9FkYD0pVA0Uio/5KGy5Z1AXes/hoFV3hQdeEgpeo T96QvrdDJF5H4wnpAw12bDB3Fynj5q9vfrjhK8EGMS4iBvqd826NHfo08dxCqFOPBs3AGJ xSbcuZ1/MPW/i29QqtSP+p9MK9m6DJZ+ZnlW7A4oLU7yOX5TSVWSpo0kXvCSxg== 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 3B80119DBF for ; Wed, 02 Oct 2024 01:25:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svmEm-0001iL-JV; Tue, 01 Oct 2024 19:25:00 -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 1svmEk-0001iA-G7 for emacs-orgmode@gnu.org; Tue, 01 Oct 2024 19:24:58 -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 1svmEi-0001Fm-CM for emacs-orgmode@gnu.org; Tue, 01 Oct 2024 19:24:58 -0400 Received: from mail2.anonaddy.me (mail2.anonaddy.me [127.0.0.1]) by mail2.anonaddy.me (Postfix) with ESMTPS id 6EAB0FA0D8 for ; Wed, 2 Oct 2024 00:24:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anonaddy.com; s=default2; t=1727825084; 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=uT5a/K89V1ER+XDvF+71FF8DUdOrz3YH/gHlWr8goBI=; b=N5EqDpHW6PmmBX7Lx7rp9Kt+yvraiSFSRC/yCJIzSvcCl6C34QbgSdE0ofOTDQ+c/kJiMW ymFV733HoezpV2V/25K8f4TQeZIcOiDykto9HGQS7qnd1vNGNdjankML1e+ZdexCD+FaEn B9ixLIImfV8OLAWsq6T1l+9EYKxrkOAYfE6rVakE76nYANuTej5xJIRJMniglARjPODUK0 6wDMC8L9fXd27r2s1cDyVfiO32jvcWAbTDJaAeIbPeuAcIwmDAmMSMUxwxWw1ZKtkKiz+l doIaIm/tphWICDWVVXCh6Pqf6AqdsPRBQ2G2yeKICKREHj7M7PZFEANdQhrMeQ== From: a4ofubmq@anonaddy.com To: emacs-orgmode@gnu.org Subject: org-store-link relative to parent headings Feedback-ID: S:6260f827-3d04-44e5-bbe8-0f430d91ff8a:anonaddy Message-ID: MIME-Version: 1.0 Date: Tue, 01 Oct 2024 23:24:44 +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_mztxa3t2gnugi2lqomzq_ga4wmn3eg5qtm@anonaddy.com; helo=mail2.anonaddy.me 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, 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: -1.66 X-Spam-Score: -1.66 X-Migadu-Queue-Id: 3B80119DBF X-Migadu-Scanner: mx12.migadu.com X-TUID: 8fr2shxe9lSs I'd like to propose an alternative method to format links (org-store- lin= k) that would include parents of a heading. For example in a document lik= e this: * heading 1 ** subheading 1 * heading 2 ** subheading 1= there is ambiguity right now if you want to org-store-link to heading= 2 > subheading 1. By default org stores [[file:::*subheading= 1]], which would incorrectly point to heading 1. Instead it could be= [[file:::*heading 2**subheading1]] Please let me know what = you think, if this has been already suggested. I know that you could crea= te unique UUID in PROPERTIES, but wouldn't it be more informative if org-= store-link used parent headings instead? I think it would be more elegant= and not dissimilar from other popular addressing schemes (e.g. file path= s or urls). reference stackoverflow question: https://emacs.stackexc= hange.com/questions/82234/org-store-link-relative-to-parent?noredirect=3D1#= comment138536_82234