From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uH3IGnyefGClTQAAgWs5BA (envelope-from ) for ; Sun, 18 Apr 2021 23:02:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aMkuFnyefGCpEQAAbx9fmQ (envelope-from ) for ; Sun, 18 Apr 2021 21:02:52 +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 3BAE126FED for ; Sun, 18 Apr 2021 23:02:51 +0200 (CEST) Received: from localhost ([::1]:37122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYEZ8-0002bQ-Ao for larch@yhetil.org; Sun, 18 Apr 2021 17:02:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYEYl-0002b8-6C for emacs-orgmode@gnu.org; Sun, 18 Apr 2021 17:02:27 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:46798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYEYj-0000wE-G0 for emacs-orgmode@gnu.org; Sun, 18 Apr 2021 17:02:26 -0400 Received: by mail-lf1-x12e.google.com with SMTP id 12so52648602lfq.13 for ; Sun, 18 Apr 2021 14:02:24 -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; bh=TbUeMpGrF+JFaLAM2BUACnTRR4kJuzgA+wwKinIRBsk=; b=H6wdcEPFQRgl4mFAmXTUdFLALTTplPlACdX6oBgSoOCKNMdn5aWyiAubyBblTJ+aUL Pk1bAWZMUTUq3mynn/Gj6E3JMvO0RR23vtiLOkpKnU1GJqOrYedXdl57fHGpkmSQP7DV 1xlY0h5ci0VukHIeBH07eH2saQMZsqDNuj17OJV0dGwAHrz6ypBTSWP2dTPYBjogJmrY 1xiFSuKFHY2O6x++k2OLuQT4Mv3bqQGIfi0ANGPYWaH+zR9QRPVmPsAacp8ZBjboyh6Q oBq9I1sbwMCNHOmKhVjuG/SmHEbSNhFCKlV9s+dxeyeduKYRTAScG1e3+zJMdJ+mC2U9 dfWw== 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=TbUeMpGrF+JFaLAM2BUACnTRR4kJuzgA+wwKinIRBsk=; b=ZFappZ6uMiBhyFSsPteyYI9w9EUOd4IugG+0Q0hPxg97ZoS/eBuutU3VeWxio3bfpp FWEXMnaW8V1POAIqTg40Rv+/45K2tYf4P/23ogHgVWUPc9UiXX1m6cA4wmFnc9acnb86 rEPIuOXMZFapus6/60907t/62K91stEy+Sjc2WnN8uwT+QFGVs7WPC6JT2254eYaZC30 WEYr/8cc5fJsd0ZisR4YKTiISKhUSbwKNG4CbW3cExv6t8LWDtA6tZk7X7jtd6dXicpF Dda5EdXuX1nk0FNAc5nJi+yntGHr3YxOQcqrsVkzBg47kbDDQZIiNqGu9XOjLbIifRJS GM5g== X-Gm-Message-State: AOAM532O93rHwc7Y7oLQ1c2qdhOJRrln4t6NRgHcGYi+1dFAaoUveMzj 1FWJ0N1NaPALRVqwkO9qA/7t01icc27/Z8UYyxY= X-Google-Smtp-Source: ABdhPJxih5g8Mi1SUEvHlPV09AG8K5Ua2LzyKsL6Mzki/ywuF0EVVheTF5ZU5kNoPT8nHyhH+qKQS3isbNSPuJYrxdo= X-Received: by 2002:a19:6b10:: with SMTP id d16mr10230823lfa.441.1618779743119; Sun, 18 Apr 2021 14:02:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6504:5f6:0:0:0:0 with HTTP; Sun, 18 Apr 2021 14:02:22 -0700 (PDT) In-Reply-To: <87v9dbelky.fsf@gmail.com> References: <87v9dbelky.fsf@gmail.com> From: Samuel Wales Date: Sun, 18 Apr 2021 14:02:22 -0700 Message-ID: Subject: Re: stability of toc links To: TEC Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=samologist@gmail.com; helo=mail-lf1-x12e.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 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=1618779771; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TbUeMpGrF+JFaLAM2BUACnTRR4kJuzgA+wwKinIRBsk=; b=tbsFefevFe/mNNl51VwDmG4uwVrMz/pWEn+WkFNTBiwpROJ9DmqyUHiW7h4GJwZHpLLJP+ Q4UhAgKs0spu1fwNTOWfoGK7OWI5Su0LZ+Bpg/SgJTwZbpPkzUPFKFMHKydA87p6m6RxTP IUeTxKj1FKKv+u7HREOFbs/OQs35XmGxPsAfv8VhvTZLI3SpZzuYaD8dQQgyN1604i7S/O PUZm7fkTjWxYy+iuLH4YVltEXS5KIs9l73R4SOEL/mRiDv48AIk05tAvV0zlrk+LXhiNXK z2rMNoZhIK29Z1YXyZy/RNNBnsNmX+t4XypOyPx9ZonBkWqE7OVR/RjVm4DdiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618779771; a=rsa-sha256; cv=none; b=Pup91CKyTy8BbkI2TMzN4skJBniNcLty/ebAfS9SiuFwUN65gA/WunHilxlrpiZ5UMeDri FJKeCIS413VleOPsfNZO8KgUDOljA80x/G3TTPYhJXXZLWJ+K+HpuLleou3TpzuxGxU9/Y nUo2HUxZ2sJdsVggQ1EgxRDXeFk4w8DG1kEwr1YKc9m/zABT1Nkf+t5vJ39BqTbeehuag1 LBrb1UB2pevnqSA3Oqk55r7mYE+aOQKkfMXxOfD/6X0MzBkc+eUsA+6NAQBYmDQQ4qf0Wc QA44JdRqFB2jzcz3/l9uREBJ2t5TzwAlnXqRvHEoAJ6+XbI0BS5Y3u3FPOcqqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=H6wdcEPF; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=H6wdcEPF; dmarc=pass (policy=none) header.from=gmail.com; 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: 3BAE126FED X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: e0Kvm1Im7njT i think this is the right type of solution. On 12/8/20, 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