html-helper-mode
html-helper-mode is an emacs mode to make editing HTML
files easier, inspired by Marc Andreessen's html-mode. html-helper-mode does
most of the things that html-mode does, but with a slightly different
interface and lots of new features.
To use this mode, you need two lisp files:
You might also like to try this user-contributed code by
Ulrik Dickow for
font-lock support.
Put these files in your load-path and byte compile them (if
you want). Then arrange for html-helper-mode to be loaded: the easiest
way is to put this in your .emacs:
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist))
Alternately, you can get an entire distribution of html-helper-mode,
including these HTML documents, as
html-helper-mode.tar.gz.
NEW: the version of tempo.el I am now distributing is version 1.2.
There are lots of new things in this version: the relevant change here is
the completion code has been updated to be consistent with post emacs-19.26
definitions of the \= regexp token. If completion wasn't working
before, try this version. I still have version 1.0
around if you need it.
You can get there from here
Acknowledgements
Many thanks to David
Kågedal <davidk@lysator.liu.se> for coming along at just
the right time with tempo.el, the basic template code that underlies
html-helper-mode. Many of the neat features like completion and field
support are because of his good design and programming.
Thanks to Ulrik Dickow for his font-lock code.
Thanks to the author of cc-mode, Barry Warsaw <baw@anthem.nlm.nih.gov>,
his code provided a useful guide in writing this mode (not to
mention saving me many hours of formatting C, C++, and Objective C!)
My appreciation to Marc Andreessen <marca@netscape.com>, the
author of the original html-mode.
And finally, many thanks to the various people on the net who have been
offering encouragement, suggestions, and example code. Y'all're the main
reason I'm writing this, and the main reason it's usable.
New HTML document writers should read something like the
HTML
primer. The references at the bottom of the primer are all worth
following. Yahoo has
a good index of
HTML info
on the Web.
Comments and suggestions are highly encouraged.
Nelson Minar <nelson@santafe.edu>
Last modified: Tue Feb 28 10:32:13 1995