From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 UOexIDwdNGcevAAAe85BDQ:P1 (envelope-from ) for ; Wed, 13 Nov 2024 03:30:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UOexIDwdNGcevAAAe85BDQ (envelope-from ) for ; Wed, 13 Nov 2024 04:30:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EyXhuphO; dmarc=pass (policy=none) header.from=gmail.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=1731468604; a=rsa-sha256; cv=none; b=FJ4tb6Nvl/2+u/eDbcsJxKidYkfatDaHYeToX+Gfx31RvDqz4Vd5ra0h+qtCYOqIEPBBXi V/oaocBw9sdQdhfVTGdwW0MB0xb8Il7tSqKbFuvuLjBzjX3tyT2pu7Ls1xXRZ+G/Y/WWt4 NibCbDg9VoViFB7fGLodzp4Ab94yTid6X7lXhhnDTWqHl9PxJSQXVGRngG+rKovatSQ3Bh R2AHkmPI3iuKlBMCoZIXV/hU53x6SozvKOWCt+uzMlzOyIKkEBrMq3YpRhT08l5WF1lC3g 3a5tsNR5/Aypo1X7uHz/hQSZWTI2UDpG0lZkK6RXpU5Ga5IFYlvN8vZ2dG+X+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=EyXhuphO; dmarc=pass (policy=none) header.from=gmail.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=1731468604; 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=dFZV6qkTwfokoeOs+zr0xvhyjSXV8MgxZNdzxqOdqsw=; b=K93LchlqGndWVh9pBDTcZxWxjtntgqt3h1YCgujq4ibvd3kzdwzPyWpTMJDkSdbljxyaF6 wNd8mO2YMFHh78nB16r8KZwguxhGY2IlRITEw2N8gcqdlaZXHW57jP1UY5P+hj3vl4QUSB i+3tUR+vL32uU4O6J6YYMHVX7jcDWK3UOVEQXia+oollbTkZ67lDPLIyuBk9gIg1IleS4R nX1Zn0HfzBOEZXDe5flkQKGZblmq1KvrmeLxyRVQps3K5D6zY24gChDUpJURKwUhS3F5QG WJd2wQv10D3vt3AHKF9GoLs2eVHabhk4ir959/Jsw44xicOsx/PDvU0/PxtIww== 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 34F9818B74 for ; Wed, 13 Nov 2024 04:30:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tB3z0-0003SA-SW; Tue, 12 Nov 2024 22:23:54 -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 1tB3yz-0003Rj-8Q for emacs-orgmode@gnu.org; Tue, 12 Nov 2024 22:23:53 -0500 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tB3yx-0004wM-GD for emacs-orgmode@gnu.org; Tue, 12 Nov 2024 22:23:53 -0500 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2fb4fa17044so67176751fa.3 for ; Tue, 12 Nov 2024 19:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731468229; x=1732073029; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dFZV6qkTwfokoeOs+zr0xvhyjSXV8MgxZNdzxqOdqsw=; b=EyXhuphO9DgJqk0QFm/j7B4Oe4lTWYnXCwyr2eOdQ1KQct9DD6VTjz5MCfokri086n AT2vjGxAJJiVyw5b02BNY+UWG8UgbpdlfUIQsk08a02VZfF/jNeFGPlzBozg0tszwTK9 MfOdnkxColW0hDESuzL93B1KbvZwKvmihe1BU7qN6L1zULNFhIeQaTGOc3r/aGvcNBUK Fgr3mqFwxuApWyUUtLuVpOh9rnO6gy/gdDDcHktTiqP3pizRS0qIpQhQ1VjukdDFDvF+ s1iXL1amNYHYQNWD0QoARS172/6OVLEsfG69ddFtu9wXMqm9w7sEuq3E7IXEn4irNSan NFyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731468229; x=1732073029; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dFZV6qkTwfokoeOs+zr0xvhyjSXV8MgxZNdzxqOdqsw=; b=o2jTLyry5+ZXoH4Mhra4aMat3Pq4QFunholAw41UVnc+MfuJZm8kxkTp2xlWlUQBYO LaloYyqV+4sUPZxXnU7odZrRM4CjCaGnnQY4tJGhERnatQjx3vkaWc0XaBp2ULL2/1Tb dFyMAmFGSQDQKUWxvIRS0diwzEJDQBcuPScg5VAY6kEwZf78jPy171j/EbiHzdaveQfV 3vV++7+X1I9mCLd/AzfJ1BowAbkfr3AKvIudi5rFC70crnlws8gRuD4laQWI6J2zqiXh 5w2GcaPOHQkZreV3JDEcJuvQtF2kT6PZ5kpXmv0fvzRtCcC0/TzOxMzebg7sMAliOitS VDgQ== X-Forwarded-Encrypted: i=1; AJvYcCVe9d21kn871UgB8drOXQim6e9auXBIepzJca1BV+8SrGvBuszM6GwtweEK+mzm57MpoOZDMZcypcwSAxx5@gnu.org X-Gm-Message-State: AOJu0YxKox51BTgg++uTX2dmVZJY+p789j7zBEXzNXAWspPf5Lw1KtWp 1MTULPgEWBDBsY1IPABhcZCn9wx/M7Gky8iCfnnY3C5J12fxpqtKkzP9KhdSyUJmoSyFYBXq8pi Xg80Sa40KX+jlBUY/7MLtMgX744BNtVCFIZ5l9GSp X-Google-Smtp-Source: AGHT+IHWX5ABzumRTGXyHqyNTsbUTOxhLSpg28xGcSfQyLh9FVEEyrVXL4iFsy5u2sbGSmdLVVjkzumQL41eoDr5Km8= X-Received: by 2002:a2e:bc81:0:b0:2fa:cf5b:1e8e with SMTP id 38308e7fff4ca-2ff20163d1amr103294211fa.2.1731468228461; Tue, 12 Nov 2024 19:23:48 -0800 (PST) MIME-Version: 1.0 References: <118435e8-0b20-46fd-af6a-88de8e19fac6@app.fastmail.com> <87edkwsafe.fsf@localhost> <87cywh2ad6.fsf@localhost> <87jzpmqiy0.fsf@localhost> <2cdfefbf-e9e3-4aeb-a410-1ff3a9d6168e@app.fastmail.com> <87zfybzkul.fsf@localhost> <3c5737c8-f489-4144-a27f-c0e0527c79c0@app.fastmail.com> <87bkaqcjpz.fsf@localhost> <87msu7r902.fsf@localhost> <1b50d1a4-8573-4dcc-9427-8970f67e632a@app.fastmail.com> <87o7d4mgpd.fsf@localhost> <87wmrlmvpe.fsf@localhost> In-Reply-To: <87wmrlmvpe.fsf@localhost> From: Samuel Wales Date: Tue, 12 Nov 2024 20:23:10 -0700 Message-ID: Subject: Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines To: Ihor Radchenko Cc: Rick Lupton , "Y. E." Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=samologist@gmail.com; helo=mail-lj1-x236.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.44 X-Spam-Score: -1.44 X-Migadu-Queue-Id: 34F9818B74 X-Migadu-Scanner: mx12.migadu.com X-TUID: DVL63VMU4d/x the idea is that if this were possible to do, it would eliminate the need to use duplicate text given that paths can change. #+INCLUDE: [[id:5f433209-07a1-4cac-bd63-17ce49fd5c33][x]] On 2/3/24, Ihor Radchenko wrote: > Samuel Wales writes: > >>> May you please elaborate what you want to add to the manual and where? >> >> had been merely thinking mentioning non-brittleness for newcomers. >> in handling links. > > Isn't it already mentioned? > > ... In addition or alternatively, depending on the value of > =E2=80=98org-id-link-to-org-use-id=E2=80=99, create and/or use a glo= bally unique > =E2=80=98ID=E2=80=99 property for the link(1). So using this comman= d in Org > buffers potentially creates two links: a human-readable link from > the custom ID, and one that is globally unique and works even if > the entry is moved from file to file. The =E2=80=98ID=E2=80=99 prop= erty can be > either a UUID (default) or a timestamp, depending on > =E2=80=98org-id-method=E2=80=99. Later, when inserting the link, yo= u need to > decide which one to use. > >> but MAYBE also org-id could be slightly more integrated in org, such >> as not having to load the library. > > The default value of `org-modules' is indeed a subject of discussion. > AFAIK, the current problem is that adding extra link types into > `org-modules' significantly slows down loading Org. > >> ... (info "(org) Include Files") does not >> mention whether org-id works. could eliminate the need to specify >> file. > > May you elaborate? > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com