From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Can I wrap a Babel call inside a macro? Date: Fri, 24 Jan 2014 11:51:49 +0100 Message-ID: <86sisdtzy2.fsf@somewhere.org> References: <86ppniuxp0.fsf@somewhere.org> <87wqhpvl4e.fsf@gmail.com> <87ob31vkae.fsf@gmail.com> <861tzxvjgl.fsf@somewhere.org> <87k3dpvj0f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello Nicolas, Nicolas Goaziou wrote: > "Sebastien Vauban" writes: >>> Nicolas Goaziou 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