I am enjoying learning the EMACS text editor…but I can’t help thinking that the HTML mode could use some work.
I am currently programming in Legacy ASP/Javascript/CSS/HTML and was wondering if there is a mode that works with this. If possible, I was also hoping the mode wouldn’t be from 10+ years ago or in a buggy state.
Thanks for your help!
Will
nXhtml supports classic ASP JavaScript, is frequently updated and is not very buggy. It has better ASP support (except debugging) than current versions of Visual Studio IMO; I just use VS2010 for server-side debugging when necessary.
Here are the relevant sections of my
.emacs:Update: For newer versions of nXhtml, you may need to change
mumamo-asp-chunk-inlined-scripttomumamo-chunk-asp-server-script.(The last bit is necessary because the ASP code I’m working on assumes 4-space tabs; feel free to ignore it if this isn’t a problem for you.)
If you have ASP that ends in anything other than
.aspor.inc, you’ll need to editauto-mode-alistfurther.