emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom babel execute command with existing syntax highlighting
@ 2014-03-21 12:37 Andrey Tykhonov
  2014-03-23 16:24 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Tykhonov @ 2014-03-21 12:37 UTC (permalink / raw)
  To: emacs-orgmode


Hi all!

I have such block:

#+BEGIN_SRC my-python
import sys
sys.platform
#+END_SRC

I want it to be with syntax highlighting, so it will looks like (in a
org-file) exactly as:

#+BEGIN_SRC python
import sys
sys.platform
#+END_SRC

(of course the value of org-src-fontify-natively is t).

but in the same time I would like that that block will be executed by means
of custom org-babel-execute:my-python command.

How can I achieve that?



Andrey

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

end of thread, other threads:[~2014-03-24  1:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-21 12:37 Custom babel execute command with existing syntax highlighting Andrey Tykhonov
2014-03-23 16:24 ` Eric Schulte

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