From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 0D9rOa2LNGaFWAAAe85BDQ:P1 (envelope-from ) for ; Fri, 03 May 2024 09:01:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0D9rOa2LNGaFWAAAe85BDQ (envelope-from ) for ; Fri, 03 May 2024 09:01:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protesilaos.com header.s=gm1 header.b=JimhyyWo; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714719661; 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=iR4MLBzwVV4nv79nIk9ozs1RjoiR9TkA2yJaB6EiZW0=; b=EUkHH5rAQ4/XcdlOAhnfbjVcAz3MC+9gpKnzkhGHgjQgjFc8BNTm90l0oShFvhjCq1RmrP QUCiSN9TB82O/XeUPQJ/eXUbude5wBZWmcP8Q7pctAAQg7VvQUeB+HeKYRR6O+joIc9tEG CicB3F342aV+EK7IO6nNXyaHV1euJTaBpm3rVLdDI/2kU2pPn8oWKpQu2M7+ZKZ/BFQbWI 4Pt0Zypw4YgJlqDs5dBsJA1iF7+71vb7gIe5AMLUbujK0dH8htWTEaWYkj2N7hd0xyd4/q FQGEXOR0lQcqWfBbPPyYgpTEgfg8X/QHfxfbT3XqY5/px32hGxuF97WQaQQJfw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protesilaos.com header.s=gm1 header.b=JimhyyWo; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714719661; a=rsa-sha256; cv=none; b=ZBWld9zNobaLfU/eM/EyqG14xVSZX02VDffkSgBRJ6baYtZO5HZipculVRRbHAyEciNYQm y54q2Qo3kPVM5KTfyHLj7KcTfBQRQC6RdLKNg9sF6oC4KVt1no20ceOFyLnqlITyMk57PL ik5g9XvndRBhlFvl9hdgjDIEIfI2HsqWGjIG3rjbMO1kkLlfHBVEzTURHwbCO/pX9VvOuP 0fQtS6BvPTPDbfN6umHMf1izKrXYSuJEJhzAiVdnuAag3w9NPxBE89yXOINHIq8Ud9q03N Hr6tamC+WRbEkHuidC0W2vGxOqqtm3AvDSPQgiIBjE/cXsHa3NAe37NfIuyd1Q== 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 C6555753EB for ; Fri, 3 May 2024 09:01:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2mte-0000BP-R7; Fri, 03 May 2024 02:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2mtR-00009s-8j for emacs-orgmode@gnu.org; Fri, 03 May 2024 02:59:41 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2mtO-0005jC-Rv for emacs-orgmode@gnu.org; Fri, 03 May 2024 02:59:40 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 30947E0010; Fri, 3 May 2024 06:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1714719571; h=from:from: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; bh=iR4MLBzwVV4nv79nIk9ozs1RjoiR9TkA2yJaB6EiZW0=; b=JimhyyWoDYAmIFO6OV8rWQwrTABxwTBm3aLY5UxA5sCpUqQ15lKdbTt2iRd7rZx8EfQCcj z51pMxx5xlmGAU/9Bv15r55HCwfa6ExmF7U4wxPGeEU4jAQXX9vxVAcCbHpJg5tDnDFQiE JrWWYyvpMwpNv7HffGeLacmlx+UzehbLj3ZRgzwZY1wkKMLuOmWhU7Xns74lNBD8aQX50W A2LMWhV1++4LuKLJ4pNMzj5YFX07dtx7frGezgqNnFA8x94TZtlkOAKMuuPDJG6kMSgdQm QrTZaMRpb1Kc8wSXnz09TFkIHIEVBUfsIgOQ97drKu590AigPeg6OwTQ4DJbVw== From: Protesilaos Stavrou To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)] In-Reply-To: References: <877chcyz36.fsf@protesilaos.com> <87o7anop4i.fsf@localhost> <87y19lfzwv.fsf@protesilaos.com> <875xwpe1c5.fsf@localhost> <875xwngiwx.fsf@protesilaos.com> <871q79cqgf.fsf@localhost> <87cyqcv9q1.fsf@protesilaos.com> <87a5lgv8qd.fsf@protesilaos.com> Date: Fri, 03 May 2024 09:59:29 +0300 Message-ID: <87jzkbcre6.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: info@protesilaos.com Received-SPF: none client-ip=2001:4b98:dc4:8::224; envelope-from=info@protesilaos.com; helo=relay4-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.40 X-Migadu-Queue-Id: C6555753EB X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.40 X-TUID: zbfVqVDCFJYd > From: Max Nikulin > Date: Fri, 26 Apr 2024 16:53:23 +0700 > > On 26/04/2024 15:17, Protesilaos Stavrou wrote: >> Since we are now using labels for the HTML export, I think it makes >> sense to optionally use those for the anchor tags as well. > [...] > >> +(defcustom org-html-footnote-use-label-for-anchor-text nil > > Another option may be to rely on the existing one: > `org-html-prefer-user-labels' Yes, sure. It is fine to reuse an existing user option. Though reading through its docstring and the code, I cannot tell what this is doing exactly. Is it applying to all HTML elements, or just headings? On my end, I have that option set to nil, but exported headings do use their CUSTOM_ID. -- Protesilaos Stavrou https://protesilaos.com