From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dieter Wilhelm Subject: Re: org-html-postamble-format and #+DATE: specification in 8.0pre Date: Sat, 06 Apr 2013 13:20:28 +0200 Message-ID: <87zjxbykg3.fsf@duenenhof-wilhelm.de> References: <87y5d6z46f.fsf@duenenhof-wilhelm.de> <87hajnzagn.fsf@gmail.com> <87zjxem10m.fsf@duenenhof-wilhelm.de> <87d2u8x1hh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UORB1-0004Tu-Su for emacs-orgmode@gnu.org; Sat, 06 Apr 2013 07:21:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UORAs-0000YQ-Q3 for emacs-orgmode@gnu.org; Sat, 06 Apr 2013 07:20:55 -0400 Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:38004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UORAs-0000YH-IQ for emacs-orgmode@gnu.org; Sat, 06 Apr 2013 07:20:46 -0400 Received: by mail-ea0-f170.google.com with SMTP id a15so1608224eae.15 for ; Sat, 06 Apr 2013 04:20:45 -0700 (PDT) In-Reply-To: <87d2u8x1hh.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 05 Apr 2013 20:43:06 +0200") 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: Nicolas Goaziou Cc: Alan Schmitt , emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > >> Sorry I don't get it completely.=20=20 >> I'd like to have as the DATE value the current change time of the file. >> You mean that I should set this with the Emacs timestamp facility? Like: > >> #+DATE: Time-stamp: " " > > If you're exporting a buffer associated to a file, you may use: > > #+DATE: {{{modification-time(%Y-%m-%d)}}} Thank you for the explanation, I really appreciate that and I'm happy to learn new possibilities in org. At first I thought it just a regression that I had additionally to put in a macro but on the other hand it is much more precise for my needs then #+DATE %Y-%m-%d which gave me in 7.xx only the current time. So far so good. #+DATE: {{{modification-time(%Y-%m-%d)}}} is working when I'm exporting individual files but now when I'm trying to publish I'm getting: Generating tree-style sitemap for Die D=C3=BCnenhof-Seite [15 times] byte-code: Bad timestamp `((macro (:key modification-time :value {{{modific= ation-time(%Y-%m-%d)}}} :args (%Y-%m-%d) :begin 1 :end 34 :post-blank 0 :pa= rent #0)))' Error was: (stringp ((macro (:key modification-time :value {{{modification-= time(%Y-%m-%d)}}} :args (%Y-%m-%d) :begin 1 :end 34 :post-blank 0 :parent #= 1)))) Seemingly this macro wreaks havoc with the automatic sitemap generation... Thanks Dieter > > Regards, --=20 Best wishes H. Dieter Wilhelm Darmstadt Germany