From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?JI=2C_Xiang?= Subject: Re: "user-error: No language for src block: (unnamed)" when running `org-icalendar-combine-agenda-files` Date: Thu, 20 Aug 2015 17:44:27 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="55d5a17b_5569a71e_15fbb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSMOi-0004RL-Sj for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 05:44:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSMOf-0007er-Hc for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 05:44:36 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSMOf-0007em-9I for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 05:44:33 -0400 In-Reply-To: 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: emacs-orgmode@gnu.org --55d5a17b_5569a71e_15fbb Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well actually I think the error shows because of another block below the = emacs-lisp blocks. In this header I just wrote =23+BEGIN=5FSRC without an= y language name. Is it actually wrong and maybe I should have written =23= +BEGIN=5FEXAMPLE instead=3F Though I=E2=80=99d still say it probably shou= ldn=E2=80=99t have failed the export=3F=E2=80=A6 On 20. August 2015 at 17:38:36, JI, Xiang (hi=40xiangji.me) wrote: I=E2=80=99m trying to export all my agenda files into an ics file via org= -icalendar-combine-agenda-files. However, the export process stops halfwa= y through. The following are shown in Messages: org-babel-exp process emacs-lisp at line 72... org-babel-exp process emacs-lisp at line 208... user-error: No language for src block: (unnamed) which is weird because I already set org-calendar-include-body to nil. I don=E2=80=99t think a c= ode block in the middle of a org file should impact iCalendar export. The code block begins with =23BEGIN=5FSRC emacs-lisp and is highlighted c= orrectly. I=E2=80=99m not sure why it says =E2=80=9Cno language for src b= lock=E2=80=9D. Regards, JI, Xiang --55d5a17b_5569a71e_15fbb Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Well actually I think the = error shows because of another block below the emacs-lisp bl= ocks. In this header I just wrote =23+BEGIN=5FSRC without an= y language name. Is it actually wrong and maybe I should have written =23+BEGIN=5FEXAMPLE instead=3F Though I=E2=80=99d still say it = probably shouldn=E2=80=99t have failed the export=3F=E2=80=A6


On 20. August 2015 at 17:38:36, JI, Xiang (hi=40xiangji.me) wrote:

I=E2=80=99m trying to export all my agenda files into an ics file via org-icalendar-combine-agenda-files. However, the export process stops halfway through. The following are shown in Messages:

org-babel-exp process emacs-lisp at line 72...
org-babel-exp process emacs-lisp at line 208...
user-error: No language for src block: (unnamed)

which is weird because

  1. I already set org-calendar-include-body to nil. I don=E2=80=99t think a code block in the middle of a org file should impact iCalendar export.
  2. The code block begins with =23BEGIN=5FSRC emacs-lisp and is highlighted correctly. I=E2=80=99m not sure why it says =E2=80=9Cn= o language for src block=E2=80=9D.

Regards,

JI, Xiang

--55d5a17b_5569a71e_15fbb--