From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: C++ is not accepted for SRC block evaluation Date: Sun, 27 May 2018 22:24:08 +0200 Message-ID: <87lgc43l07.fsf@nicolasgoaziou.fr> References: <068D0D8C-238F-4D1A-A808-CA81DFD43F8B@scratch.space> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fN2DC-00041A-8W for emacs-orgmode@gnu.org; Sun, 27 May 2018 16:24:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fN2D7-0004JI-6j for emacs-orgmode@gnu.org; Sun, 27 May 2018 16:24:18 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:34511) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fN2D7-0004H4-11 for emacs-orgmode@gnu.org; Sun, 27 May 2018 16:24:13 -0400 In-Reply-To: (Van L.'s message of "Sun, 27 May 2018 12:50:57 +1000") 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 , John Kitchin Hello, Van L writes: >> John Kitchin writes: >> >> It should be (C . t) >> >> it looks like ob-C also handles C++. > > How about the following to update the documentation: > > #+BEGIN_EXAMPLE > diff --git a/doc/misc/org.texi b/doc/misc/org.texi > index cf1c037..7b00f0a 100644 > --- a/doc/misc/org.texi > +++ b/doc/misc/org.texi > @@ -15522,7 +15522,8 @@ Languages > @multitable @columnfractions 0.25 0.25 0.25 0.25 > @headitem @b{Language} @tab @b{Identifier} @tab @b{Language} @tab @b{Identifier} > @item Asymptote @tab asymptote @tab Awk @tab awk > -@item C @tab C @tab C++ @tab C++ > +@c @item C @tab C @tab C++ @tab C++ > +@item C++ @tab C @tab C @tab C > @item Clojure @tab clojure @tab CSS @tab css > @item D @tab d @tab ditaa @tab ditaa > @item Graphviz @tab dot @tab Emacs Calc @tab calc > #+END_EXAMPLE No, that's not correct. It should be (C++ . t), but "ob-C.el" should provide "ob-C++" feature, too. I pushed a fix along those lines in master. Thank you. Regards, -- Nicolas Goaziou