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 12:54:59 +0100 Message-ID: <8738impb3g.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]:34881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO4D7-0001by-4U for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 07:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO4D1-0008U1-4K for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 07:54:05 -0400 Received: from plane.gmane.org ([80.91.229.3]:38706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO4D0-0008Tj-TX for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 07:53:59 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WO4Cz-0000UZ-T9 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 12:53:57 +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 12:53:57 +0100 Received: from tjolitz by e178061230.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Mar 2014 12:53:57 +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 Alan Schmitt writes: > 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)? 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