[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: BEGIN_SRC
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: BEGIN_SRC |
Date: |
Thu, 20 Aug 2009 18:41:05 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Kyle Sexton <address@hidden> writes:
> Is it possible to have BEGIN_SRC use the mode for the programming
> language within it's block?
>
> For example:
>
> #+BEGIN_SRC emacs-lisp
> ; Treat this block with emacs-lisp-mode
> #+END_SRC
>
> My first thought is that this would require mmm-mode. Anyone doing
> something similar?
You probably know this already but just in case... you can use C-c '
inside the block and it switches to that mode with just the contents of
the block. C-c ' gets out again.
-Bernt