From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: "user-error: No language for src block: (unnamed)" when running `org-icalendar-combine-agenda-files` Date: Fri, 21 Aug 2015 13:50:36 +0200 Message-ID: <874mjsq2r7.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSkoh-0002rU-DA for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 07:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSkod-00056C-Eh for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 07:49:03 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSkod-00055t-8F for emacs-orgmode@gnu.org; Fri, 21 Aug 2015 07:48:59 -0400 In-Reply-To: (Xiang JI's message of "Thu, 20 Aug 2015 17:44:27 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "JI, Xiang" Cc: emacs-orgmode@gnu.org Hello, "JI, Xiang" 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=E2=80=99d still say it probably shouldn=E2=80=99t have failed th= e export?=E2=80=A6 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, --=20 Nicolas Goaziou