From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: :EXPORT_FILE_NAME: containing a date-stamp Date: Wed, 7 Feb 2018 17:05:42 +0000 Message-ID: <990C9C49-F7EB-42F6-B925-A1E299B4F1F9@ucsd.edu> References: <2018-02-07T16-21-12@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejTAO-0005vG-RB for emacs-orgmode@gnu.org; Wed, 07 Feb 2018 12:05:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejTAJ-0007fI-SY for emacs-orgmode@gnu.org; Wed, 07 Feb 2018 12:05:52 -0500 Received: from iport-acv9-out.ucsd.edu ([132.239.0.167]:29813) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejTAJ-0007eX-CE for emacs-orgmode@gnu.org; Wed, 07 Feb 2018 12:05:47 -0500 In-Reply-To: <2018-02-07T16-21-12@devnull.Karl-Voit.at> Content-Language: en-US Content-ID: <6CB8B3FB16929541A380D57CA342FAF6@AD.UCSD.EDU> 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" To: Karl Voit Cc: "emacs-orgmode@gnu.org" > On Feb 7, 2018, at 7:31 AM, Karl Voit wrote: >=20 > What I want to achieve: >=20 > *** My Report > :PROPERTIES: > :EXPORT_FILE_NAME: (format-time-string "%Y-%m-%d") Project Status.html > :END: >=20 > ... which results in the file: "2018-02-07 Project Status.html" Use an `eval' macro. In a more recent version than you use, this works: * abc :PROPERTIES: :EXPORT_TITLE: {{{etitle(my title)}}} :END: #+macro: etitle (eval (concat (format-time-string "%Y-%m-%d") " " $1)) ... You might need to quote the `$1'. The quoting convention was changed recent= ly. HTH, Chuck=