From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4HVsLhE9s2Cc2QAAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 09:21:53 +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 wGepKRE9s2BefQAAbx9fmQ (envelope-from ) for ; Sun, 30 May 2021 07:21:53 +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 F2FB128AB9 for ; Sun, 30 May 2021 09:21:52 +0200 (CEST) Received: from localhost ([::1]:34056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnFle-0002Qa-Ju for larch@yhetil.org; Sun, 30 May 2021 03:21:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnFlB-0002QQ-FC for emacs-orgmode@gnu.org; Sun, 30 May 2021 03:21:21 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:43721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnFl9-00036Z-Is for emacs-orgmode@gnu.org; Sun, 30 May 2021 03:21:21 -0400 Received: by mail-pg1-x533.google.com with SMTP id e22so5936918pgv.10 for ; Sun, 30 May 2021 00:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=KJXS/5xasbFSls4WKiUw0IIbvFew8A9HpajoL+OSWxc=; b=maFm6fhLpO1p/JKV2fr0g3N8CfOOaMhC2KtkmXlR16OLl8xrYRubVuXgoYSePWlgPj KpgDngvjJmAnuEg3pW9BUSpe9XPXt3G/I2l1D1b4GDxG1al8+lQmGLxnUuy6BXtgDH+T xScWETTA3rvnWLsbpw+iR/bEq3BlR1T2gGU0te+49Q1/75GjRC6FGxRnzSQwKckvcsE2 Kyh0265iIk85kwGI5VrF6Hnfz6vGBUf7VKE7yilJA13cCp8Bns89GOUwKxUCRXtUuz0N UEG1iWTBlGAn5feKE4qhJi/pprYU8MM9Jwt5gRpeBCJx0xScZyFgyzzlyrW2t8TrdbR+ +fjg== 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:cc:subject:date :in-reply-to:message-id:mime-version; bh=KJXS/5xasbFSls4WKiUw0IIbvFew8A9HpajoL+OSWxc=; b=KSRSK1pTWOng5AGNO3byz60GEeB9selev4/yp+pvXck5TUfM25+9CuGkO8tv9X9ZHf 6I3cEhw3J4luh8LVtjkgh8bPXWaaxsPUMzuIFh8PC11lCdsMWFvHQI2/fFW57kXJ8JJQ BR3RMVfMU9SfkYiM6pVwGZjb2GQSlx3GEbIoMdsfbD5BavnlATb1IC+mET5fv5YPEZUM UgzO6ytZOdRRRNgXyTv3uk9+jHaDU85B2rdPQKq5xReKvC/T5b+FKhgb6NY8qgoVzEgi wL/NGyQkV3QLGGgcLmjjTQHbOoVDCKlL762TTl8fijEQBzk1SL1QnBq2Bwg/RFOwEc5V AvAg== X-Gm-Message-State: AOAM530vTRu8Ujlq0zJvocS+yqOvHpz8hlgAOQVlZC29MShFiK+YyeTq dMMsxrecorHODx7PWE/Kk0KocWVzwIM= X-Google-Smtp-Source: ABdhPJzthvJWOWoToHToF4WKju5mkAUGRt0YodKiCR+Erc7VNk+5w5YpxProTXXbzpLSSHqgYG0VUw== X-Received: by 2002:a65:6256:: with SMTP id q22mr17118189pgv.391.1622359277646; Sun, 30 May 2021 00:21:17 -0700 (PDT) Received: from tim-desktop (106-69-119-253.dyn.iinet.net.au. [106.69.119.253]) by smtp.gmail.com with ESMTPSA id 125sm7801738pfg.52.2021.05.30.00.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 May 2021 00:21:17 -0700 (PDT) References: <87wnrhl7z7.fsf@catern.com> <87bl8tz5dr.fsf@nicolasgoaziou.fr> <87zgwdl3in.fsf@gmail.com> <878s3xp243.fsf@gmail.com> <87wnrgls2y.fsf@gmail.com> User-agent: mu4e 1.5.13; emacs 27.2.50 From: Tim Cross To: Timothy Subject: Re: HTML export uses anchor ids which change on every export Date: Sun, 30 May 2021 16:56:22 +1000 In-reply-to: <87wnrgls2y.fsf@gmail.com> Message-ID: <87r1ho8z6f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x533.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=1622359313; 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=KJXS/5xasbFSls4WKiUw0IIbvFew8A9HpajoL+OSWxc=; b=om77ua+J71imUzHHGpIeV9bN5sUMhEOBhflkMnn+2QBrGsfCDzMcNnuOMu/uzH+wLlgc/8 ciS3O0niYyzE0AuZw44ovrr96WUqEisQPeQICBCWiM849uwQb+tu5c7kfgbkw30JLDRWTr k7gt8d8qR3cwk5SM7YLc31QlIJugVTsXdjJxsqcm7RyEtXZvWLfIoGVFPQW87diNGyOPC8 Twnc0dmHuElz6mlkJ+4EZwsWJEmr/Osqo3b2OhjFLmTxfzAA1MHj2d4AnpKrBm4fraEHJc nlAR1/7kN5KFQ55I/BqQ8w43atRdymGpbXR8q9suECuKtmpfEgqtf2jgnorjsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622359313; a=rsa-sha256; cv=none; b=nXdMittT0sH+fGFsCQvUYejgEl8V4QoqNQ1ixkq+2868k4xenGhzkUihBVPfR5oQp310dz ybEXRtzKWh93tqtkOFll7AZh2Td9HZ2dofIj9oBUXbrf6XVb9bhuPQhypMCJCRjcjeCQbV DWjwF5NilyyfvM+JobpZhga2bUsp+58sigTuh/Pa8AE+8/BC1RoBFdYQVa4MFQzXZEeZwd 6URPLOJiDsuNE4FdZtdBxk4UONAh133bKAzFDnUyLlO7/Ebrv5v5HMBPDTIkG6CW2VN+cu MM8zmJcffPaK9UV6/OprXJkQ3gDaIQ1NFADuzagZdkZeQUAXS8hxxJ6U9e5hhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=maFm6fhL; 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: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=maFm6fhL; 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: F2FB128AB9 X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: YBnFwcPnxppj Timothy writes: > Tim Cross writes: > >> Timothy writes: >> >>> On this, would you have any interested in going back to that thread >>> about IDs generated based on the headings? IIRC it petered out more that >>> reached a conclusion. >> >> I thought the conclusion was that if you wanted link stability, use >> publish rather than export? > > No conclusion on the viability of my approach being modified a bit then > integrated into Org. Perhaps I misunderstood. My reading was that none of the proposed approaches were complete enough (in the sense they either introduced other issues or, while addressing some corner cases, made it much harder to address others, broke or failed to cater for other workflows). I was left with the general impression that solving this issue required a significant amount of re-development and a far more sophisticated approach for tracking, caching/memoizing IDs and attempting to address the issues just by patching the existing code was only going to make small improvements while complicating the existing code and making it harder to maintain. In short, a significant re-design and re-implementation effort rather than application of patches on the existing code base is required and until someone can do this work, the best approach was to use publish instead of export if link stability was required. -- Tim Cross