From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CMMHFMKtu2WnLwEA62LTzQ:P1 (envelope-from ) for ; Thu, 01 Feb 2024 15:42:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CMMHFMKtu2WnLwEA62LTzQ (envelope-from ) for ; Thu, 01 Feb 2024 15:42:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="ge0ifHP/"; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706798530; 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=zg/wz0pvFOA96l9kMdXOJw3xiufmtoC6euf25IAxTXM=; b=BybbgqmvnGjullyC04N/q9CTF+RsG2QyeNfqiNmebU7fOo/pMzVOzWZW+/HjJGHiKI+uhA /hetlFaotTfCoQfj4l6gjcDiCOm4duZS2JitqNIlySqqVsh8WNgvHcpgwEZuGMabH45SAH NWOpxCiqQiayPGjdGhKNJ6zbCQWrZThe+UJVdHb+er8lJByCrY6+b3rcDFcOdvS79CPmQC PJ3KVLYNMzyLrRmpWErz99/pzg/Zmbh+d3RXMbQl3ZPu+PyQhSdaK1gLNWY7VuWqXZ5VNL bssXVbc7pq074pqjuE8EUrJqOAZtI1xhVxv7H5Bm6mfV2JGuDxSaDYXiTZhy2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="ge0ifHP/"; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706798530; a=rsa-sha256; cv=none; b=XGmwXyCsfNfYwhlDJ+psA8rLtwEDFxpurMUIUZpriem42gFnQKHr4WX04PH/Mw4tmiKy7J oPVZSA3OV+PmSBOVF7g9/S7hOJFnIdNEDXFrH+wwkyJmznYkn11doIMd96qgy66TLvlJ/K Szmu5fYiH4CwBeyijGmhreHKDXZ1pYD7LcbkW/w1Y5HVEOhm+vnqbO2DIhWepr5ys9Wqpc SCf3BQbWwfkWAGGNgdgJzx/bMZ708VrCdAE7S6Mc8ahFIQPeTnuFcaIQr9p5djE1VsLCX0 LFMTsBE/KRC97pFtR7gJvACX7+N5BTeTwCxQ4xuSbQEZc+w7lxWu/9AQfwj1sg== 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 82D556BF10 for ; Thu, 1 Feb 2024 15:42:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVYFi-0004CA-8s; Thu, 01 Feb 2024 09:41:20 -0500 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 1rVYFb-0004BB-WD for emacs-orgmode@gnu.org; Thu, 01 Feb 2024 09:41:13 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVYFZ-00067I-PH for emacs-orgmode@gnu.org; Thu, 01 Feb 2024 09:41:11 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0982B240103 for ; Thu, 1 Feb 2024 15:41:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706798466; bh=44wsYKuL3MwjcCDt320vGmcbWXu70V69aBTRgWL9ddw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=ge0ifHP/EcZLP6+hqEgciK6m1yMFVlUgZyPipqauzZ++vO4pD6gwWYfzqejHiATBE 4giQNZY3lsHt6uwDU8Lpz+9engYO5mlh6RfYPSH+SiRojaCliQ1Ft9dqAmJNVziBox AP3rP4HZ1NOdj77wrr5JRSRMyx39zFPfrud/ZdgduJWa2FtVvch37AlX0gxDLD3Iry xeUaeW70YHHDWiytHzF67dOmQsEFzw5TOlHxDHHci6OUhacrqfyNyYejkOU8rc84PY Rq06yTfct+7mKJheNkRorTarTbzrqMz/4br1JJeOh2dFiiITfk9izCBoSerLdCyu+s w7okp45FAWDpg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TQhRP13Gwz6txq; Thu, 1 Feb 2024 15:41:04 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc) (was: [BUG] Footnotes in section titles) In-Reply-To: References: <87sf2ngcd2.fsf@localhost> <691643eb-49d0-45c3-ab7f-a1edbd093bef@gmail.com> <878r4e4uy0.fsf@posteo.net> <87h6j2vjd0.fsf@yandex.com> <874jf24u3r.fsf@posteo.net> <875xzgfe8b.fsf@localhost> Date: Thu, 01 Feb 2024 14:44:36 +0000 Message-ID: <87le84i6qz.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.73 X-Migadu-Queue-Id: 82D556BF10 X-Spam-Score: -8.73 X-Migadu-Scanner: mx11.migadu.com X-TUID: Hww/GJvphdnR Max Nikulin writes: > On 26/01/2024 19:53, Ihor Radchenko wrote: >> So, I am leaning towards reverting that commit - that will allow things >> like >> >> #+TITLE: This is a test title[fn::This is test] > > I hope, document metadata will be generated with stripped footnotes. This is a good point. For now, [fn::This is test], when passed to exporters, is simply treated as plain text. If we change the parser nesting rules, Org will pass footnote-reference objects instead. Then, in a number of parsers, if something like (org-export-data (plist-get info :title) info) or (org-export-data author info) is used, footnotes may break export because metadata fields often have special rules about markup that is allowed inside. In particular, ox-odt will be broken; ox-latex will be broken. Of course, we can adjust built-in backends to take into account the new parsing rules, but we have no control over the third-party backends. On the other hand, when user exports something like #+AUTHOR: John Doe[fn::935 Pennsylvania Avenue, NW Washington, D.C. 20535-0001] it is probably not exported as expected anyway. So, changing things from unexpected export to failing export may not be a critical regression. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at