From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos <ndokos@gmail.com> Subject: Re: bug(?) ox-html always add a timestamp in comment which can't be customized away Date: Sat, 08 Jun 2013 01:30:43 -0400 Message-ID: <87ehcdkw3g.fsf@pierrot.dokosmarshall.org> References: <CAABrf9ZMKtB6D4U5cLJczjdq6HhFTxd4=kuS4gHntuf3N+wVdQ@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([2001:4830:134:3::10]:42633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1UlBjy-0002i9-3o for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 01:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1UlBjx-00035w-9B for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 01:31:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:58971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1UlBjw-00035q-UE for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 01:31:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1UlBjv-00044w-Uj for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 07:30:59 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <emacs-orgmode@gnu.org>; Sat, 08 Jun 2013 07:30:59 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <emacs-orgmode@gnu.org>; Sat, 08 Jun 2013 07:30:59 +0200 List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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: emacs-orgmode@gnu.org Haojun Bao <baohaojun@gmail.com> writes: > The culprit code is the following: > > (when :time-stamp-file > (format-time-string > (concat "<!-- " org-html-metadata-timestamp-format " -->\n"))) > > This `when' condition is always true, because :time-stamp-file is a > keyword and always eval to itself, never to nil. > > So I think org-export-time-stamp-file should be used instead of > :time-stamp-file. > What version are you using? In the version I have, the code looks like this: (when (plist-get info :time-stamp-file) (format-time-string (concat "<!-- " org-html-metadata-timestamp-format " -->\n"))) Org-mode version 8.0.3 (release_8.0.3-197-g221768) [nb: this version includes a few local commits (irrelevant to this subject)] -- Nick