From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gKu6GdbgHGLODwAAgWs5BA (envelope-from ) for ; Mon, 28 Feb 2022 15:48:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aIqCEtbgHGLfcgEAG6o9tA (envelope-from ) for ; Mon, 28 Feb 2022 15:48:54 +0100 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 EDAEB3B72C for ; Mon, 28 Feb 2022 15:48:53 +0100 (CET) Received: from localhost ([::1]:55476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOhKX-0008GR-5D for larch@yhetil.org; Mon, 28 Feb 2022 09:48:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOhIz-0008G2-Jx for emacs-orgmode@gnu.org; Mon, 28 Feb 2022 09:47:19 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:52931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOhIx-0002CX-KW for emacs-orgmode@gnu.org; Mon, 28 Feb 2022 09:47:17 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 66005FF808; Mon, 28 Feb 2022 14:47:05 +0000 (UTC) From: Nicolas Goaziou To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Subject: Re: including one double quote in an anonymous footnote? References: <3392171.1645886022@apollo2.minshall.org> <87pmn965xv.fsf@posteo.net> <3396628.1645887607@apollo2.minshall.org> <87h78le8oj.fsf@posteo.net> Mail-Followup-To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , Greg Minshall , orgmode Date: Mon, 28 Feb 2022 15:47:05 +0100 In-Reply-To: <87h78le8oj.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Sat, 26 Feb 2022 19:20:44 +0000") Message-ID: <87lexvvyja.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.199; envelope-from=mail@nicolasgoaziou.fr; helo=relay9-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, 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: , Cc: Greg Minshall , orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646059734; 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=UVRXzSJ1IPk68c7St4JDEBGpbuGgLDkGfpAAtNIjJ2A=; b=HVNHmhwpj1ULHpzUBO3bRUf4RiRmBkQuupZjY0uDX03D6WdDORadrf2A4rKel9zj4+Le2B x6AfjFiGLnadZXlMChel2HERnc/e6GVxnoJcZisKxl9OuixDZNKQOKTumPmmASrvqKRKa3 XwLz1hP+2VwCsjywYg0kc+fZgrDc8TLMAZLS63LEc5e+UsV1pxOu4gI6TtPxE+13UQZJu3 ozYzggAE2/XeLrgqvtQHlt/T3fgC2ZBijoQU2wZKSX9quFjuAS+8isKPtZRjcknfq7atiG BLMP/U1I/3ReyPBbLg+Lk1Ti2ztyTxKrsgs5VZM34EweDgK97Xp0U8yo+ujcjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646059734; a=rsa-sha256; cv=none; b=UyActoFBWBBqN0d3KaXWYbA3BDTjwNUVkhYMPTkVduyH/k5Dva7564rCpIobvyEMAl2Jri d0grAYeyJbRDLsFJfDiVWF11IuhzCaNWiEjVppNJvOuluYVIe12SgHfzWVMjgzZGj/RS64 SjBjrmcJfpesCQSRSh45BKhCD9vMQhMNClh8Z/+ky1vLs3f8OmmhXLsZNkCAj1cPmx1JK+ aoAJfOVY5RePP/K+ttQkMaa/Ql9glwELGM9WtVa1XWWTyGXYc+jJF3OtZfy9f6BecLjsGO hcx9DQjIDrZ8tjZg2A8j/NWdhGPQte84NZx4S4YLghJH2/zVJ6FXiui9AmL0dQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -2.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: EDAEB3B72C X-Spam-Score: -2.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: WvAsTvLPCKBZ Hello, Juan Manuel Mac=C3=ADas writes: > Greg Minshall writes: > In any case, I don't know if that behavior should be considered a bug. I > say this because other constructions with an unbalanced element, > although org does not fontify them well, they are exported correctly: > > this is a test[fn::(this is an inline footnote] > > this is a test[fn::{this is an inline footnote] > > =3D=3D LaTeX =3D=3D> > > this is a test\footnote{(this is an inline footnote} > > this is a test\footnote{\{this is an inline footnote} > > Instead, if you do on your example, > org-element-context doesn't recognize this as a footnote reference: > > this is a test[fn::"this is an inline footnote] > > Looking at `org-element-footnote-reference-parser', I'd say the problem > is with: > > ... > (with-syntax-table org-element--pair-square-table > (ignore-errors (scan-lists (point) 1 0))) > ... > > If there is an unbalanced double quote inside a bracket construction, > that expression returns nil and not the position after the final > bracket. But I don't know how to go on :-(. I think I fixed it in bugfix branch. Thanks. Regards, --=20 Nicolas Goaziou