From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YCbRL8AO0F+fQAAA0tVLHw (envelope-from ) for ; Tue, 08 Dec 2020 23:39:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SGOhK8AO0F9xDgAAB5/wlQ (envelope-from ) for ; Tue, 08 Dec 2020 23:39:44 +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 321FE940253 for ; Tue, 8 Dec 2020 23:39:44 +0000 (UTC) Received: from localhost ([::1]:50138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmma6-0000GN-U1 for larch@yhetil.org; Tue, 08 Dec 2020 18:39:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmmRh-0003Mb-RU for emacs-orgmode@gnu.org; Tue, 08 Dec 2020 18:31:02 -0500 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:44058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmmRe-0007am-2W for emacs-orgmode@gnu.org; Tue, 08 Dec 2020 18:31:01 -0500 Received: by mail-pg1-x52a.google.com with SMTP id t3so13663114pgi.11 for ; Tue, 08 Dec 2020 15:30:56 -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; bh=bde1nGs2C7VWcaY7A6BxEdmBlWAzUgX/nDZBwvJr8bE=; b=liyoIZZzQhAiV2KlzscQb5AGmBii3P350UFjK1GpzZk6tedvRvpzxz6zsMgu8YSADr 91N53ftrW8JG9uxYuIFmAM92Pwtb99lkql/FhdK/3x13MWHiiCiB79ts9iui70hUmh0H 6xkfJ+e6ZHL4M06SuzikfOxRLCuEFtn9DA6wm1N/bB0SxdMnXZAwBSMS1vTu7fatL0Vg lC9Z6g5vZqbNVd2S82iLXJPgFDfYoqlxFfu8DJLY7zXv6QvW3z27oswfhzrhb3nA7dKk iwxTb4O3xeE3mwhZLjHQnzsezpTN3zdwjvHEr+0hYZ+VkAbHk4tANyTT5R3qrjiKIXJM z19Q== 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; bh=bde1nGs2C7VWcaY7A6BxEdmBlWAzUgX/nDZBwvJr8bE=; b=QRl2igeN4wvhH3cUMTU7yeJVSOVoQIzV2VZsL3mCro+znKll+DrYcygO4qzSYuXX1M PKKF1g2386PKYovHxIgPwpTNy5rdls71kKBlMDw6BZseEdHqLtZ+qxLMI+ZNxlubIKwH vd3ImLo/Z7SoBtxsb+QmWm+gkEJAiV9TGNZ7u1+ilUSjo2N64gtsAqGRxaskAmycit+1 Fffb5ALV97Xp7QJG6vDbWJc2C+DJ0iaQLZU0nFUekQ3igPcRVzizlG4G6BV3MtWVP6Gf HR83u3YKAhRKqpgp+wBXu0uA4270QiYAWlKH9OfjbaEj4tINgQjwKY5RxHJJE0HcczU1 eKDw== X-Gm-Message-State: AOAM530ubC+KFhUM+aL0MnEOim9jjY39+rXTaPwz7lAZRhc8JQ/Dskpm wSLt2aIcJpITO2ArHZRTi6NE66cQcuFUamWrui+tjVu2ftw= X-Google-Smtp-Source: ABdhPJyyArYxo91As1KQUiCj/T+Hj/p2w6e6eJ5iH/dweE53hOjzKeJQU/Xulr8YTUoS0cQiSQAKh+sI4dtxXUs4Tlo= X-Received: by 2002:a17:90b:46ca:: with SMTP id jx10mr106468pjb.208.1607470255296; Tue, 08 Dec 2020 15:30:55 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6a10:d10f:0:0:0:0 with HTTP; Tue, 8 Dec 2020 15:30:54 -0800 (PST) In-Reply-To: References: From: Samuel Wales Date: Tue, 8 Dec 2020 16:30:54 -0700 Message-ID: Subject: Re: stability of toc links To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::52a; envelope-from=samologist@gmail.com; helo=mail-pg1-x52a.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-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=liyoIZZz; 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: 321FE940253 X-Spam-Score: -3.01 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: y0feV5uO9CLO just thought of a better, still bad, solution. you could use the header text itself. then if the link breaks, the user can at least go to the document and manually look for somethnign similar. On 12/8/20, Samuel Wales wrote: > 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 > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html