[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] cautionary tale: avoid creating/using a macro called "title"
From: |
Eric S Fraga |
Subject: |
[O] cautionary tale: avoid creating/using a macro called "title" |
Date: |
Wed, 14 Mar 2018 17:37:36 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Dear all,
I have, until now, used a macro
#+macro title The title of the document
to be subsequently used in the actual #+title line, as in
#+title: @@latex:...@@ {{{title}}} @@latex:...@@
(LaTeX details not important, I think.)
but this now leads to a recursive evaluation of the line when exporting,
causing an infinite loop.
Changing the name of the macro to something else avoids the issue. I'm
not entirely sure why a macro expansion of the #+title line would be
recursive but there you are!
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc.dirty
signature.asc
Description: PGP signature
- [O] cautionary tale: avoid creating/using a macro called "title",
Eric S Fraga <=
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Bastien, 2018/03/20
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Eric S Fraga, 2018/03/21
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Bastien, 2018/03/22
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Eric S Fraga, 2018/03/22
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Eric S Fraga, 2018/03/22
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Bastien, 2018/03/22
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Eric S Fraga, 2018/03/22
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Kaushal Modi, 2018/03/22
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Eric S Fraga, 2018/03/22
- Re: [O] cautionary tale: avoid creating/using a macro called "title", Nicolas Goaziou, 2018/03/22