From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Can I wrap a Babel call inside a macro? Date: Fri, 24 Jan 2014 10:14:40 +0100 Message-ID: <87k3dpvj0f.fsf@gmail.com> References: <86ppniuxp0.fsf@somewhere.org> <87wqhpvl4e.fsf@gmail.com> <87ob31vkae.fsf@gmail.com> <861tzxvjgl.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6cqZ-0004o0-15 for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 04:14:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6cqS-0002b7-3G for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 04:14:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:44559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6cqR-0002b1-Rn for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 04:14:36 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W6cqP-0004xl-LA for emacs-orgmode@gnu.org; Fri, 24 Jan 2014 10:14:33 +0100 In-Reply-To: <861tzxvjgl.fsf@somewhere.org> (Sebastien Vauban's message of "Fri, 24 Jan 2014 10:04:58 +0100") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org "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. Regards, -- Nicolas Goaziou