From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] Date format string not handled for LaTeX export Date: Tue, 30 Oct 2012 08:14:01 +0100 Message-ID: <87mwz4ph3a.fsf@gmail.com> References: <87fw4xqviy.fsf@gmail.com> <87y5iposs7.fsf@gmail.com> <2124.1351551955@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT64A-0003Bk-KM for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 03:16:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TT642-0005r9-79 for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 03:16:50 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:44017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT642-0005qw-0y for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 03:16:42 -0400 Received: by mail-wg0-f49.google.com with SMTP id gg4so3124128wgb.30 for ; Tue, 30 Oct 2012 00:16:41 -0700 (PDT) In-Reply-To: <2124.1351551955@alphaville> (Nick Dokos's message of "Mon, 29 Oct 2012 19:05:55 -0400") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Michael Gauland Hello, Nick Dokos writes: > Michael Gauland wrote: > >> Nicolas Goaziou gmail.com> writes: >> >> > I just tried with a minimal init and it worked. Could you send the >> > example you're trying to export? >> >> The file is below. With a minimal init, I get the error "Symbol's function >> definition is void: org-macro-initialize-templates'. If I use my full .emacs >> file, the exporter just seems to freeze up. >> >> ------ test.org ----- >> #+DATE: {{{date(%c)}}} >> >> This ia a test file. >> >> >> > > With a minimal file, I get a cpu pegged at 100% with no end in > sight. Setting debug-on-quit and C-g gives me the following backtrace. > > Org-mode version 7.9.2 (release_7.9.2-533-g07c889 @ > /home/nick/elisp/org-mode/lisp/) This is {{{time(...)}}}, not {{{date(...)}}}. {{{date(%c)}}} is another macro that is replaced with the #+DATE: value during export. Since you try to replace #+DATE: value with itself, you dive into an inf loop. Regards, -- Nicolas Goaziou