From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uOmdMwFSgGAxmgAAgWs5BA (envelope-from ) for ; Wed, 21 Apr 2021 18:25:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iM0+LwFSgGD0KQAAbx9fmQ (envelope-from ) for ; Wed, 21 Apr 2021 16:25:37 +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 38BE31AA03 for ; Wed, 21 Apr 2021 18:25:37 +0200 (CEST) Received: from localhost ([::1]:44056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZFfT-0003Dh-Og for larch@yhetil.org; Wed, 21 Apr 2021 12:25:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZFeV-0003DO-ME for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 12:24:35 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:59527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZFeT-0002Sl-9l for emacs-orgmode@gnu.org; Wed, 21 Apr 2021 12:24:35 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 754776000F; Wed, 21 Apr 2021 16:24:28 +0000 (UTC) From: Nicolas Goaziou To: Samuel Loury Subject: Re: stability of toc links References: <877dkzg9y2.fsf@nicolasgoaziou.fr> <87wnsx9rcj.fsf@nicolasgoaziou.fr> <87y2dc82ct.fsf@nicolasgoaziou.fr> <87sg3j4vbl.fsf@gmail.com> Mail-Followup-To: Samuel Loury , Samuel Wales , emacs-orgmode@gnu.org Date: Wed, 21 Apr 2021 18:24:27 +0200 In-Reply-To: <87sg3j4vbl.fsf@gmail.com> (Samuel Loury's message of "Wed, 21 Apr 2021 15:32:30 +0200") Message-ID: <87pmyn8v2c.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.195; envelope-from=mail@nicolasgoaziou.fr; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=1619022337; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=pbK6aaz6sUUlIPC11jDML9P+0BVL2EasMwWg9YftyQQ=; b=nU5elXLJ1dwA6fv/IVlnpQbS8bxlEQB/R26ginJhdGNVKM8luOB5ymUSVAivQRgd3g/iN4 TVclyGwAkBhO4Jg8k8rtvS+R6D2PWMLeyF721j+LQTP/hnfHwK8e6XpFIzAl0LkU/TnfOQ ZKZWaeE9UyoHn45ovqsRWf2ekOaKLvtEHuRDmtGvSzE4d63/HZZacYNq6/tI3+stvbdavU 0JUXF1YaeoeWlnzjFdDAQZPolawegf1I0fXfFUJRRZF0EqMdtWhhgY1E/ToIcp69Jr7Tvt yd53KeUT0RZ+gXo7IsRC63OHg07oifnBqgRlKtI4GTN9PJsU6EEtYPIB02MyLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619022337; a=rsa-sha256; cv=none; b=rnIPa7k32AELGTTe6o76Atcn/dGblWOiIfxgOuIwuI7H1R9yJDTS4TgSSVg3PhVoLTfaYM cJ1B7y9yG8qtRdkk2wkTX6ktZkTHVBzvnVQ92h7cxz1JfXdh19gQAVbQVXqXfVykURDGYp dHHos68MWEVtC3eofuQluF85KARV/uU5YPNoslAv58S0/5Q9TxmIpAGQ+9S5QZZK/XTC6W QPuejNf5Yr1XNfAdXVmCqOHc5N/T0RHOkcIksCpCATUvA24178ID4mArJ/U1gi8TBlFkOe i6LNUwqRxShT9tvWRUdTJqMtqgs0Qzyl4dyLNvOQ1aRc5w/S8c+wYL3O5d95hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 38BE31AA03 X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: Cf6zemRYTfnP Hello, > The solution of tec=C2=B9 appears to be a new generation of the html ids = based > on the heading content rather than apparently randomly generated, making > the generated link become the same across new generations. AFAICT, the link you send only contains code, not explanations nor design. In particular, I'm not sure to understand how one system can generate an ID based on the heading content and still limit itself to alphanumeric characters. For example, what ID are generated with the following document? --8<---------------cut here---------------start------------->8--- * =E3=81=93=E3=82=93=E3=81=AB=E3=81=A1=E3=81=AF * =EF=BD=BA=EF=BE=9D=EF=BE=86=EF=BE=81=EF=BE=8A --8<---------------cut here---------------end--------------->8--- Also, does the ID stay stable if you start the following document --8<---------------cut here---------------start------------->8--- * A :PROPERTIES: :CUSTOM_ID: =E3=81=93=E3=82=93=E3=81=AB=E3=81=A1=E3=81=AF :END: --8<---------------cut here---------------end--------------->8--- and then edit it to become: --8<---------------cut here---------------start------------->8--- * B :PROPERTIES: :CUSTOM_ID: =E3=81=93=E3=82=93=E3=81=AB=E3=81=A1=E3=81=AF :END: --8<---------------cut here---------------end--------------->8--- I hear about stability of links, which is a detail of implementation. We current only cache, and freeze, ID actually being referred to, but that could be extended. I'd link to make sure everyone understands the problems that the current implementation is trying to solve before throwing it out of the window. Regards, --=20 Nicolas Goaziou