Next Previous Contents

1. Installation

If you don't already have them, download:

DOWNLOADING NOTE: some browsers (notably lynx, and some versions of netscape) have trouble saving html-helper-mode correctly: they corrupt files with long lines. You'll have better luck if you can save the file to disk without displaying it first (shift-click in Netscape, capital D in lynx). Sorry about that, can't help buggy browsers.

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 [link to ftp://ftp.reed.edu/pub/src/html-helper-mode.tar.gz removed for the moment because linbot was choking on it -- is this file even there?].

You can find a distribution of this version of the package (with this updated documentation) in the http://pobox.com/~jeff.covey/html-helper-mode/ directory. There's a tarball there, and an rpm for people using redhat package manager-based systems.

The version of tempo.el I am now distributing is version 1.2.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.

1.1 Notes for various emacsen

GNU emacs 19

I develop this code under emacs 19.29, so it should work fine there. It should work fine on most modern emacs 19s, although some not-so-old versions had a different completion behaviour. Note if you save your files with C-xC-w (write-file) then local-write-file-hooks isn't run, which means timestamps don't update. (Even worse, the variable is cleared!). C-xC-s (save-file) does run the hook and the timestamps are updated. I don't understand why write-file doesn't run the local-write-file-hooks, but I recommend using save-file instead.

XEmacs 19

I intend this code to work under XEmacs, and I've heard occasional reports that it works.

GNU emacs 18

I think this code still works under emacs 18, but you should definitely upgrade to 19. Now that the FSF boycott of Apple is over, some enterprising person should get cracking on porting emacs 19 to the Macintosh. To run under emacs 18, you will need to have a definition of add-hook loaded, and you will need to have auc-menu.el installed.

Special Menu Note: there are two packages that provide the same menuing interfaces: auc-menu and easymenu. Unfortunately, they don't all work the same. Recent versions of GNU emacs 19 and XEmacs 19 both come with easymenu as part of the standard lisp library. If you are having menu troubles, verify that the shipped easymenu is being loaded: not any versions of auc-menu or easymenu that you might have lying around elsewhere (from auc-tex, in particular). Emacs 18 people still need to use auc-menu (which just stubs the functions so they do nothing).


Next Previous Contents