From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MG1yCe1A0V/EDAAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 21:26:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mBdQBe1A0V83ewAA1q6Kng (envelope-from ) for ; Wed, 09 Dec 2020 21:26:05 +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 92F22940429 for ; Wed, 9 Dec 2020 21:26:04 +0000 (UTC) Received: from localhost ([::1]:42930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn6yI-0000Fy-Is for larch@yhetil.org; Wed, 09 Dec 2020 16:26:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn6xb-0000Ff-1U for emacs-orgmode@gnu.org; Wed, 09 Dec 2020 16:25:19 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:43091) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kn6xZ-0001aw-8H for emacs-orgmode@gnu.org; Wed, 09 Dec 2020 16:25:18 -0500 Received: by mail-lf1-x131.google.com with SMTP id 23so5110152lfg.10 for ; Wed, 09 Dec 2020 13:25:16 -0800 (PST) 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; bh=dVPjRdBZT0lRTkO8aaoQNpgqHaXUijSTvGk+goCJTGY=; b=I0sXLQr8wihG9b5o2+1VwRd+IpgopbewvR6pZKk/AcsOg2o/YRVRXEnCvC5+838CuX xJF4gOPz1x+C25vyHpFacjwiSFfzwVcKBaaOOurk9zMnP033AZNny1YeJFgRIU6t5LiL pp+RgJK6gXdVTj8/rDt4VfAwT7C5jHM9WwYv0TJjZcX2f3TgZ51jBxePdgPkmnEatsgL QAzUmSKFTi9pJ9CDur2Yz+WQ0Llw/1YLKzNNW934v9YYRIZTiFHIkXuLaY7/d1Auf35R 7uXbvCiWbz7lWBSZ546VmioON+DI/T39oH78WV30BaTrXMI7CG5aQWptZA0WtdByQVdu lunA== 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; bh=dVPjRdBZT0lRTkO8aaoQNpgqHaXUijSTvGk+goCJTGY=; b=jYM2Nh5vZQJN9YnDX0FB3nZ3OiC2834e8TNjxHMvc03m0UbQCLOiwaOEbTil/H3HWD F+oCBfT4JNy1qdLlknSPvCIKOsgNFOF/gZ4pxJhBe3KXfhACFDjXQZruZlpTnwFN1vx0 43kOGfoWzZqSHTU7ndE5/eQhz5SmQgVSQBFIt5QmWcfh3e+E6x/uKpvsgNGI/lJJTxSW aj+XX9xKmg1MgtlW8W+S8zpgslDcb90RdhkKsOp9DTsURNVCd+ZY1LFvPmeKCJGsI0dY MJ5R4GGvIhDg7qXi4ddgDKHuqcP9t+3HSWN2ypfwfYe2gG+jriiZWmud8URpvWNg3v3U r7KQ== X-Gm-Message-State: AOAM533GuDa/Wzou5alX14mDe61gkQ3OrqhY/lTWfNWPO0GVR+QG7HKY 6cf7dJMx4q2VF8gDT7Esdbg6gAbo8sjvnuHsxRw= X-Google-Smtp-Source: ABdhPJwNMOBmVeDTOW9eYbXsg8Clsh0SHuCjjI/2HXmZO6HE8ELKQLsnxd3D+seiwNunX137iiyGkUXHF3BiVxN1+UY= X-Received: by 2002:a05:6512:3586:: with SMTP id m6mr964651lfr.318.1607549115010; Wed, 09 Dec 2020 13:25:15 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ab3:4a02:0:0:0:0:0 with HTTP; Wed, 9 Dec 2020 13:25:14 -0800 (PST) In-Reply-To: References: <87v9dbelky.fsf@gmail.com> From: Samuel Wales Date: Wed, 9 Dec 2020 14:25:14 -0700 Message-ID: Subject: Re: stability of toc links To: Carsten Dominik Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=samologist@gmail.com; helo=mail-lf1-x131.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: org-mode list , TEC Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.30 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=I0sXLQr8; 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: 92F22940429 X-Spam-Score: 0.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: nnZVlcqJLMYZ just so everybody is on the same page, i think carsten is talking about tec's code that generates html id's that are then used in urls? imo great idea. On 12/9/20, Carsten Dominik wrote: > I think we should merge this code into Org. > > Kind regards > > Carsten > > On Wed, Dec 9, 2020 at 3:54 AM TEC wrote: > >> >> Hi Sam, link stability is a concern I've had too. I currently have a fix >> (or at the very least, an improvement) for this in my config where I >> overwrite org-export-get-reference. (see: >> https://tecosaur.github.io/emacs-config/config.html#nicer-generated-heading >> ). >> >> I raised this on the list a while ago --- >> https://orgmode.org/list/E1jxAjq-0004Dk-LH@lists.gnu.org/ but there >> didn't seem to be much interest. >> >> All the best, >> Timothy >> >> Samuel Wales writes: >> >> > when you link to a section using toc, you get a link like >> > >> > >> https://thekafkapandemic.blogspot.com/2020/02/crimes-against-humanity_3.html#org080f0ab >> > >> > will these links break if somebody copies them and pastes them >> > elsewhere? what if you add a section? >> > >> > there doesn't seem to be a perfect solution, short of adding custom id >> > or id to everything, but perhaps a fuzzy hash of the header and >> > contents of the section could be used? or a strict hash of the >> > header? is anything like this being done? just curious. >> >> >> > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html