From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: XML src block syntax highlighting Date: Thu, 25 Apr 2013 16:24:49 +0200 Message-ID: <20130425142449.GC18965@kuru.dyndns-at-home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVN6Z-0005WL-A9 for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 10:25:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVN6U-0004gq-OS for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 10:24:59 -0400 Received: from mail-ea0-x22f.google.com ([2a00:1450:4013:c01::22f]:45106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVN6U-0004gb-El for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 10:24:54 -0400 Received: by mail-ea0-f175.google.com with SMTP id f15so1246916eak.34 for ; Thu, 25 Apr 2013 07:24:53 -0700 (PDT) Received: from kuru.dyndns-at-home.com ([2001:610:120:3000:f2de:f1ff:fe37:c76c]) by mx.google.com with ESMTPSA id s47sm10621120eeg.8.2013.04.25.07.24.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 25 Apr 2013 07:24:52 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: emacs-orgmode@gnu.org On Thu, Apr 25, 2013 at 11:57:49AM +0200, Tom wrote: > > #+BEGIN_SRC xml :exports code > > > ... > > #+END_SRC > > I have org-src-fontify-natively = and it works for other code, but xml > is fontified as a fundamental buffer, not like nxml-mode shows the > block contents. nxml-mode /is/ used when I use C-c ' to edit the > contents. Can you try the following: #+BEGIN_SRC nxml :exports code .. #+END_SRC As far as I know, the language is supposed to be the leading part of -mode. My information is a bit outdated, so I could be wrong. Hope this helps, -- Suvayu Open source is the future. It sets us free.