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 06:04:47 +0100 [thread overview]
Message-ID: <87ioripu34.fsf@gmail.com> (raw)
In-Reply-To: 87ob1apusq.fsf@gmail.com
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:
>
>
> |------------+------------------------+------------+-----------------+----------|
> | 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
next prev parent reply other threads:[~2014-03-13 5:04 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 [this message]
2014-03-13 7:39 ` Andreas Leha
2014-03-13 9:37 ` Alan Schmitt
2014-03-13 11:54 ` Thorsten Jolitz
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=87ioripu34.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.