[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [ob][bug] C++-mode is unknown
From: |
Eric Schulte |
Subject: |
Re: [O] [ob][bug] C++-mode is unknown |
Date: |
Sat, 13 Jul 2013 12:39:19 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Rasmus <address@hidden> writes:
> Rasmus <address@hidden> writes:
>
>> Eric Schulte <address@hidden> 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 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, and
added another change which include the org-src-lang-mode languages to
the options in org-babel-demarcate-block.
Let me know if this leaves anything out.
Thanks,
--
Eric Schulte
http://cs.unm.edu/~eschulte
Re: [O] [ob][bug] C++-mode is unknown, Eric Schulte, 2013/07/13