From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Association list between major-mode-names and babel identifiers
Date: Thu, 13 Mar 2014 12:54:59 +0100 [thread overview]
Message-ID: <8738impb3g.fsf@gmail.com> (raw)
In-Reply-To: m21ty6tp5x.fsf@polytechnique.org
Alan Schmitt <alan.schmitt@polytechnique.org> writes:
> Hi Thorsten,
>
> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> 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.
>>
>> To avoid checking myself by hand what
>>
>> ,-------------------
>> | M-: major-mode RET
>> `-------------------
>>
>> really returns in all those modes, I would like to ask those who
>> actually use these languages for help. Here is the list of languages
>> that needs to be completed:
>
> I assume that "checked" means the language was checked in the mode
> (i.e., running the major-mode command)?
Exactly. There might actually be a mistake from me in the table, because
I checked sometime ago and can't repeat the check right now:
it should be ess-mode instead of ess?
> Here are a few extra values. Regarding OCaml, a mode often used is
> "tuareg-mode", but there are other modes for it. Since tuareg is
> a requirement, I'll assume we also mean the corresponding mode has to be
> used.
thank you, so I marked calc, latex, ocaml, and sh as cross-ckecked now,
and unmarked R. Unfortunately the table arrives almost unreadable here,
so I rather post the current state of the association list (; means
cross-ckecked):
#+begin_src emacs-lisp
(defconst outorg-language-name-assocs
'((abc-mode . abc)
(asymptote-mode . asymptote)
(awk-mode . awk)
(c-mode . C) ;
(c++-mode . cpp) ;
(calc-mode . calc) ;
(clojure-mode . clojure)
(css-mode . css)
(d-mode . D) ;
(ditaa-mode . ditaa)
(dot-mode . dot)
(emacs-lisp-mode . emacs-lisp) ;
(eukleides-mode . eukleides)
(fomus-mode . fomus)
(fortran-mode . F90)
(gnuplot-mode . gnuplot)
(groovy-mode . groovy)
(haskell-mode . haskell)
(j-mode . J)
(java-mode . java)
(javascript-mode . js)
(julia-mode . julia)
(latex-mode . latex) ;
(ledger-mode . ledger)
(lilypond-mode . ly)
(lisp-mode . lisp)
(make-mode . makefile)
(mathomatic-mode . mathomatic)
(matlab-mode . matlab)
(maxima-mode . max)
(mscgen-mode . mscgen)
(tuareg-mode . ocaml) ;
(octave-mode . octave)
(org-mode . org) ;
(oz-mode . oz)
(perl-mode . perl)
(picolisp-mode . picolisp) ;
(plantuml-mode . plantuml)
(python-mode . python)
(ess . R)
(ruby-mode . ruby)
(sass-mode . sass)
(scala-mode . scala)
(scheme-mode . scheme)
(shen-mode . shen)
(sh-mode . sh) ;
(sql-mode . sql)
(sqlite-mode . sqlite)
(tcl-mode . tcl))
"Associations between major-mode-name and org-babel language
names.")
#+end_src
--
cheers,
Thorsten
next prev parent reply other threads:[~2014-03-13 11:54 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738impb3g.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.