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 yC8BNIw80F9ULAAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 02:55:08 +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 WKrXL4w80F+PRgAA1q6Kng (envelope-from ) for ; Wed, 09 Dec 2020 02:55:08 +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 46F529409E3 for ; Wed, 9 Dec 2020 02:54:27 +0000 (UTC) Received: from localhost ([::1]:35876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmpcW-0007lv-PY for larch@yhetil.org; Tue, 08 Dec 2020 21:54:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmpc5-0007lQ-Em for emacs-orgmode@gnu.org; Tue, 08 Dec 2020 21:53:57 -0500 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:53536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmpc3-0001aO-SI for emacs-orgmode@gnu.org; Tue, 08 Dec 2020 21:53:57 -0500 Received: by mail-pj1-x1035.google.com with SMTP id iq13so90788pjb.3 for ; Tue, 08 Dec 2020 18:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=eGM4s66pk7KwbCLBcXCAwLTpGCnaIVlaLyiefobgo2g=; b=DifF0224CNtNZu6c5Lgso0r2ZCStuV3slf8Z+YBE6z0/K1fl1uF8btNddTayhJ16yX GqvffEtimq1ckg8HPKCYqJdOmnF9aCIAfgqxdJouL5IToWBszexmhogo/QqWJAJstTe5 ZapdvlP7KLwrSx/63/E1FgvaHPtcXgf7HXlYm+6FUB51F2N0reAkbRGmS9CCFgkVsF6l KMc9udxmthvMmgAU0HjvCbhKZlqY1z5ds6XL2/JAW/CwLLxDtUPvJZ+vjnOoKsggdfTi 6JENzoZ4YS4Bu2BDExcjK8Nqb4I28vCVYMcOkkVSbJhsMoRBhVsQf0foCOZFzWc3FWQ/ wHaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=eGM4s66pk7KwbCLBcXCAwLTpGCnaIVlaLyiefobgo2g=; b=dHI1LK+1MrNCPrp0u8VaB4jxKdzlrjlcXSI61jRx11MbxPKTXhPYzFQoYRCMpbmQ6Q sv2XE7H5ORw0rQjleHCk75Vk+nmuhnAaQMeIYQS19Vn78xSaBgbGdPaq6mH2Olr9XARC nui4ZxGxDTCX/rEEv8jxu95Hp2dqAUF07iKTfOTdpONcdWzn2F8eQe3fzWxAxA1sgUqX 6vj9IgwFFjLJqL/RzVvMbS4ZmjS/Pdgvqdm+vSuzxVFScw4xx+EoUAouI29LakG5aJQT DOs8nE0USyXFssFXJQqj1e0pbSjBJDWYKIqXeqY/4ThPpcmhHD3SFrs5QRSWJ3XMAQmn dOfQ== X-Gm-Message-State: AOAM532duV9B8G6l+w/WygNEn31yw4qp/q7QaXLxzlCNnSWmwPutRRLj 97gNyhF+nFRtySjtkuHjW3wOqzbpNjA= X-Google-Smtp-Source: ABdhPJwswb6qjkxA8WoSBeTvyMwK3wkm28bIFYJeeuR3dErIo/zJt/CEYpANSA5rTpJ7sCB8w5339w== X-Received: by 2002:a17:90a:bf88:: with SMTP id d8mr267250pjs.124.1607482434241; Tue, 08 Dec 2020 18:53:54 -0800 (PST) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id u198sm146390pgc.84.2020.12.08.18.53.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Dec 2020 18:53:53 -0800 (PST) References: User-agent: mu4e 1.4.13; emacs 27.1 From: TEC To: emacs-orgmode@gnu.org Subject: Re: stability of toc links Date: Wed, 09 Dec 2020 10:48:28 +0800 In-reply-to: Message-ID: <87v9dbelky.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x1035.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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-TUID: ndsOuEBFCp0J 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.