Torsten Wagner (torsten.wag...@gmail.com) wrote:
> Hi everybody,
> 
> Abstract: This is a very quick (and I assume very dirty) hack, how to switch 
> between org-mode and any other mode which you like to use in the source code 
> blocks. It is far from being addable to org-babel yet but might be a good 
> starting point.

[snipped]

> Solution: I found on emacs-wiki the minor-mode two-mode-mode.el [1] from 
> David 
> N. Welton. I was able to modify it with a minimum to allow switching between 
> org-mode and python-mode. However, other (multiple) modes should be possible 
> as well.

Thanks for sharing.  Just for reference, there are few major modes out
there implementing this kind of approach:

  http://www.emacswiki.org/emacs/MultipleModes

For example I have used mmm-mode to good effect in the past, to
auto-switch between HTML and Perl:

  http://mmm-mode.sourceforge.net/


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to