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 uK+LB+zOul/3NgAA0tVLHw (envelope-from ) for ; Sun, 22 Nov 2020 20:49:48 +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 yD5pA+zOul9AZwAAB5/wlQ (envelope-from ) for ; Sun, 22 Nov 2020 20:49:48 +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 B722A94043A for ; Sun, 22 Nov 2020 20:49:47 +0000 (UTC) Received: from localhost ([::1]:35690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgwIs-00062J-C0 for larch@yhetil.org; Sun, 22 Nov 2020 15:49:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgwIV-00062C-PV for emacs-orgmode@gnu.org; Sun, 22 Nov 2020 15:49:23 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:57601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgwIT-0003X0-Ua for emacs-orgmode@gnu.org; Sun, 22 Nov 2020 15:49:23 -0500 Received: from localhost.localdomain (82-65-23-85.subs.proxad.net [82.65.23.85]) (Authenticated sender: bruno@boulgour.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 53420200002; Sun, 22 Nov 2020 20:49:17 +0000 (UTC) Date: Sun, 22 Nov 2020 21:49:15 +0100 From: Bruno BEAUFILS To: Tim Cross Subject: Re: looking for a macro eval workaround (9.1 vs 9.2 and +) for export backend test Message-ID: <20201122204915.gpwtqjyrellc2k4m@localhost.localdomain> References: <20201121105633.kgwzxc2l6oo5yeau@localhost.localdomain> <87pn46hmr4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yo5kvio3ir7iapzb" Content-Disposition: inline In-Reply-To: <87pn46hmr4.fsf@gmail.com> Received-SPF: none client-ip=217.70.178.232; envelope-from=bruno@boulgour.com; helo=relay12.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_NONE=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: Bruno BEAUFILS , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu 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-Spam-Score: -3.11 X-TUID: eM5zBKnHdXMc --yo5kvio3ir7iapzb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 22, 2020 at 12:18:07AM +1100, Tim Cross wrote: > Hmm, I just use backend specific blocks for this purpose. e.g. >=20 > #+begin_export latex > \hfil{} > #+end_export Yes but it is what I try to avoid in order to let the file as simple and readable as possible. > IMO the org #+MACRO is really just a text substitution mechanism (like > C), not a 'real' macro (like elisp has) and as is the case with C, you > really need to keep them pretty simple. Once you start using them to > evaluate code, it isn't hard to find yourself in a mine field. I agree but as the possibility was offered I used it ;-) The only trouble is that this eval feature changed in a hard way between 9.1 and 9.2. --=20 Bruno BEAUFILS --yo5kvio3ir7iapzb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEBBABrHgyEtoGKdzdSG8gcoPQLaAFAl+6zssACgkQSG8gcoPQ LaBXqA//ZtJQGmXKZIQodcIndfl+vmmXqCa3ODqXxEAKj2PdVMtgokG89q+a80R+ 9f24eGnIQMEyb47UltfXyh3vuCZgJYucNWY1TxzbROgDOmLuqKkUqASDjSRWDAfR e/V0CQ4MBduCWW4vHEZew0zVRCCucoU3TRQA+tEsCGWyvtFuemjLAiPfLg1W69C6 gGLNK/KIgrvlTNuZECmYbP5SCHWWvjJ17rD4qgL0nUSkGz8whyx51kiR1TB9URYd lRShnJE4+MiWA8Aww0Ap1GVCBC8QqQRTf+KhxD34RF/t8EYfMCzZR7uIfzr0mVrg 5AFSFLP4G7WVwXDn5xkHJBVkgp/dGnSyq+EvJ8g7LkG5WIYSKpf41uF1VIkqbVGf jnWLAiUTcfmosa2/M5MS8cBZnRxbZhtt4dIS/IsAiDT9cMcWvJT4ov/TgugsHdLj RRTGggDUr/07/ug8EZs12Si7rZJvntGn+Tna6oO+gXQ9ruwzIdyY0p7IRhyfDdam Ay4l01KMl1/wmJvAzskcAa6qXRfR5wargfOCnfSWTSSWAXcz1Hit+3TSnfjNlVPF 5aqm6lDYZ5CVDwfd0dY6Xu1+Q3Mz7Gy7yk41e8iVo1Vf3Tfu0qKU2T8PpVynWGVA h7idagRwcWmJYVCRV0suLrWcEiLHUn/MGBbO+UVnS+awRVq9y2w= =5Fiw -----END PGP SIGNATURE----- --yo5kvio3ir7iapzb--