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: Nicolas Goaziou
Subject: Re: [O] "user-error: No language for src block: (unnamed)" when running `org-icalendar-combine-agenda-files`
Date: Fri, 21 Aug 2015 13:50:36 +0200

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. For example, some blocks could set-up
export.

Therefore, a wrong Babel block always fails an export process.

Regards,

-- 
Nicolas Goaziou



reply via email to

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