From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gKeuKamghWDhTAEAgWs5BA (envelope-from ) for ; Sun, 25 Apr 2021 19:02:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gCpJJamghWC9RAAAB5/wlQ (envelope-from ) for ; Sun, 25 Apr 2021 17:02:33 +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 F3F9222069 for ; Sun, 25 Apr 2021 19:02:32 +0200 (CEST) Received: from localhost ([::1]:45598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lai9O-000256-Pu for larch@yhetil.org; Sun, 25 Apr 2021 13:02:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lai8W-00024l-U0 for emacs-orgmode@gnu.org; Sun, 25 Apr 2021 13:01:37 -0400 Received: from msg-2.mailo.com ([213.182.54.12]:52832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lai8U-0001k3-A9 for emacs-orgmode@gnu.org; Sun, 25 Apr 2021 13:01:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=netc.fr; s=mailo; t=1619370087; bh=egyM6AWz53N4+sR6sLG2JD9Bw/lmVm+IzczdY5rWevI=; h=X-EA-Auth:From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=ALW2W/ke0vSWCPLHJPqKat9AU3MXy4V4bj8Aq2B6ZuqUYeL+C67C3hSK1nvKpMpTV 8fxbZ1LitVP6SmUeJhS54LUgWtDgA9N5ZIex9dBfONH/szPFpGdbN/ns2HIto7L18a k9dbQhWatKB/DC8dwRYm/b1wlJDaumw7oAGQhTFs= Received: by 192.168.90.11 [192.168.90.11] with ESMTP via ip-206.mailobj.net [213.182.55.206] Sun, 25 Apr 2021 19:01:26 +0200 (CEST) X-EA-Auth: yiSjpqhGTEqqstz8oQFLbMZ15RbesvD/aQfBlVU1wctamJhheEJKn01G398qmRwouBZu9W9I+Gzbj0x2+zF6wmY88pxCcUieRfC3fXbUHGM= From: Dominique Dumont To: Samuel Loury , Samuel Wales , emacs-orgmode@gnu.org Subject: Re: stability of toc links Date: Sun, 25 Apr 2021 19:01:26 +0200 Message-ID: <39516278.FqdmPJaz8P@ylum> In-Reply-To: <87pmyn8v2c.fsf@nicolasgoaziou.fr> References: <87sg3j4vbl.fsf@gmail.com> <87pmyn8v2c.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=213.182.54.12; envelope-from=dominique.dumont@netc.fr; helo=msg-2.mailo.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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619370153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature; bh=egyM6AWz53N4+sR6sLG2JD9Bw/lmVm+IzczdY5rWevI=; b=t+sBWgi9NULqbAkVQnWmKCa5Sz0oq5Dsx9tmraYS1QQxMBE+fjo/lqZ9Q5MbSv3m/Gqu6h Vbs/f3TgydbbUbLYT0eX0kVRy9HvQO2dLKBZROzG57TJI8PBaJfD3Zd4iq7yYBNCX0tYn4 XqoG+Y8sEu7ypDR8k7PtiL1WJGiK5aKaQ/MUOhTI4zJ5kJon8R3Jn1PwfMi63BWXN9GWGr nPphQzMEE65+ZCc9tbnwfHcM9ho5M7wxvY2Y2d2qm5OBtdqtjI2Et3c81GmsZDH9+a3/K6 pGQrKtUKj9DoTepz3q1Ulk3KUE9NPODdDvDpiKmiPJxKda+vFIJZ37xOFJITew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619370153; a=rsa-sha256; cv=none; b=AexWVIjIS9uUTR0DnLJ8aDJTLbhsMtv/zCuJlxzv+uG87Lf9eTmmkqxnDUpsHdLEqAZgcn aej/pTkGQDO5chCPCO/9F0t9iC2NAlhbVwtSaV7SfHXoLJ0B4K9UTDsSFzsp/Vxk9UmcFA 1OgSoOdmcYTrm811rgK1gA1cDqeJyxKpw7DFrQlStPAcezz+6fKmV4shwgLwK6xIJcqSzr m4ygwko0C4Dp9AwSfZryvJpNc3o/W+iyda9/kGdNls8NOU+BxW75RerL8LnACsgKET1S1i m6uZTXFdgu7L1SbcQGJkM7IZPveFCQSURT+QepYXAzR53owKNXEZLwu6j0Fagw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=netc.fr header.s=mailo header.b="ALW2W/ke"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=netc.fr (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: -0.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=netc.fr header.s=mailo header.b="ALW2W/ke"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=netc.fr (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: F3F9222069 X-Spam-Score: -0.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: HgEkqo7Sd4Sy On Wednesday, 21 April 2021 18:24:27 CEST Nicolas Goaziou wrote: > 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? >=20 > --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--- =46or what it's worth, DNS servers faces a similar problem where host names= can=20 contain any unicode character, but DNS servers support only ascii char. In = DNS=20 cases, this is worked around using punycode. (1)=20 Using the example above, a host named "=E3=81=93=E3=82=93=E3=81=AB=E3=81=A1= =E3=81=AF.example" is converted to=20 "xn--28j2a3ar1p.example".=20 Punycode is available in Emacs through libidn (2) HTH (1) https://dnsquery.org/punycode (2) https://www.gnu.org/software/libidn/