emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Van L <van@scratch.space>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: C++ is not accepted for SRC block evaluation
Date: Sat, 26 May 2018 07:50:20 -0700	[thread overview]
Message-ID: <CAJ51ETp1qchGCz6qX2TVAS_tNq=6tSsUBwr8K2Gqme-DcvQYaw@mail.gmail.com> (raw)
In-Reply-To: <068D0D8C-238F-4D1A-A808-CA81DFD43F8B@scratch.space>

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

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 <van@scratch.space> wrote:

> Hello.
>
> The `m-x customize’ path to `org-babel-load-languages’ or the following
> method won’t 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++.
>

[-- Attachment #2: Type: text/html, Size: 2852 bytes --]

  reply	other threads:[~2018-05-26 14:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26 12:15 C++ is not accepted for SRC block evaluation Van L
2018-05-26 14:50 ` John Kitchin [this message]
2018-05-27  2:50   ` Van L
2018-05-27 20:24     ` Nicolas Goaziou
2018-05-27 20:48       ` Aaron Ecay
2018-05-27 21:09         ` Nicolas Goaziou
2018-05-28 15:57           ` Aaron Ecay
2018-05-30 11:11             ` Nicolas Goaziou
2018-05-30 16:35               ` Berry, Charles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ51ETp1qchGCz6qX2TVAS_tNq=6tSsUBwr8K2Gqme-DcvQYaw@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=van@scratch.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).