[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Association list between major-mode-names and babel identi
From: |
Thorsten Jolitz |
Subject: |
Re: [O] [RFC] Association list between major-mode-names and babel identifiers |
Date: |
Thu, 13 Mar 2014 06:04:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Thorsten Jolitz <address@hidden> 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:
>
>
> |------------+------------------------+------------+-----------------+----------|
> | Language | Requirements | Identifier | M-: major-mode | checked? |
> |------------+------------------------+------------+-----------------+----------|
> | ABC | abcm2ps, abc-mode | abc | | |
too bad, that table did not make it to the mailing list keeping its
format ...
so here is the association list with mostly *unchecked* major-mode names
I made up purely by gut-feeling (those actually checked have an ; behind
them:
#+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)
("objective-caml-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)
("shell-mode" . sh)
("sql-mode" . sql)
("sqlite-mode" . sqlite)
("tcl-mode" . tcl))
"Associations between major-mode-names and org-babel language
names.")
#+end_src
--
cheers,
Thorsten