From: nb85 <blip420@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: General programming mode
Date: Wed, 2 Sep 2009 10:39:00 -0700 (PDT) [thread overview]
Message-ID: <25262182.post@talk.nabble.com> (raw)
Hello,
I was wondering if there is a language agnostic major mode for emacs that
would be useful for files with multiple major modes.
Syntax coloring is not as important so much as being able to {in/out}dent
code on-the-fly, but it would be useful to have.
mmm-mode and nxhtml-mode are fine for PHP, HTML + Javascript. But when
editing inside a <![CDATA[ tag in XUL neither applies the correct block
level indentation.
<?xml version="1.0"?>
<overlay id="ig-browser-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript">
<![CDATA[
window.addEventListener("load", function () {
alert("foo")
]]>
</script>
</overlay>
Any ideas would be much appreciated.
Thanks,
Nick
--
View this message in context: http://www.nabble.com/General-programming-mode-tp25262182p25262182.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
reply other threads:[~2009-09-02 17:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25262182.post@talk.nabble.com \
--to=blip420@gmail.com \
--cc=Help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.