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 WP7bLP99GmIbPgAAgWs5BA (envelope-from ) for ; Sat, 26 Feb 2022 20:22:39 +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 kJx7Jf99GmKuowAAG6o9tA (envelope-from ) for ; Sat, 26 Feb 2022 20:22:39 +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 24BED3D037 for ; Sat, 26 Feb 2022 20:22:39 +0100 (CET) Received: from localhost ([::1]:33642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nO2eH-0006S4-JQ for larch@yhetil.org; Sat, 26 Feb 2022 14:22:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nO2cj-0006Rj-By for emacs-orgmode@gnu.org; Sat, 26 Feb 2022 14:20:57 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41263) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nO2cd-0000cj-Jk for emacs-orgmode@gnu.org; Sat, 26 Feb 2022 14:20:56 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B90DB240027 for ; Sat, 26 Feb 2022 20:20:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1645903247; bh=1O+9zxNzWCwrzv5WYLIAvwHOVaiLxSZGtjq0xK+2DPk=; h=From:To:Cc:Subject:Date:From; b=etNf4ArVs3eAniiJbzTZBCkneoLA61G3UJ3tjtPrbenYNwBsnTAOXAQuYNv17gkLl FMebIU1EPW5gcdhFsTxsWzSp9tSc6ZGSLzunCkXKj/0JeQn/+fwGccpZD/RBkl4Fs6 BmiStK0YedOIJVbHKJMmWd9qO3N+t1RGPX2RkaP8W7qtIrHgkwExXbwqqqoGuGpfAD Wi1OKKWDsU8GDa8+cZG8eptvYhDRRH8OnXdRrU5AW04JuyTvNwpnkKEn8knl0iV/0f nvOfqqW1CHkWqskmey6ykXKzJ6/G0xwJnrUfWqzUom0XrWCjzjooL24CrSST6EIeCg qxBhMlM8191GA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4K5c1V6jGwz9rxM; Sat, 26 Feb 2022 20:20:46 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Greg Minshall 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> Date: Sat, 26 Feb 2022 19:20:44 +0000 In-Reply-To: <3396628.1645887607@apollo2.minshall.org> (Greg Minshall's message of "Sat, 26 Feb 2022 07:00:07 -0800") Message-ID: <87h78le8oj.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=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: , Cc: 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=1645903359; 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=G1Om7ty0oD7X+WURZ1ZaoLsYmrNrotxqAmSBt6p5/l0=; b=GlR6NiJWX8ur2GvtkgPCo0Zu8Y+jGa7gVIRnP18MWVnuWV0ctTQDL35tm/8eOaN2eFnPVK B1sqBOMUbR18MYKGi0G2pPSuR/TgEXs80af4tenpdnVVVXE3xIbZGxuzqfQYxq5XDhenwh dAnL6qw/rQ4b0veWMWFRoTYzxos+IU4TDnwcZWvclh0AgFnY0V4g9gHrrQAm9oGZzRWEtN oqURr95BREHmM3DMFVaDiwlYKfITUJ0VVG2nripMboL8ImO2yHH5UDrSwxOzpl61V2Czg+ 9fYo9+AIJfooUgzZojsxiDezTYFgtGdoyVbFyUtyQrUbWVKNaPghmN+n13HNHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645903359; a=rsa-sha256; cv=none; b=iuWKwtjgnlbqrSEoDPYWS4/4EUEEM9UjsLbXMYaskV4ldEMSqx9xafEJ70l3lD0lXmeK/B OqmHS4P7NcFSxy8ovoTJA/O1uwQZkODI77GeoIoqqPY1L9nLHhA1KMtrtLcVfS2helfTjK /U+BfHRd1ZJfWkgl2Y04D7JcM9OQfvEJcGDuLGi9P2as1B6CGEyTgKRT+KOvFj4AzXP+l6 LDzORgdOqadpHEkg3RYdu1IUtqaUHpyUno/Fg3SX7nOITpfzNtbZXR14cbzBMYFpdL2WFS gCgovXacf3haQQV+pt1RL4R4p/61Wsffe5DlzX/pS7Qpf9iLkfbpr+4HakL3XA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=etNf4ArV; dmarc=pass (policy=none) header.from=posteo.net; 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: -5.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=etNf4ArV; dmarc=pass (policy=none) header.from=posteo.net; 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: 24BED3D037 X-Spam-Score: -5.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: m2PqdAHvF/v8 Greg Minshall writes: > Juan Manuel, > >> I can confirm that behavior. One possible solution is to use an entity >> (M-x org-entities-help): > > thanks very much -- that does the trick for my case. 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] == LaTeX ==> 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 :-(. Best regards, Juan Manuel