emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* export literal examples font-lock: ess-mode
@ 2012-08-17 13:23 Paul
  2012-08-17 15:12 ` Ista Zahn
  0 siblings, 1 reply; 5+ messages in thread
From: Paul @ 2012-08-17 13:23 UTC (permalink / raw)
  To: Emacs-orgmode

I write do-files for Stata code in emacs using ESS, which marks up my
code and sends it to a comint-mode buffer for evaluation.  I'd like to
include some source code in an org file, as in the below examle:

#+begin_src -n
foreach var of varlist _all{
     rename `var' new_`var'

I have a couple of questions:
How can I use ess fontification in this snippet and in the file to
which I export?  The manual says I "need to specify the name of the
major mode," however including "#+begin_src ess -n" results in the
following error "org-edit-src-code: No such language mode: nil-mode."
I've tried using ess-mode, and anything else I can think of, to no
avail.  What should I include?

Also, assuming I'm able to get the fontification to work, is there a
way to customize it for exporting?

Finally, org-babel looks tremendously useful.  Is there a way to
harness it's capabilities for an unsupported language like Stata's?

Thanks to everyone who read this through, and in particular to anyone
who can help!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-19 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-17 13:23 export literal examples font-lock: ess-mode Paul
2012-08-17 15:12 ` Ista Zahn
2012-08-17 15:33   ` Paul Burkander
2012-08-19  6:28     ` Bastien
2012-08-19 17:11       ` Paul Burkander

Code repositories for project(s) associated with this inbox:


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).