From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aviv Subject: Re: babel stopping export after updating to org 8.3 Date: Tue, 15 Sep 2015 07:55:38 +0000 (UTC) Message-ID: References: <55F7A028.5000408@roklein.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbl5v-0007dR-E6 for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 03:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zbl5r-0007E0-Tk for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 03:56:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:46092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbl5r-0007C9-Gl for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 03:55:59 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zbl5n-0006cc-0x for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 09:55:55 +0200 Received: from 70-36-197-214.dsl.dynamic.fusionbroadband.com ([70.36.197.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Sep 2015 09:55:55 +0200 Received: from orgmodegmaneFeb14.z.m1 by 70-36-197-214.dsl.dynamic.fusionbroadband.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Sep 2015 09:55:55 +0200 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 Robert Klein roklein.de> writes: > > Hi > > Aviv wrote: > > > Hi! > > > > I just upgraded to org 8.3 and am stuck with an export issue. > > > > When I try to export a file with just "#+begin_src" and " "#+end_src" as the > > only lines, I get the error > > "user-error: No language for src block: (unnamed)". > > > > It seems like it is calling org-babel-exp-process-buffer -- but there is no > > reason that I can tell that is being called. (org-export-babel-evaluate is > > definitely nil, thought other testing seems to indicate that shouldn't even > > matter) > > > > I've tried this in a clean "emacs -q" emacs and there is no issue -- but I > > still have the issue with an empty init.el! > > > > Any idea what could be wrong? Thanks! > > > > > > You need to specify a language, e.g. > > #+begin_src foo > #+end_src > > You can use any string for language. However, if you export to latex > you want to either > Sorry, I should have clarified. I know that the error is a result of not specifying a language. But it wasn't necessary to specify one before, and it seems like it's better for it not to actually be required now either, unless I'm missing something -- should I also specify "pseudocode"? Also, if that was correct behavior, it should be described as a breaking change from 8.2 to 8.3, and it's not at http://orgmode.org/Changes.html . -- So, I just checked the manual and it seems like "#+begin_src" does (now?) require a language block, but given that up until now this sort of export did not cause errors, it seems odd to require that all the sudden and break all exports that depend on it without alerting users. That said, I figured out the distinction between "emacs -q" and just using an empty init.el file. It turns out that "-q" actually loads org version 8.2.10! (while an empty init.el load 8.3.1) Though I'm not sure why that is either...