From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: fontification of blocks inside blocks Date: Fri, 14 Mar 2014 13:09:35 +0100 Message-ID: References: <8738imrupo.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOQzB-0003En-B1 for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 08:13:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOQz5-0002oT-DJ for emacs-orgmode@gnu.org; Fri, 14 Mar 2014 08:13:13 -0400 In-Reply-To: <8738imrupo.fsf@bzg.ath.cx> (Bastien's message of "Thu, 13 Mar 2014 16:20:35 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode Bastien writes: > Hi Alan, > > Alan Schmitt 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. I can definitely live with this ;-) Thanks for the answer. Alan