From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Alan Schmitt <alan.schmitt@polytechnique.org>, emacs-orgmode@gnu.org
Subject: Re: org-html-postamble-format and #+DATE: specification in 8.0pre
Date: Sat, 06 Apr 2013 13:20:28 +0200 [thread overview]
Message-ID: <87zjxbykg3.fsf@duenenhof-wilhelm.de> (raw)
In-Reply-To: <87d2u8x1hh.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 05 Apr 2013 20:43:06 +0200")
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
>> Sorry I don't get it completely.
>> 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ünenhof-Seite [15 times]
byte-code: Bad timestamp `((macro (:key modification-time :value {{{modification-time(%Y-%m-%d)}}} :args (%Y-%m-%d) :begin 1 :end 34 :post-blank 0 :parent #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,
--
Best wishes
H. Dieter Wilhelm
Darmstadt
Germany
next prev parent reply other threads:[~2013-04-06 11:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-29 14:11 org-html-postamble-format and #+DATE: specification in 8.0pre Dieter Wilhelm
2013-04-03 13:04 ` Alan Schmitt
2013-04-03 19:21 ` Nicolas Goaziou
2013-04-04 21:36 ` Dieter Wilhelm
2013-04-05 13:47 ` Rick Frankel
2013-04-07 16:48 ` Dieter Wilhelm
2013-04-07 18:50 ` Nicolas Goaziou
2013-04-07 21:56 ` Dieter Wilhelm
2013-04-05 18:43 ` Nicolas Goaziou
2013-04-06 11:20 ` Dieter Wilhelm [this message]
2013-04-06 12:19 ` Nicolas Goaziou
2013-04-06 13:31 ` Maurice
2013-04-05 7:17 ` Alan Schmitt
2013-04-05 13:22 ` Rick Frankel
2013-04-05 18:52 ` Nicolas Goaziou
2013-04-06 15:05 ` Alan Schmitt
2013-04-06 17:02 ` Nicolas Goaziou
2013-04-06 17:28 ` Alan Schmitt
2013-04-06 18:02 ` Nicolas Goaziou
2013-04-07 21:01 ` Alan Schmitt
2013-04-07 21:04 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjxbykg3.fsf@duenenhof-wilhelm.de \
--to=dieter@duenenhof-wilhelm.de \
--cc=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).