From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2DZ6JEizgGBqzwAAgWs5BA (envelope-from ) for ; Thu, 22 Apr 2021 01:20:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mIkeH0izgGAXHgAA1q6Kng (envelope-from ) for ; Wed, 21 Apr 2021 23:20:40 +0000 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 E1FDD2260E for ; Thu, 22 Apr 2021 01:20:39 +0200 (CEST) Received: from localhost ([::1]:48182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZM98-0001Qu-54 for larch@yhetil.org; Wed, 21 Apr 2021 19:20:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZM8j-0001Qh-Tn for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 19:20:13 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:43523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZM8i-0002At-2Y for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 19:20:13 -0400 Received: by mail-lf1-x12f.google.com with SMTP id y4so29061697lfl.10 for ; Wed, 21 Apr 2021 16:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=yjw+gD8FuO0xIKtRZ8lDIC+vYFs50lEp5fdR8JTeR/0=; b=rudAc62vlRCjeZYjYCGWHoYn+105gWVx9iPCdR8aeUJ9Yg4ujW1m3BacHcGtZzwOhO pqrvMXK2LkAvdHg66Mgt4ut3tqEUimH3ZANutnQkv8dRyn4P28hEC364ygCOMbMHRL6a LEb28vQGfsMFTgEDgSR4KUegVwG6dUCEmOed3k8Fq9zRiyeVsPjFfk/GKHJJPYb6vu0R ++QbLn4m/aHUWkMiiFua8x7Ghj7samB9MQjToimdipTWTGcCoDEmbuGdCYBg9z0tCwkY QmJ9IcV0TTU5AwVoDzz4ZvWZaXkpDjYISZbxKtwhKeKzKn/AtFltJ8jU1JODXwpqV5Xt +zxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=yjw+gD8FuO0xIKtRZ8lDIC+vYFs50lEp5fdR8JTeR/0=; b=k7XH0L6InIH1nRtNw3ea4SsPHZBTefIU+ufBV7ntOiW+rMGHBzflrqOEJH3VlOgAKh +V9k7vprPHjo8+yTOHQQ68VuWl5N2aCKy4W+fRpnpHhG0eZRwm+5jR28u2/nmgJL9fFq XZB7Iua/H+u+BITYjBvU8jA4IwI23vJFLVYiA27aHY7/pBfUVn2H2RxnMP0ONz8XTlZ5 3kpmQhmfMjIW+fUFiZqwOpVRuyW9ymnn15c4HsEtVy2ThG07OlWD9r6k0BMrlu3xGPbq Ja3L+6CfHnC41FphzL4yjOAYvxqaKap45iTFEjP9S5xvvh6ZL0KgyMOmgx8o6rkVfGIi 7E6g== X-Gm-Message-State: AOAM531ljaAlhYpjANkW0qJ8l2mQJNINOP5HcqGeOVz8Mgw7AxvRdH/r 1Q4kXCiIZRE4Fn+QskXaCeptymkwVvjjvc8VyZw= X-Google-Smtp-Source: ABdhPJzmmCOmQoFtZ0fi3kCUkc2FV/+yj/3F95isQk2I7FIiK4BOM6/M+bfTurYnyBrdaVl++I91FZQXSlO2GFuupyI= X-Received: by 2002:a05:6512:3f04:: with SMTP id y4mr426318lfa.458.1619047208831; Wed, 21 Apr 2021 16:20:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6504:5f6:0:0:0:0 with HTTP; Wed, 21 Apr 2021 16:20:08 -0700 (PDT) In-Reply-To: <87sg3j4vbl.fsf@gmail.com> References: <877dkzg9y2.fsf@nicolasgoaziou.fr> <87wnsx9rcj.fsf@nicolasgoaziou.fr> <87y2dc82ct.fsf@nicolasgoaziou.fr> <87sg3j4vbl.fsf@gmail.com> From: Samuel Wales Date: Wed, 21 Apr 2021 16:20:08 -0700 Message-ID: Subject: Re: stability of toc links To: Samuel Loury Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=samologist@gmail.com; helo=mail-lf1-x12f.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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Nicolas Goaziou Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619047240; 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=yjw+gD8FuO0xIKtRZ8lDIC+vYFs50lEp5fdR8JTeR/0=; b=BnpM8ZIZm0hYnBLGcQFE2tsLZe6Z/A3kFR9rR0hPbAqO/pbEVOI82XcAI5Um/jKugVt+m1 d66sANI3mBstw0/Png7g7FZRLhTIs8oe5J1/VCO+PaDkPupZ4UceUGS1HIX0zLpl8Rt/Gx kiqu8E8YzwPCWczvYGQ18Ir70bcVHZ9Kr1JUZRUk0/3kLwLNy+UmyHnaSGNdUgMC8uKdEp ynkuyCpnEwyN87KubrRGI5064cJK+5SnMAAZNyvrctCqPmoWrGR0xPgWyyUdKsV3KnzLRH gHI3vx57XTFh2Pb4zTt4CAm5fjN2YvrwEAe/8D2RJqLWR5XrQWamCejY0GQTSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619047240; a=rsa-sha256; cv=none; b=QaEYu5kIen6m4U1F5ZsfQb+/vJiS+ofxPUzuz1jSNbnoAcFmRv+AIufCDSAkoTD7/DZ2dj nx27HbrEitkDu3mKO+AX9SwHzsOh1U/JUt7eKaAo4DhsFhuK7xC1hHNKWXZz0ZtkoFRWRd kgJxp8R+RCeKj2GhIcdmB1Ba5DtOCXeDRM2vT06CJx0eQU1kGRNoa/PboFMNLfS38NqCG+ Ptemk3EuKOFbiMJcgDedFtv5auOeBOzIhcgSppaRVmduQAG+lFaGeFq/d6jCSZ7wDaO3Qv dTb0kf+p4RzWtfpvLexMh+yUWcK9li/HPr/vr3y+x8Uv/39CcrFt4zoVTaGW/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=rudAc62v; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 0.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=rudAc62v; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: E1FDD2260E X-Spam-Score: 0.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: qV0F5E/QkQCD more below. [note the two samuels.] On 4/21/21, Samuel Loury wrote: > advance what heading he will share, so he would have to add CUSTOM_ID > everywhere, just in case. This sounds like a lot of unnecessary work. > > The solution of tec=C2=B9 appears to be a new generation of the html ids = based > on the heading content rather than apparently randomly generated, making > the generated link become the same across new generations. > > I hope it clarified the discussion. it did improve it. thank you. the above is concise and clear. suppose reader A wants to send a link to reader B. one exported [i did not use org's publish facility] post is https://thekafkapandemic.blogspot.com/2020/02/crimes-against-humanity_3.htm= l . it has MANY sections. i turn off toc for a whole section and then put a toc in that section just to make the main toc less forbidding. here is the html for just the top few entries of the main toc -- notice 3 links each with a hex code that changes.

Table of Contents

  • This post
  • The name of the law
  • Basic facts
  • suppose i add a section after This post. Most links will now be broken. A could have sent any of them to B as raw hex links. i just want the problem understood at the user level. i get that there are possible implementation issues. i spent 16 years researching and writing the blog post. i don't want links to be broken or to have to kludge in a bunch of custom id or org id properties drawers just in case somebody links. even if drawers are added to every linked section automatically, it's a lot of clutter and slowness [org id searches are slow and drawers have performance issues that are being worked on but not merged into maint yet]. that is a lot of drawers just for links that might or might not be sent. i am limited in computer use so i will probably not pursue this further if there is no interest. there is some interest. e.g. carsten said he thought tec's code or somethign like it should be merged into org qua org. --=20 The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged= .html