emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [ox bug] batch export seems to be broken or have changed


From: Nicolas Goaziou
Subject: Re: [O] [ox bug] batch export seems to be broken or have changed
Date: Mon, 20 Jul 2015 09:02:46 +0200

Rasmus <address@hidden> 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,



reply via email to

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