emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <johnrkitchin@gmail.com>
To: "alain.cochard@unistra.fr" <alain.cochard@unistra.fr>,
	"emacs-orgmode@gnu org" <emacs-orgmode@gnu.org>
Cc: Alain Cochard <Alain.Cochard@unistra.fr>
Subject: Re: "Fortran" missing "in List of supported code block languages"?
Date: Thu, 14 May 2015 06:56:11 -0400	[thread overview]
Message-ID: <re4y8xhm5aryxxs7cit0oejo.1431600971956@email.android.com> (raw)

Fortran is supported in the sense that you can edit a block in Fortran mode. But you cannot execute a Fortran block directly afaik. You have to tangle it, compile it and then run the executable.

For example like this:

http://kitchingroup.cheme.cmu.edu/blog/2014/02/04/Literate-programming-example-with-Fortran-and-org-mode/

On May 14, 2015, at 2:20 AM, Alain.Cochard@unistra.fr wrote:


I was starting investigating "Working with source code". I tried with
the bloc: 

   #+BEGIN_SRC fortran
   #+END_SRC

The 'fortran' keyword is indeed recognized in the edit buffer, and, as
far as I can see, everything works quite well.

But I later realized that 'Fortran' is not mentioned in the list of
supported languages, section 14.7 of the org info manual [File: org,
Node: Languages].  Perhaps because it is still in development?  But if
I had checked this list before, I wouldn't even have tried it, waiting
for better times...  Is there an independent way of checking which
languages are supported?

Thanks

--

(As an aside note, I fail to understand why the 'Emacs Calc' language,
with identifier 'calc', appears before 'C' in the list.  Perhaps
because it is difficult to update such a two-column format, and 'calc'
is close enough to its true place?  But, for me at least, I fell that
a single column would actually be less confusing; and anyway, I
believe a blank line after the "Language ... Identifier" line would
help.)

Package: Org-mode version 8.2.10 (release_8.2.10 @
/usr/share/emacs/24.5/lisp/org/)


-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

             reply	other threads:[~2015-05-14 10:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 10:56 John Kitchin [this message]
2015-05-14 11:05 ` "Fortran" missing "in List of supported code block languages"? Rasmus
2015-05-14 12:37 ` "Fortran" missing in "List " Alain.Cochard
2015-05-14 14:01   ` Ista Zahn
2015-05-14 17:21     ` Thomas S. Dye
2015-05-14 12:37 ` Alain.Cochard
  -- strict thread matches above, loose matches on Subject: below --
2015-05-14  6:19 "Fortran" missing "in List " Alain.Cochard
2015-05-14 14:19 ` Nicolas Goaziou

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=re4y8xhm5aryxxs7cit0oejo.1431600971956@email.android.com \
    --to=johnrkitchin@gmail.com \
    --cc=alain.cochard@unistra.fr \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).