From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cAX9AH5z9F/aMwAA0tVLHw (envelope-from ) for ; Tue, 05 Jan 2021 14:11:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sJCVOH1z9F90PwAAB5/wlQ (envelope-from ) for ; Tue, 05 Jan 2021 14:11:09 +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 48E9F9404D3 for ; Tue, 5 Jan 2021 14:11:09 +0000 (UTC) Received: from localhost ([::1]:48174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwn3E-0002S2-33 for larch@yhetil.org; Tue, 05 Jan 2021 09:11:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwn2e-0002Qg-Iz for emacs-orgmode@gnu.org; Tue, 05 Jan 2021 09:10:32 -0500 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:43599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwn2Z-0005vG-1F for emacs-orgmode@gnu.org; Tue, 05 Jan 2021 09:10:32 -0500 Received: by mail-lf1-x12c.google.com with SMTP id 23so72773522lfg.10 for ; Tue, 05 Jan 2021 06:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smartpm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Fc7aue+Z1h7mL68Uu9iLq5wDcFVgalPAjxomJc/HOlk=; b=Uhqpimk9K0zkGQ+wJn6jIFpX4uvsVoLeIdG+sk9ughxxGwjl2bAfMe2QPhMxPgEWgA iHQBSHLXA/Vsj/A0UnpvVLbMvjQKvyATJU2xnvWOhAedvLYIaoOAqip5q+WDdj9EkJfe Zi+q28dnlPVFdaGdCpdfnPCUMIIN9fGBYedQ2x34yFTfPaHTc5RODCdH6oIixNjFuJth VGW3jqHXY1KyRbIXh1mwB95QxbDggKuPUrYxN1r9MYH3ZfagASg/zpF39Rq7e6cwvXaV gbzTAV+QTuNES47kfUk49lizXKmf7pPj/w0gz8ahDx37d3HiKVVD2AYoOWkfkkoGZHKu 4Rbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Fc7aue+Z1h7mL68Uu9iLq5wDcFVgalPAjxomJc/HOlk=; b=dufRVdpUjBOR7+tXUftSHYfNmw5Vm50bsFBMfEAXTy8mbUm1IAMcyECbvnj8XdES5C r3J7IquF4jg6B/nN9eU8+yHrwipqY0wZULpvTUyshvfYJ8kenE+b0gG2Xgme00qXWaOB M2CmQCPYZ2/8dML5EzkardJM/QhKzCk9NXq5L7MLpOywJRdogeA62KHj3Y6ayFKuzJS3 GwxT0ixQu+uU97d77BonowIDlze5Yivvq1vHyxhg5v6Cb1kO4keKkRFwQJKDKINqRPCP lMCc36YIDh9cXKa1l4Z/dCcQ4tocpF0LAiDaCEQJ+Ek4CK4bQw3/0AvhPDDS0CkM2YDZ PX3g== X-Gm-Message-State: AOAM5335MXYv3LYUAxiJ4pYnaILBHvTCrVhT2L5OrDtMm6HeOyPu2PJi GwravfrxVng/DsDcsIpvX51+3Rdj4ZcGcm2u+CSRv+CqamS7Cw== X-Google-Smtp-Source: ABdhPJxcc21xR7GRhQcdNWNo95NIgbXsEVZg9Of/hx2qEZAqMKoxeEM2nXgY9svRdf7vGeecessqhL1XGaVFW3Kac2Y= X-Received: by 2002:a19:657:: with SMTP id 84mr32538520lfg.470.1609855823957; Tue, 05 Jan 2021 06:10:23 -0800 (PST) MIME-Version: 1.0 From: "Dauer, Michael" Date: Tue, 5 Jan 2021 15:10:13 +0100 Message-ID: Subject: bug with macro expansion after underscore (subscript) To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000086e96305b827c474" Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=michael.dauer@smartpm.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=smartpm-com.20150623.gappssmtp.com header.s=20150623 header.b=Uhqpimk9; 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: 48E9F9404D3 X-Spam-Score: -2.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: jmlqJ7KU5P86 --00000000000086e96305b827c474 Content-Type: text/plain; charset="UTF-8" Hi, I cannot expand a macro after underscore, as the following sample shows in detail: #+macro: xxx A * macro bug _{{{xxx}}} a _{{{xxx}}} a_{{{xxx}}} a^{{{xxx}}} a{{{xxx}}} a_A generates: _A a _A a_{{{xxx}}} a^{{{xxx}}} aA a_A thx m --00000000000086e96305b827c474 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I cannot expand a macro after under= score, as the following sample shows in detail:

#+= macro: xxx A
* macro bug
_{{{xxx}}}
a _{{{xxx}}}
a_{{{xxx}}}a^{{{xxx}}}
a{{{xxx}}}
a_A

generates:

_A
a _A
a_{{{xxx}}}
a^{{{xxx}}}
aA
a= _A

thx
m

--00000000000086e96305b827c474--