emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom <tom@goochesa.de>
To: emacs-orgmode@gnu.org
Subject: XML src block syntax highlighting
Date: Thu, 25 Apr 2013 11:57:49 +0200	[thread overview]
Message-ID: <b3138c35-bba7-4045-a685-08727a797e11@email.android.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

Hi,

I'm in the process of writing documentation for a simple HTTP based API that returns responses as XML.

The included response examples are blocks of the form:

#+BEGIN_SRC xml :exports code
<?xml version="1.0" encoding="utf-8"?>
<validxml>
  ...
</validxml>
#+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.

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

kind regards,
Tom
--
xmpp://tom@sec.goochesa.de
http://www.goochesa.de

[-- Attachment #2: Type: text/html, Size: 865 bytes --]

             reply	other threads:[~2013-04-25  9:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25  9:57 Tom [this message]
2013-04-25 14:24 ` XML src block syntax highlighting Suvayu Ali
2013-04-25 15:03   ` Tom
2013-04-26  6:50     ` Suvayu Ali
2013-04-26  7:07       ` Tom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3138c35-bba7-4045-a685-08727a797e11@email.android.com \
    --to=tom@goochesa.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).