Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-08-05 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: >> I'd welcome some improvement of the manual wrt macros -- any taker? > > Before documenting anything, we should first define them clearly. FWIW, I don't forget this important thread. Let's revive it after the release of Org 7.9, when we will think of movin

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-07-06 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > Hi Nicolas, > > Nicolas Goaziou wrote: >> Bastien writes: >>> François Pinard writes: If macros are there to stay in Org, it might be worth documenting a more complete specification about how to define and use them. >>> >>> I'd welcome some impro

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-07-05 Thread Sebastien Vauban
Hi Nicolas, Nicolas Goaziou wrote: > Bastien writes: >> François Pinard writes: >>> If macros are there to stay in Org, it might be worth documenting a more >>> complete specification about how to define and use them. >> >> I'd welcome some improvement of the manual wrt macros -- any taker? > >

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-07-05 Thread Nicolas Goaziou
Hello, Bastien writes: > François Pinard writes: > >> If macros are there to stay in Org, it might be worth documenting a more >> complete specification about how to define and use them. > > I'd welcome some improvement of the manual wrt macros -- any taker? Before documenting anything, we sho

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-07-05 Thread Bastien
Hi, François Pinard writes: > If macros are there to stay in Org, it might be worth documenting a more > complete specification about how to define and use them. I'd welcome some improvement of the manual wrt macros -- any taker? Thanks, -- Bastien

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-05-22 Thread Bastien
Hi François, François Pinard writes: > This (partly) replies to the message I sent a few minutes ago. Before > sending that message, I checked in the Org manual, and the manual is > silent about the possibility of such escaping. > > The manual is also silent about nesting, which has been mentio

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-05-20 Thread Nicolas Goaziou
Hello, Yagnesh Raghava Yakkala writes: > Nicolas Goaziou writes: >> #+TITLE: Macro test >> #+MACRO: test2 recursive $1 >> #+MACRO: test A {{{test2(inner)}}} macro, $1. >> #+MACRO: html-builder (eval (+ $1 $2)) >> >> >> {{{test(and an outer one)}}} >> >> Some complex macro {{{html-builder(1,2)}}

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-05-20 Thread Yagnesh Raghava Yakkala
Hello Nicolas, Nicolas Goaziou writes: > #+TITLE: Macro test > #+MACRO: test2 recursive $1 > #+MACRO: test A {{{test2(inner)}}} macro, $1. > #+MACRO: html-builder (eval (+ $1 $2)) > > > {{{test(and an outer one)}}} > > Some complex macro {{{html-builder(1,2)}}}. out of curiosity I tried to exp

Re: [O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-05-20 Thread Nicolas Goaziou
Hello, François Pinard writes: > The examples in the manual do not hint either about whether newlines > are allowed or not in macro arguments. They are not. > In fact, the manual section "Macro replacement" says very little, so > when I initially read it, I guessed that macros are only usable

[O] Macros [was: Re: ATTR_HTML for a clickable image, howto?]

2012-05-19 Thread François Pinard
Christian Moe writes: > There are other drawbacks [to macros], such as needing to > backslash-escape any commas (as in the above example). Oh, thanks! This (partly) replies to the message I sent a few minutes ago. Before sending that message, I checked in the Org manual, and the manual is sile