From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [RFC] Association list between major-mode-names and babel identifiers Date: Thu, 13 Mar 2014 06:04:47 +0100 Message-ID: <87ioripu34.fsf@gmail.com> 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]:34664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNxoA-0002xu-1R for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 01:04:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNxo2-0001Ku-MH for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 01:03:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:42026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNxo2-0001Kl-FW for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 01:03:46 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WNxo1-0006DI-7R for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 06:03:45 +0100 Received: from e178061230.adsl.alicedsl.de ([85.178.61.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 06:03:45 +0100 Received: from tjolitz by e178061230.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 06:03:45 +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: emacs-orgmode@gnu.org 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: > > > |------------+------------------------+------------+-----------------+----------| > | 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