From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [ob][bug] C++-mode is unknown Date: Sat, 13 Jul 2013 20:59:22 +0200 Message-ID: <87ip0ee16d.fsf@pank.lan> References: <87ehb2fvsr.fsf@pank.lan> <87ip0ey3z5.fsf@gmail.com> <87zjtqed4f.fsf@pank.lan> <87r4f2e3yh.fsf@pank.lan> <87vc4ewbhk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uy52j-0008IC-Si for emacs-orgmode@gnu.org; Sat, 13 Jul 2013 14:59:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uy52i-0004tD-Uj for emacs-orgmode@gnu.org; Sat, 13 Jul 2013 14:59:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:39798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uy52i-0004t8-O8 for emacs-orgmode@gnu.org; Sat, 13 Jul 2013 14:59:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uy52e-0007kw-24 for emacs-orgmode@gnu.org; Sat, 13 Jul 2013 20:59:36 +0200 Received: from f053040218.adsl.alicedsl.de ([78.53.40.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Jul 2013 20:59:36 +0200 Received: from rasmus by f053040218.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Jul 2013 20:59:36 +0200 In-Reply-To: <87vc4ewbhk.fsf@gmail.com> (Eric Schulte's message of "Sat, 13 Jul 2013 12:39:19 -0600") 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 Eric Schulte writes: >>> Do you find the attached patch acceptable? >> Scratch it, it's not working as it should. > I actually applied this patch, undid the portion in ob-C.el because we > shouldn't be modifying org-babel-load-languages from ob-* files, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ No this was what made my patch suck, but I only discovered when I tried to export a document and got an error later. I didn't and don't understand the finer mechanics of ob well enough, I must admit. > and added another change which include the org-src-lang-mode > languages to the options in org-babel-demarcate-block. Cool. That was what I tried to archive. > Let me know if this leaves anything out. For now, no. Some of the examples from the Eigen tutorial render horribly, but it's mostly 'cause they have several matrices/vectors in one 'program' and strings are added to the beginning, e.g. "m * v=\n..." where '...' is a matrix. But I can't think of an easy remedy to this. Thanks, Rasmus -- Together we'll stand, divided we'll fall