From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [RFC] Association list between major-mode-names and babel identifiers Date: Thu, 13 Mar 2014 10:37:30 +0100 Message-ID: References: <87ob1apusq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO25P-0002uf-5B for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 05:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO25H-0003Ah-NM for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 05:37:59 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:55004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO25H-0003AN-A9 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 05:37:51 -0400 In-Reply-To: <87ob1apusq.fsf@gmail.com> (Thorsten Jolitz's message of "Thu, 13 Mar 2014 05:49:25 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Hi Thorsten, Thorsten Jolitz 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)? 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. |------------+------------------------+------------+-----------------+----------| | Language | Requirements | Identifier | M-: major-mode | checked? | |------------+------------------------+------------+-----------------+----------| | ABC | abcm2ps, abc-mode | abc | | | |------------+------------------------+------------+-----------------+----------| | Asymptote | asymptote, asy-mode | asymptote | | | |------------+------------------------+------------+-----------------+----------| | Awk | awk | awk | | | |------------+------------------------+------------+-----------------+----------| | C | none | C | c-mode | X | |------------+------------------------+------------+-----------------+----------| | C++ | none | cpp | c++-mode | X | |------------+------------------------+------------+-----------------+----------| | Calc | none | calc | calc-mode | X | |------------+------------------------+------------+-----------------+----------| | Clojure | Clojure, Clojure Mode, | clojure | | | | | CIDER, Leiningen | | | | |------------+------------------------+------------+-----------------+----------| | CSS | none | css | | | |------------+------------------------+------------+-----------------+----------| | D | D | D | d-mode | X | |------------+------------------------+------------+-----------------+----------| | Ditaa | ditaa (bundled with | ditaa | | | | | Org-mode) | | | | |------------+------------------------+------------+-----------------+----------| | Dot | dot | dot | | | | (Graphviz) | | | | | |------------+------------------------+------------+-----------------+----------| | Emacs Lisp | none | emacs-lisp | emacs-lisp-mode | X | |------------+------------------------+------------+-----------------+----------| | Eukleides | eukleides | eukleides | | | | | | (contrib) | | | |------------+------------------------+------------+-----------------+----------| | Fomus | fomus (music notation) | fomus | | | | | | (contrib) | | | |------------+------------------------+------------+-----------------+----------| | Fortran | fortran | F90 | | | |------------+------------------------+------------+-----------------+----------| | Gnuplot | gnuplot, gnuplot-mode | gnuplot | | | |------------+------------------------+------------+-----------------+----------| | Groovy | Emacs-Groovy-Mode | groovy | | | | | | (contrib) | | | |------------+------------------------+------------+-----------------+----------| | Haskell | haskell, haskell-mode, | haskell | | | | | inf-haskell, lhs2tex | | | | |------------+------------------------+------------+-----------------+----------| | J | J, j-mode | J | | | |------------+------------------------+------------+-----------------+----------| | Java | java | java | | | |------------+------------------------+------------+-----------------+----------| | Javascript | node.js | js | | | |------------+------------------------+------------+-----------------+----------| | Julia | ess | julia | | | | | | (contrib) | | | |------------+------------------------+------------+-----------------+----------| | LaTeX | latex, auctex, reftex | latex | latex-mode | X | |------------+------------------------+------------+-----------------+----------| | Ledger | ledger | ledger | | | |------------+------------------------+------------+-----------------+----------| | Lilypond | lilypond music | ly | | | | | notation | | | | |------------+------------------------+------------+-----------------+----------| | Lisp | slime | lisp | | | |------------+------------------------+------------+-----------------+----------| | Make | none | makefile | | | |------------+------------------------+------------+-----------------+----------| | Mathomatic | Mathomatic | mathomatic | | | | | | (contrib) | | | |------------+------------------------+------------+-----------------+----------| | Matlab | matlab, matlab.el | matlab | | | |------------+------------------------+------------+-----------------+----------| | Maxima | maxima, Common Lisp, | max | | | | | gnuplot (optional) | | | | |------------+------------------------+------------+-----------------+----------| | Mscgen | Mscgen | mscgen | | | |------------+------------------------+------------+-----------------+----------| | Objective | ocaml, tuareg-mode | ocaml | tuareg-mode | X | | Caml | | | | | |------------+------------------------+------------+-----------------+----------| | Octave | octave | octave | | | |------------+------------------------+------------+-----------------+----------| | Org | none | org | org-mode | X | |------------+------------------------+------------+-----------------+----------| | OZ | Mozart which includes | oz | | | | | a major mode | (contrib) | | | |------------+------------------------+------------+-----------------+----------| | Perl | perl, cperl-mode | perl | | | | | (optional) | | | | |------------+------------------------+------------+-----------------+----------| | Picolisp | PicoLisp | picolisp | picolisp-mode | X | |------------+------------------------+------------+-----------------+----------| | PlantUML | | plantuml | | | |------------+------------------------+------------+-----------------+----------| | Python | python, python-mode | python | | | | | (optional) | | | | |------------+------------------------+------------+-----------------+----------| | R | R, ess-mode, | R | | | | | tikzDevice | | ess | X | |------------+------------------------+------------+-----------------+----------| | Ruby | ruby, irb, ruby-mode, | ruby | | | | | inf-ruby mode | | | | |------------+------------------------+------------+-----------------+----------| | Sass | sass, sass-mode | sass | | | |------------+------------------------+------------+-----------------+----------| | Scala | scala | scala | | | |------------+------------------------+------------+-----------------+----------| | Scheme | none | scheme | | | |------------+------------------------+------------+-----------------+----------| | Shen | shen | shen | | | |------------+------------------------+------------+-----------------+----------| | shell | a shell | sh | sh-mode | X | |------------+------------------------+------------+-----------------+----------| | SQL | an RDBMS | sql | | | |------------+------------------------+------------+-----------------+----------| | SQLite | SQLite, sqlite3, SQL | sqlite | | | | | mode | | | | |------------+------------------------+------------+-----------------+----------| | Tcl | tclsh | tcl | | | |------------+------------------------+------------+-----------------+----------| Alan