From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0r.migadu.com with LMTPS id yOlrMllOjWCxdgEALuJCtg (envelope-from ) for ; Sat, 01 May 2021 14:49:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2Hk0LllOjWCUXAAAB5/wlQ (envelope-from ) for ; Sat, 01 May 2021 12:49:29 +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 36DE311859 for ; Sat, 1 May 2021 14:49:29 +0200 (CEST) Received: from localhost ([::1]:44290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcp3n-0006D5-BT for larch@yhetil.org; Sat, 01 May 2021 08:49:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcp2m-0006Cg-O7 for emacs-orgmode@gnu.org; Sat, 01 May 2021 08:48:24 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:36407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcp2l-0006WE-3M for emacs-orgmode@gnu.org; Sat, 01 May 2021 08:48:24 -0400 Received: by mail-pf1-x42b.google.com with SMTP id p4so980334pfo.3 for ; Sat, 01 May 2021 05:48:22 -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:in-reply-to:message-id :date:mime-version; bh=RsICdOuNC6/XGNFTcKDmvgZQybi+LmvM4DHi8s75EuY=; b=i5DGOYXnyndpg89MOO49KtgSOBeqHyzPXgl9bzxGhjJdN6RfO9fp5jAqeHLmSwCJZ5 l4R3s+I/2yLR7VF3ecVRRuUtcE3ndHg/O/Fh5Emtlp0YgefSKGfJISnYWEYEg9RaHXJl 0O5R9bW3iirI01lTNMSq5eoTteFQgDpg4bI7XTpPXUuHh4V1BLKHrPknJQ0VplO4k6IS lmOt/FB3+A2YTbgWy7O8/ba37ClKySvdKa7UmuMcAatpsTBu7Jrj2m/Yk4NBpIbFyBEX 23MyN2WXnk4iHmzv8uQE0l0IbJDfG03UmHLsKPatzfvCBcLqxkPEFMUL2kiC+ih6fEYE gqfg== 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 :in-reply-to:message-id:date:mime-version; bh=RsICdOuNC6/XGNFTcKDmvgZQybi+LmvM4DHi8s75EuY=; b=AXu8xVqgRA8a+ri0iBgwIk0P57YaND3+c+i6NSGMe/ls5NKekszO57P3RVMLpwAFi3 Rq1PMvJ7Axo4R4jD/eYDEnSCdD45Pf7N4owcBXH/BbfDJgy5cVoKK7zpJEKJyOzkBVrO 8BWOqd7XfsQ5G5mOtny5ViznZa3Tn4P50DRdJbMQVIotZYP3BjRYZ3i4rVcqFBRULfOh uhg5mOh45gjiblLURMyBDM9r1Gcl9dAZbdbkVhH85A/wW+ai4dAQeshYQxIee/4GcIPL /vok9++X0pLIFVovXnkd7MMmumOxYb7fA6XwznUritHiizxDp0mn3Lndr/lEGUE27SWL GYeQ== X-Gm-Message-State: AOAM531wSEQmKow7vq9NCqkjdDa9EhSRU0Guatw1pU1lngV9+fnOIenz tevewYgAvqlVlRMThRcZXEM= X-Google-Smtp-Source: ABdhPJzDK8pNShHCEf24DzXMkQkggiwE16uuDvz63B68xNKahWMKRxwQEC+b5saxX1K+le0VC97hdg== X-Received: by 2002:a65:61a1:: with SMTP id i1mr9161421pgv.411.1619873301490; Sat, 01 May 2021 05:48:21 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id fa17sm7975837pjb.17.2021.05.01.05.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 May 2021 05:48:20 -0700 (PDT) References: <877dkzg9y2.fsf@nicolasgoaziou.fr> <87wnsx9rcj.fsf@nicolasgoaziou.fr> <87y2dc82ct.fsf@nicolasgoaziou.fr> <87sg3j4vbl.fsf@gmail.com> <33fd87ff1332b56114909973804df669@isnotmyreal.name> <87h7joibxc.fsf@gmail.com> <87pmycay41.fsf@gmail.com> <87h7jouiuk.fsf@nicolasgoaziou.fr> <875z03igpf.fsf@gmail.com> <87tunmskap.fsf@nicolasgoaziou.fr> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: Nicolas Goaziou Subject: Re: stability of toc links In-reply-to: <87tunmskap.fsf@nicolasgoaziou.fr> Message-ID: <87fsz6boxa.fsf@gmail.com> Date: Sat, 01 May 2021 20:48:17 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=tecosaur@gmail.com; helo=mail-pf1-x42b.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: Tim Cross , emacs-orgmode@gnu.org, Samuel Loury 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=1619873369; 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=RsICdOuNC6/XGNFTcKDmvgZQybi+LmvM4DHi8s75EuY=; b=LyUfU6lR7+Sb5vfGJmy+qWhSTUqiVgPMKzpf1E32AIW6ApuhlSFPbUC/cA9x3IKO15BlgQ QPoBhDk566Id2vi/WwGTu8q91Zo/otzNe7t8om0LC6ieBLN+y2RJvcTVE7+vXMiXYOIS6R BrGjm8Yf6dTAdXIyMsn5XzFhZUl61B+DXcc23MjObNeXscqHmP1V29ZrPBenfSQ3KeVNNm QV21dFPQrmbBq/VEPQXz+hDavDUSZHjB9Jbpw7Bf7pFXBuLCJdBZoJfCe2kysPIW3zy/Ao Kyf8iZyqsKMir0t2Uxc/4HRBGGv+PS+l+3ptKtT9iZA76eiwhVblkEMNh68CRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619873369; a=rsa-sha256; cv=none; b=YeOdpKZN8BGwOiYUtB7PiNlENha+sS8r39m8hckO+3TwOSkNgSwGhgQmcT4LTqbaoTfaAm PfSFKYSRulSeKx7aVNY5t4XNg13SNoJPQKmfxU/dNk1xJ4I91ssXHeGxOzGGvC6gfxXruc OAckdY6IXv2A/jhGF87DE1UdKLLR1x2r7eg7nVV6LciLVmvKiUcxjpMmrG4Wy7v43jr7Ph 9VgC6tOnAF80WBczqUm4uS1Z1PGCCmMdfuTY7R4CiI9LlUO0gH/xr9qFG5ETO++9gq1ynp WXKebcnBbPWiQ2V+6B7tOizD2gKg1MQkRz+s4xmvgKGSt1j0KTFJJGHSFSWfgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=i5DGOYXn; 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-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=i5DGOYXn; 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: 36DE311859 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: wHsAZNzlEv3I Nicolas Goaziou writes: > With the above in mind, I think there are two ways to "improve TOC links > stability": > > 1. Improve the system behind `org-export-get-reference', e.g., so it > behaves better during plain export. But please keep in mind that > current major properties must be preserved. > > 2. Use an hybrid system in HTML exporter, much like Texinfo's. > > Those two ways are orthogonal; both may solve the current issue > independently on the other. My gut feeling is the second way is easier > to achieve, at least on the short term. I'm not quite sure what you mean by a hybrid system, but I think generating informative references based on header content is a nice improvement that also make links much more stable. Forgive me if this is an overly simplistic quicktake. -- Timothy.