From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Association list between major-mode-names and babel identifiers
Date: Fri, 14 Mar 2014 10:27:20 +0100 [thread overview]
Message-ID: <87vbvhm8p3.fsf@gmail.com> (raw)
In-Reply-To: 874n325gck.fsf@gmail.com
Eric Schulte <schulte.eric@gmail.com> writes:
> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Hi List,
>>
>> due to the relatively frequent mismatches between language names
>> extracted from major-mode names and language identifiers used by
>> Org-Babel I try to build the definite translation alist between both
>> names.
>>
>
> The `org-src-lang-modes' variable should hold this list, elements not in
> the list simply append "-mode" to the end of the source name.
Oh, I see ... then I don't have to replicate this.
But what about R vs ess? I started to deal with this because R-mode is
actually just a dialect of ess-mode and returns 'ess-mode' when doing
M-: major-mode. OTOH putting a buffer in ess-mode makes no sense either,
its kind of an abstract super-mode, one has to call R-mode to get
something functional.
And what about upper/lower case? Only "C" for c-mode, or "c" too?
,---------------------
| `org-src-lang-modes'
`---------------------
,----------------------------
| Original value was
| (("ocaml" . tuareg)
| ("elisp" . emacs-lisp)
| ("ditaa" . artist)
| ("asymptote" . asy)
| ("dot" . fundamental)
| ("sqlite" . sql)
| ("calc" . fundamental)
| ("C" . c)
| ("cpp" . c++)
| ("C++" . c++)
| ("screen" . shell-script))
`----------------------------
--
cheers,
Thorsten
next prev parent reply other threads:[~2014-03-14 9:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-13 4:49 [RFC] Association list between major-mode-names and babel identifiers Thorsten Jolitz
2014-03-13 5:04 ` Thorsten Jolitz
2014-03-13 7:39 ` Andreas Leha
2014-03-13 9:37 ` Alan Schmitt
2014-03-13 11:54 ` Thorsten Jolitz
2014-03-13 13:11 ` Nick Dokos
2014-03-14 9:11 ` Thorsten Jolitz
2014-03-14 11:59 ` Nick Dokos
2014-03-14 12:25 ` Thorsten Jolitz
2014-03-13 16:06 ` Eric S Fraga
2014-03-13 14:21 ` Eric Schulte
2014-03-14 9:27 ` Thorsten Jolitz [this message]
2014-03-13 14:22 ` Sebastien Vauban
2014-03-13 16:26 ` Eric Schulte
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=87vbvhm8p3.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).