emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] fontification of blocks inside blocks


From: Bastien
Subject: Re: [O] fontification of blocks inside blocks
Date: Thu, 13 Mar 2014 16:20:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Alan,

Alan Schmitt <address@hidden> writes:

> I've just had to write an org block inside another org block, which
> looks like this:
>
> #+attr_latex: :options {0.5\textwidth}
> #+begin_column
> #+begin_src ocaml
> let o1 = object
>       method m = 0
>       method p = "foo"
> end;;
> #+end_src
> #+end_column
>
> Unfortunately when I do so I lose the nice fontification of the ocaml
> code inside the inner block. Is there a way to get it back?

Well, that's a long awaited ... "no".

I guess it would somehow make sense, but the fontification engine is
complex enough not to try to implement such nested fontification.
But maybe some Emacs angel can pass by and implement this. 

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]