From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sCcPMjPfRGO7NAAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 05:12:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WPhBMTPfRGMv7wAAG6o9tA (envelope-from ) for ; Tue, 11 Oct 2022 05:12:51 +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 54F4A273F1 for ; Tue, 11 Oct 2022 05:12:51 +0200 (CEST) Received: from localhost ([::1]:44576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi5hK-0008Ip-GU for larch@yhetil.org; Mon, 10 Oct 2022 23:12:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi5gh-0008Ig-54 for emacs-orgmode@gnu.org; Mon, 10 Oct 2022 23:12:11 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:37873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi5gb-00021j-PA for emacs-orgmode@gnu.org; Mon, 10 Oct 2022 23:12:09 -0400 Received: by mail-qk1-x735.google.com with SMTP id m6so2685259qkm.4 for ; Mon, 10 Oct 2022 20:12:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=vWAcUdVH2hCiljiXdNTCFugVniWVY+E1iavMcoroNgg=; b=E9R6rhLGJLTqksX3P4rtdP6Obgrb3JDorp4f69k6SdstUJVH0ThrvJklcZ5hj2vxiB DjY0F0RHI24p9+OsS1f07FppMUthK7rBAEoL+gpgM88GVTTQMx8jVkNURuKd4QCQrqKg vWaSHEW3URmSczeMO5jMGog9ACCv/MxzKSd+MTC4/MNb9MwELujDtU8gKtUsxbpRx08h a0ejkq8BLMgCBaKkCV//R30tWJiOMbqBLHxTwp7+5bwN5LfL+j93FBfqTLLkEoikAm5Y TI40V/m7lEEUWLfjAnxsoCvafdM2kHkJjIcjRI1SRn2Ldi/oKUVL2o9tdhIaFT6wUot2 LIAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vWAcUdVH2hCiljiXdNTCFugVniWVY+E1iavMcoroNgg=; b=0pyx3t+Jjdx5tP++wfdwnmWHgQN2Hh8b0TXzfykNhhvuJI+S0z3s0knb9Rch2J+2Oe /Ygqe5/50zycICXb28hPdISMTzgWamIYKDSkOlDFLErN4uAsYD2Rm7IhduliN1U47Z0b R06STYT0igzkgbf378oR2O5JuFO1G7GtjpVmjVCwqxx/cD06aQxi9nvKOgFxZQ0Ki2VR 8FCiRVwRodW3gI+ocZVwG3EPvBjauac4uoQUQjvV5ne1pPbFzeQ5zCqH8KQaUCYXk1cM 7T+3xxy65gN+H+8QVufZnItZkmGnFKY+Kcxvqln/SmpPD4GJDjWWnVmcA9wWtkHnWd+T VouA== X-Gm-Message-State: ACrzQf3Mgcug4NJo4HhagpZP43F1bA+71USI3GSdr9W8JDNKPFMTEp0T G4iJSnGkDVDoawjvC4MX5QU= X-Google-Smtp-Source: AMsMyM5n+s3f2SqIZq3IWUnVMtLFAWgbMERwOlU7XajRoLUPohGjQDAVxrG3KdcYMRxERDNtyF6dhg== X-Received: by 2002:a05:620a:2455:b0:6ce:9bfd:85d4 with SMTP id h21-20020a05620a245500b006ce9bfd85d4mr14794176qkn.45.1665457923829; Mon, 10 Oct 2022 20:12:03 -0700 (PDT) Received: from smtpclient.apple (ool-2f1480e0.dyn.optonline.net. [47.20.128.224]) by smtp.gmail.com with ESMTPSA id n20-20020a05620a295400b006e26c6db902sm12018802qkp.53.2022.10.10.20.12.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 20:12:03 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Robert Weiner Mime-Version: 1.0 (1.0) Subject: Re: stability of toc links Date: Mon, 10 Oct 2022 23:12:02 -0400 Message-Id: <01592A96-FDF3-4769-B3D5-807580926176@gmail.com> References: Cc: Tom Gillespie , emacs-orgmode In-Reply-To: To: Samuel Wales X-Mailer: iPhone Mail (19H12) Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=rswgnu@gmail.com; helo=mail-qk1-x735.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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665457971; 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=vWAcUdVH2hCiljiXdNTCFugVniWVY+E1iavMcoroNgg=; b=kL2TchHP9Qb27YO0TBi156eerHV0fZ+M7nDW87pdDZrAMExYtji8kREn3tLcwNh+KwPHt3 HtEv0VYnU4Z2r8Z2JG1VkGoWxfrQS+DKD0mbD9hlGGnFzU88YKpOjWPM2DTrFvaKhbNr0n kMPCj0A7brPEDTyObnn8E/0WsPkrPqrlEckZNOTnlWPGnoWgUbguS2bxqvaGmqdvykPgOR lEqfItudLdaCZ56YEGuX3pCThOn8WPH9V6H390HBt1OaZwyVhFbNV0fjQ9ZS+xVTBhjnUc yBPOntHvYlVC4tfilx+CjglDjZrvmIDETimjKrC2/lpGbOwPYU38iZLGUJ1jMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665457971; a=rsa-sha256; cv=none; b=BfdA/MmPXjWxj/rLHBuarwF90K7U9kT9D8BZDRakCj+o3UzcLPQ0GZvf2XohuWoR/3kwFn 4klNivSlGCD3GYxRmAg8aPQQVSt9B7qcylX9FH6YKa46sh6c8eS0XEPOnku+pFNZkZT/zw 4jIYx76XwZApTzlskNSZqsu/0IzU6ltRkvnHgWWK12SBvI0nqJOo13fU2BOrvWofDI8oeZ E8WKK/qp5zRFbome2jeh/I78bdMQq/yKr0Ggw8QQoO3se2TGb4s8AbvscUZlpMvUzf5qHx TrgW8g/Hjhqd9wgYqCI83Mu4tFqbo6SrjckkEfjChmWFKoEqo6ZebuNjBmpWPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E9R6rhLG; 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" X-Migadu-Spam-Score: -5.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E9R6rhLG; 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" X-Migadu-Queue-Id: 54F4A273F1 X-Spam-Score: -5.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: W4YC9YalLIMz I missed the beginning of this; what exactly are you looking for? If you do= n=E2=80=99t want ids attached to the headlines that go into the toc, are you= asking for code that automatically updates the toc on any change to individ= ual headlines inthe document body? It would probably be easier to just have a command like Texinfo has that reg= enerates its toc-like menus. -- rsw > On Oct 9, 2022, at 9:38 PM, Samuel Wales wrote: >=20 > =EF=BB=BF[i should clarify the clarification as i do not want it to seem l= ike > saying i already covered that was the only point for no reason. what > i meant is to provide context for those who are stumbling upon this > long thread. >=20 > it seems an active topic and a lot of custom id solutins were > presented and while custom id is a great feature, and provides a great > solution for those who want it, and in many cases is a great solution, > it is definitely not for /everybody/ in all cases, especially the > particular case of a large document where /lots/ of headers might > potentially be linked to by users, such as my original example in op, > a /long/ blog post. and thus lots of properties drawers and custom id > identifiers would be created. custom id is not a solution for me, for > toc or any other links that i desire to be stable /automatically/, > which is why i addressed them and id in my op and said "short of". >=20 > for clarity, according to my sensibilities, which others obviously > will differ on, custom id is more suitable for the document author to > use manually, and reasonably sparingly, and with particularly > meaningful and carefully chosen names. a custom id name refers to an > internal link that was chosen out of many, and refers to it with > semantic value attached. >=20 > in other words, to me, in most cases, custom id is not for code to > generate. in my own case, code would potentially create an enormous > number of undesired properties drawers with custom ids and /also/ make > it so that it is no longer as much of a semantically valuable feature > that custom id were added manually sparingly and with meaningful names > for particularly potent internal links to draw the reader's or > author's attention to or be straightforwardly searchable. if that > makes any sense there. :) >=20 > [as for drawers, as an aside: to my sensibilities, too many make the > document author wonder if they contain anything significant, require > opening them to make sure they are ok, and take up space in the emacs > window which in my case is highly limited. also, they possibly reduce > efficiency as at least in the past drawers were highly inefficient in > org. these issues probably do not apply to everybody.] >=20 > so that is why i said in the op "short of adding custom id or id to > everything", and why i clarified that i mentioned what you brought up > in the op. sometimes i effectively assume that all my implications > are understood when in fact i am supposed to spell them out but i am > limited in computer use so i sometimes do not. perhaps it helps > clarify.] >=20 >=20 >> On 10/9/22, Samuel Wales wrote: >>> On 12/8/20, Tom Gillespie wrote: >>> It sounds like you are looking for the CUSTOM_ID property. >>=20 >> just for clarity, i addressed this in my original post when i said >> "short of adding custom id or id to everything". >>=20 >=20 >=20 > --=20 > The Kafka Pandemic >=20 > A blog about science, health, human rights, and misopathy: > https://thekafkapandemic.blogspot.com >=20