From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: C++ is not accepted for SRC block evaluation Date: Sat, 26 May 2018 07:50:20 -0700 Message-ID: References: <068D0D8C-238F-4D1A-A808-CA81DFD43F8B@scratch.space> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f51a7a056d1d0066" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMaWV-0002gz-Mm for emacs-orgmode@gnu.org; Sat, 26 May 2018 10:50:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMaWU-0004kk-Pc for emacs-orgmode@gnu.org; Sat, 26 May 2018 10:50:23 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:41029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMaWU-0004jS-Ej for emacs-orgmode@gnu.org; Sat, 26 May 2018 10:50:22 -0400 Received: by mail-wr0-x22d.google.com with SMTP id u12-v6so13644194wrn.8 for ; Sat, 26 May 2018 07:50:22 -0700 (PDT) In-Reply-To: <068D0D8C-238F-4D1A-A808-CA81DFD43F8B@scratch.space> 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" To: Van L Cc: org-mode-email --000000000000f51a7a056d1d0066 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It should be (C . t) it looks like ob-C also handles C++. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sat, May 26, 2018 at 5:15 AM, Van L wrote: > Hello. > > The `m-x customize=E2=80=99 path to `org-babel-load-languages=E2=80=99 or= the following > method won=E2=80=99t accept C++. > > #+BEGIN_SRC elisp :results none > (org-babel-do-load-languages > 'org-babel-load-languages > '((C++ . t))) > #+END_SRC > > The messages buffer has the following. > > executing Elisp code block... > org-babel-do-load-languages: Cannot open load file: No such file or > directory, ob-C++ > > M-x org-version > Org mode version 9.1.9 > > M-x emacs-version > GNU Emacs 26.1 > rc1 > > Section 14.7 Languages in the Org Mode working with source code infopages > lists C++. > --000000000000f51a7a056d1d0066 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It should be=C2=A0(C . t)

it looks like ob-C also handles C++.

John
=
-----------------------------------
Professor John Kitchin=C2=A0
= Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon= University
Pittsburgh, PA 15213
412-268-7803

On Sat, May 26, 2018 at 5:15 AM, Van L <van= @scratch.space> wrote:
Hell= o.

The `m-x customize=E2=80=99 path to `org-babel-load-languages=E2=80=99 or t= he following method won=E2=80=99t accept C++.

#+BEGIN_SRC elisp :results none
=C2=A0 (org-babel-do-load-languages
=C2=A0 =C2=A0'org-babel-load-languages
=C2=A0 =C2=A0'((C++ . t)))
#+END_SRC

The messages buffer has the following.

=C2=A0 =C2=A0executing Elisp code block...
=C2=A0 =C2=A0org-babel-do-load-languages: Cannot open load file: No such fi= le or directory, ob-C++

M-x org-version
Org mode version 9.1.9

M-x emacs-version
GNU Emacs 26.1
rc1

Section 14.7 Languages in the Org Mode working with source code infopages l= ists C++.

--000000000000f51a7a056d1d0066--