all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* General programming mode
@ 2009-09-02 17:39 nb85
  0 siblings, 0 replies; only message in thread
From: nb85 @ 2009-09-02 17:39 UTC (permalink / raw)
  To: Help-gnu-emacs


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.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-02 17:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-02 17:39 General programming mode nb85

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.