emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] C++ is not accepted for SRC block evaluation


From: Nicolas Goaziou
Subject: Re: [O] C++ is not accepted for SRC block evaluation
Date: Sun, 27 May 2018 22:24:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Van L <address@hidden> 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
>   address@hidden C @tab C @tab C++ @tab C++
>   address@hidden @item C @tab C @tab C++ @tab C++
>   address@hidden 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]