emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: [Worg] [New Exporter] invalid time specification
Date: Sun, 28 Apr 2013 22:11:46 +0200	[thread overview]
Message-ID: <8738uact4t.fsf@Rainer.invalid> (raw)
In-Reply-To: CAFiLVrbrjAcraKqRt4rwje4xKu7yy9cp9+gOfrM3MNwzt58+MA@mail.gmail.com

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	other threads:[~2013-04-28 20:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-28 17:10 [Worg] [New Exporter] invalid time specification Jay Kerns
2013-04-28 20:11 ` Achim Gratz [this message]
2013-04-29  7:41 ` Nicolas Goaziou
2013-04-29 11:49   ` Jay Kerns

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=8738uact4t.fsf@Rainer.invalid \
    --to=stromeko@nexgo.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).