23
3
I love emacs,
and I want to do my web-programming work in it,
but I can't find a way to get it to edit HTML properly.
I mean it's seriously awful.
It will do HTML fine, but not PHP, javascript, etc.
I tried getting html-helper-mode... I downloaded it, put it in /usr/local/share/emacs/site-lisp, and added it to my .emacs file:
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist))
copied and pasted from some site (I don't know elisp).
it just, doesn't highlight anything at all.
I tried downloading a whole bunch of modes and using some other mode to string them together, to no avail.
Emacs is so great in every other way--why can't it do the simple task of editing web pages? I mean, it's a pretty standard thing to do for editors these days.
So, does anyone know how to do this?
4it looks useful but it's very painful to use... it loads slowly, doesn't indent properly, is ugly, runs slow, highlights everything red and then makes it all italic and just, is painful... – Carson Myers – 2009-08-09T03:15:04.580
1I've used nxhtml with success. Font colors and italics are all controllable by customizing the faces – Doug Harris – 2009-08-27T20:11:30.063