Forum OpenACS Q&A: Response to HowTo on raising shared memory
;; Set additional editing modes. (setq auto-mode-alist (append '( (".adp$" . html-mode) ;; insert other modes here ) auto-mode-alist))
Btw, I am no emacs-lisp expert so the above may not be the best way to do it. But it seems to work.