From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: XML src block syntax highlighting Date: Thu, 25 Apr 2013 11:57:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----4NCFAU6VCJEHK3FB38VBIY4WIBHM8F" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVIwO-0000TI-N2 for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 05:58:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVIwJ-0004QN-Hx for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 05:58:12 -0400 Received: from v2201111105296627.yourvserver.net ([46.38.233.178]:41460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVIwJ-0004Os-BU for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 05:58:07 -0400 Received: from tmo-096-109.customers.d1-online.com ([80.187.96.109] helo=[10.37.211.23]) by v2201111105296627.yourvserver.net with esmtpsa (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.76) (envelope-from ) id 1UVIw8-0006cT-3C for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 11:58:00 +0200 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 ------4NCFAU6VCJEHK3FB38VBIY4WIBHM8F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi, I'm in the process of writing documentation for a simple HTTP based AP= I that returns responses as XML=2E The included response examples are blo= cks of the form: #+BEGIN_SRC xml :exports code =2E=2E=2E #+END_SRC I have org-= src-fontify-natively =3D and it works for other code, but xml is fontified = as a fundamental buffer, not like nxml-mode shows the block contents=2E nxm= l-mode /is/ used when I use C-c ' to edit the contents=2E Do I miss someth= ing in my setup to let org-mode use nxml-mode for xml src-blocks? kind reg= ards, Tom -- xmpp://tom@sec=2Egoochesa=2Ede http://www=2Egoochesa=2Ede ------4NCFAU6VCJEHK3FB38VBIY4WIBHM8F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,

I'm in the process of writing documenta= tion for a simple HTTP based API that returns responses as XML=2E

= The included response examples are blocks of the form:

#+BEGIN_SR= C xml :exports code
<?xml version=3D"1=2E0" encoding=3D&qu= ot;utf-8"?>
<validxml>
=2E=2E=2E
</validxml&= gt;
#+END_SRC

I have org-src-fontify-natively =3D and it works= for other code, but xml is fontified as a fundamental buffer, not like nxm= l-mode shows the block contents=2E nxml-mode /is/ used when I use C-c '= to edit the contents=2E

Do I miss something in my setup to let or= g-mode use nxml-mode for xml src-blocks?

kind regards,
Tom --
xmpp://tom@sec=2Egoochesa=2Ede
http://www=2Egoochesa=2Ede ------4NCFAU6VCJEHK3FB38VBIY4WIBHM8F--