emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] "user-error: No language for src block: (unnamed)" when running


From: Ista Zahn
Subject: Re: [O] "user-error: No language for src block: (unnamed)" when running `org-icalendar-combine-agenda-files`
Date: Fri, 21 Aug 2015 09:46:22 -0400

On Fri, Aug 21, 2015 at 7:50 AM, Nicolas Goaziou <address@hidden> wrote:
> Hello,
>
> "JI, Xiang" <address@hidden> writes:
>
>> Well actually I think the error shows because of another block below
>> the emacs-lisp blocks. In this header I just wrote #+BEGIN_SRC without
>> any language name. Is it actually wrong and maybe I should have
>> written #+BEGIN_EXAMPLE instead?
>
> Correct.
>
>> Though I’d still say it probably shouldn’t have failed the export?…
>
> Babel blocks are executed prior to any export process, no matter what
> you want to include in the output.

Unless you've restored sanity by setting org-export-babel-evaluate to
nil. Personally I think this is not a good default. Source block
evaluation and export are distinct actions, and I don't see why they
should be linked by default.

Best,
Ista



reply via email to

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