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 6OnROAroZWAn6AAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 17:34:34 +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 4LKyMgroZWC1DAAAB5/wlQ (envelope-from ) for ; Thu, 01 Apr 2021 15:34:34 +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 66F4C27D82 for ; Thu, 1 Apr 2021 17:34:34 +0200 (CEST) Received: from localhost ([::1]:37420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRzL6-0003CE-Uc for larch@yhetil.org; Thu, 01 Apr 2021 11:34:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRzKE-00038r-Ri for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 11:33:40 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:33645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRzKC-0004cz-Ia for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 11:33:38 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id C8E28FF803; Thu, 1 Apr 2021 15:33:33 +0000 (UTC) From: Nicolas Goaziou To: "Dauer, Michael" Subject: Re: bug with macro expansion after underscore (subscript) References: Mail-Followup-To: "Dauer, Michael" , emacs-orgmode@gnu.org Date: Thu, 01 Apr 2021 17:33:32 +0200 In-Reply-To: (Michael Dauer's message of "Tue, 5 Jan 2021 15:10:13 +0100") Message-ID: <87blayhveb.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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, RCVD_IN_MSPIKE_H2=-0.001, 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: , Cc: emacs-orgmode@gnu.org 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=1617291274; 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; bh=mk0ZvZiE7y4gmUbOli7Ye5YjfAtPqsEKGUpF6eFD/MA=; b=hGaCwYc4oYQt/n+nmMh43S1MiNa0S7wQaW3/162NzZuI4sDpxq+GTTk/s9+ddBrRllLsUd 1xYRHrOQk0EWVAQ+hHzwpzr9LU8rA/lYJThCh61MGZlP1m/aWELREuGHPn4B575mcUVDTe NVFUpTuKktlF0vOyLM6ESMzvLeDVTuFnUmk3oP4DDl1xLoy8y/kxCEEECL1PyIQ1kw5Ypr BaXz4FOLxv5e1jtKOWkF7W61NgV5Gq83EmjIa8yPAnEtBOIZ09IEeUJ6+XYz+LfuOwEYhf FRQsw2eUBgpYZ+B779NjOdQUlxOm2zxf2D3xLv9m7HIZv/3T3/vgEqrGzbhunA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617291274; a=rsa-sha256; cv=none; b=JcnvMP9Y0EZjAON5doyPLNO7LNbQfHV4Oom0Pe9GDx4pgGKapjva07HvHnxVWlNJmcNFeD uBL2zxZLLKdkVOR/0lmbIw+zEiynAEjA0HhhmyfJ9A02rBc55QfSrj00rU9NvdiDeYA6GH wlGVsJP6K0zqQvcS5KBxA2qGq5p5eIh3i2LTRNlbyCJVSFnDlFPJ89laqCQ4hBZntei9ik sS/ytq34JG0AVa+7MaVdaDSpDgdCTDclZ8SnmFH4BloLXVOca96NBgHDX3TMKNHCpUIbhL LTUWDPAHVld/oMTiqak2gwlOs9YOCHc6oj9z+pGuTJhl1E26PcSFOh5Cf1bQaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 66F4C27D82 X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: hnJDrs9Z1j25 Hello, "Dauer, Michael" writes: > I cannot expand a macro after underscore, as the following sample shows in > detail: > > #+macro: xxx A > * macro bug > a _{{{xxx}}} > a_{{{xxx}}} The first pair of braces belongs to the sup/superscript syntax, as in a_{foo}. IOW, you need a fourth pair of braces in this case. Regards, -- Nicolas Goaziou