emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Some %elements in org-html-postamble-format became too "generous"
Date: Sun, 07 Apr 2013 15:04:20 +0200	[thread overview]
Message-ID: <87ppy6xzjf.fsf@gmail.com> (raw)
In-Reply-To: <8761zyzhf5.fsf@duenenhof-wilhelm.de> (Dieter Wilhelm's message of "Sun, 07 Apr 2013 13:52:46 +0200")

Hello,

Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

> before 8pre it was better possible to translate the Org/Emacs information in the
> postamble.  If I'm using
>
>  ("fr" "<p class=\"author\">Auteur: %a (%e)</p>\n<p class=\"date\">Date
>  de la modification: %d </p>\n<p class=\"creator\">Produit par %c
>  </p>\n")
>
> The result looks like:
>
> Produit par Generated by Org mode 8.0-pre in Emacs 24.3.3
>
> which also contradicts the documentation string of
> org-html-postamble-format...

I fixed this. "%c" equals to `org-html-creator-string' (#+CREATOR:)
value. You are responsible for the translation.

> By the way, I think the creation Time (%T) capability of the postamble
> is rather pointless, could you please change it to the modification time
> or add something (like %C)? This would save the hassle of putting
> everywhere #+DATE: {{{modification-time(%Y-%m-%d)}}} into the files.
> One could just change the %d to %C...

I added %C.

> Moreover, I think the documentation string is not really precise about
> the creation time.  We have on Linux atime, mtime and ctime (Access,
> Modification and in effect the inode "Change" time), probably the modern
> file systems store additionally the "true Creation" time.

This was about the creation time of the /output/, which is, in fact, the
time of export. I changed the docstring to make it clear.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2013-04-07 13:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 11:52 Some %elements in org-html-postamble-format became too "generous" Dieter Wilhelm
2013-04-07 13:04 ` Nicolas Goaziou [this message]
2013-04-07 16:26   ` Dieter Wilhelm
2013-04-07 17:35     ` Dieter Wilhelm
2013-04-07 18:35       ` Nicolas Goaziou
2013-04-07 18:32     ` Nicolas Goaziou
2013-04-07 18:51       ` Rick Frankel
2013-04-07 19:00         ` Nicolas Goaziou
2013-04-09  1:55           ` Rick Frankel
2013-04-10 12:44             ` Nicolas Goaziou
2013-04-10 13:15               ` [PATCH] org-contacts.el, add alias properties Feng Shu
2013-04-10 13:18                 ` Bastien
2013-04-09  5:46           ` Some %elements in org-html-postamble-format became too "generous" Dieter Wilhelm
2013-04-09  9:54             ` Bastien
2013-04-10 18:13           ` Dieter Wilhelm
2013-04-07 20:52       ` Dieter Wilhelm

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=87ppy6xzjf.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=emacs-orgmode@gnu.org \
    /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).