emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [bug] Macro expansion not recursive


From: Sebastien Vauban
Subject: [O] [bug] Macro expansion not recursive
Date: Thu, 30 Jan 2014 12:32:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hello,

It was said that "Macro expansion is already recursive: the template can
be another macro."  Though, my example does not work: the second macro
call is exported almost "verbatim".

--8<---------------cut here---------------start------------->8---
#+MACRO: highlight @@html:<span style="background-color: $1;">$2</span>@@
#+MACRO: hl {{{highlight(#FFFF00,$1}}}

{{{highlight(yellow,This is important!)}}}

{{{hl(This is important!)}}}
--8<---------------cut here---------------end--------------->8---

Am I missing something?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]