[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
General programming mode
From: |
nb85 |
Subject: |
General programming mode |
Date: |
Wed, 2 Sep 2009 10:39:00 -0700 (PDT) |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- General programming mode,
nb85 <=