emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stability of toc links


From: Nicolas Goaziou
Subject: Re: stability of toc links
Date: Wed, 21 Apr 2021 18:24:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hello,

> The solution of tec¹ 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---
* こんにちは
* コンニチハ
--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: こんにちは
:END:
--8<---------------cut here---------------end--------------->8---

and then edit it to become:

--8<---------------cut here---------------start------------->8---
* B
:PROPERTIES:
:CUSTOM_ID: こんにちは
: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,
-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]