From: Paul <paulburk314@gmail.com> To: Emacs-orgmode@gnu.org Subject: export literal examples font-lock: ess-mode Date: Fri, 17 Aug 2012 09:23:22 -0400 [thread overview] Message-ID: <CAF07QmzH=013KeA5i2z1Zk+HEL3DT4omp4i=2yOcJqDYSE-fMg@mail.gmail.com> (raw) 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' } #+end_src 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! Paul
next reply other threads:[~2012-08-17 13:23 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-17 13:23 Paul [this message] 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
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='CAF07QmzH=013KeA5i2z1Zk+HEL3DT4omp4i=2yOcJqDYSE-fMg@mail.gmail.com' \ --to=paulburk314@gmail.com \ --cc=Emacs-orgmode@gnu.org \ --subject='Re: export literal examples font-lock: ess-mode' \ /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
Code repositories for project(s) associated with this 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).