From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: fontification of blocks inside blocks Date: Thu, 13 Mar 2014 16:20:35 +0100 Message-ID: <8738imrupo.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO7Ue-00011w-Vb for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 11:24:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO7UZ-0000Np-Me for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 11:24:24 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:52091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO7UZ-0000Ni-Hp for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 11:24:19 -0400 In-Reply-To: (Alan Schmitt's message of "Thu, 27 Feb 2014 08:38:20 +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: Alan Schmitt Cc: emacs-orgmode 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. -- Bastien