emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Van L <van@scratch.space>
Cc: org-mode-email <emacs-orgmode@gnu.org>,
	John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: C++ is not accepted for SRC block evaluation
Date: Sun, 27 May 2018 22:24:08 +0200	[thread overview]
Message-ID: <87lgc43l07.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <FFD367F7-E7F8-4CBF-BD97-F5394152787E@scratch.space> (Van L.'s message of "Sun, 27 May 2018 12:50:57 +1000")

Hello,

Van L <van@scratch.space> 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

  reply	other threads:[~2018-05-27 20:24 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
2018-05-27  2:50   ` Van L
2018-05-27 20:24     ` Nicolas Goaziou [this message]
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=87lgc43l07.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --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).