From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ox bug] batch export seems to be broken or have changed
Date: Mon, 20 Jul 2015 09:02:46 +0200 [thread overview]
Message-ID: <87io9f2twp.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87vbdgil0j.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 19 Jul 2015 10:55:56 +0200")
Rasmus <rasmus@gmx.us> writes:
> That's my first guess. But I don't know how to debug it since it's batch.
> And I don't know if it's a an Emacs bug or Org needing to adapt to some
> new behavior.
>
> I could try to print the filename input to the console or something...
You may write the output of (buffer-file-name) to a temporary file,
e.g.,
emacs --batch --file foo.org --eval="(let ((name (buffer-file-name))) (with-temp-file \"report.txt\" (insert (message \"%S\n\" name))))"
>>> I tried to downgrade to Emacs 24.5, but when I batch export as above I
>>> get:
>>>
>>> Symbol's function definition is void: cl-struct-define
>>
>> That doesn't ring a bell.
>
> Weird. Cl-struct is what is used for holding backends, right?
Correct. But AFAICT, `cl-struct-define' doesn't exist in Emacs 24.
Regards,
next prev parent reply other threads:[~2015-07-20 7:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 21:55 [ox bug] batch export seems to be broken or have changed Rasmus
2015-07-18 7:51 ` Nicolas Goaziou
2015-07-18 21:05 ` Rasmus
2015-07-19 8:21 ` Nicolas Goaziou
2015-07-19 8:55 ` Rasmus
2015-07-20 7:02 ` Nicolas Goaziou [this message]
2015-07-20 9:11 ` Rasmus
2015-07-20 9:45 ` Nicolas Goaziou
2015-07-20 13:54 ` Rasmus
2015-07-20 15:21 ` Rasmus
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=87io9f2twp.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=rasmus@gmx.us \
/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).