emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [Worg] [New Exporter] invalid time specification


From: Achim Gratz
Subject: Re: [O] [Worg] [New Exporter] invalid time specification
Date: Sun, 28 Apr 2013 22:11:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Jay Kerns writes:
> Doing `toggle-debug-on-error' yields (I'm deleting most of it)
>
> ,----
> | Debugger entered--Lisp error: (error "Invalid time specification")
> |   format-time-string("%Y-%m-%d" "<2010-04-24 Sat>")
> |   org-publish-format-file-entry("%t"

Uh-oh.  That function should never get an uninterpreted value from
#+DATE, it really wants a proper time value (a list, not a string).  The
question is how it gets there, since

emacs -batch -Q -l worgtest-local-init.el -l worgtest-init.el
worgmap.org -l org-publish \
 --eval '(message (format-time-string "%Y-%m-%d" (org-publish-find-date 
(buffer-file-name))))'
2013-04-22

yields the correct value.  Also, the calling function doesn't appear to
be asking for a date value at all.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




reply via email to

[Prev in Thread] Current Thread [Next in Thread]