emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Can I wrap a Babel call inside a macro?


From: Sebastien Vauban
Subject: Re: [O] Can I wrap a Babel call inside a macro?
Date: Fri, 24 Jan 2014 11:51:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hello Nicolas,

Nicolas Goaziou wrote:
> "Sebastien Vauban" writes:
>>> Nicolas Goaziou <address@hidden> writes:
>>>
>>>>> The current date and time is:
>>>>> {{{ct}}}.
>>>
>>> BTW, the period seems dubious here.
>>
>> What do you mean?  That, because the macro will ultimately make a Babel
>> call, it can't be inserted inline in some text, right?
>
> Correct. After macro expansion, this will become:
>
>   #+CALL: current-time().
>
> which isn't valid Babel syntax, AFAIK.

OK. New tests confirm that, definitively.

So, when you said it worked for you, it wasn't with the exact same ECM,
then. Case closed. Thanks!

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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