Eric Schulte writes:
>>> Do you find the attached patch acceptable?
>> Scratch it, it's not working as it should.
> I actually applied this patch, undid the portion in ob-C.el because we
> shouldn't be modifying org-babel-load-languages from ob-* files,
^
Rasmus writes:
> Rasmus writes:
>
>> Eric Schulte writes:
>>
>>> Use the `org-src-lang-modes' variable to associate a src code block name
>>> with a major mode. This list already contains ("cpp" . c++) for C++
>>> code blocks, but perhaps ("C++" . c++) should be added as well.
>>
>> Thanks for
Rasmus writes:
> Eric Schulte writes:
>
>> Use the `org-src-lang-modes' variable to associate a src code block name
>> with a major mode. This list already contains ("cpp" . c++) for C++
>> code blocks, but perhaps ("C++" . c++) should be added as well.
>
> Thanks for the pointers!
>
> Do you f
Eric Schulte writes:
> Use the `org-src-lang-modes' variable to associate a src code block name
> with a major mode. This list already contains ("cpp" . c++) for C++
> code blocks, but perhaps ("C++" . c++) should be added as well.
Thanks for the pointers!
Do you find the attached patch accept
Use the `org-src-lang-modes' variable to associate a src code block name
with a major mode. This list already contains ("cpp" . c++) for C++
code blocks, but perhaps ("C++" . c++) should be added as well.
Best,
Rasmus writes:
> Hi,
>
> The Emacs C++ mode is called c++-mode. In babel C++ is C+
Rasmus writes:
> The Emacs C++ mode is called c++-mode. In babel C++ is C++.
> Hence, the following problematic case holds.
> [...]
Also, shouldn't C++ be in the list of languages when running
org-babel-demarcate-block (C-c C-v C-d)?
Oh, and here's my details if relevant:
Org-mode versio
Hi,
The Emacs C++ mode is called c++-mode. In babel C++ is C++.
Hence, the following problematic case holds.
With the block, (lowercase c)
#+begin_src c++
...
#+end_src
I can edit it in the c++-mode and get nice fontification, but I can't
execute it.
With (capital c)
#+begin_src