[Aquamacs-devel] Aquamacs-devel Digest, Vol 2, Issue 8
Jon Shea
wotd at alum.dartmouth.org
Wed Jul 15 16:02:31 UTC 2009
On Jul 14, 2009, at 8:00 AM, aquamacs-devel-request at aquamacs.org wrote:
> Is it possible to get Aquamacs to work with the nxhtml mode?
>
> As far as I know it's the only advanced Emacs mode for coding php/html
> but I can't get it to work.
I use Aquamacs with nxhtml-mode all the time to edit erb / html files
and it works fine for me. The relevant section of my .emacs looks like
this:
;; nxml (HTML ERB template support)
(load "~/emacs/nxhtml/autostart.el")
(setq
nxhtml-global-minor-mode t
mumamo-chunk-coloring 'submode-colored
nxhtml-skip-welcome t
indent-region-mode t
rng-nxml-auto-validate-flag nil
nxml-degraded t)
(add-to-list 'auto-mode-alist '("\\.rhtml\\'" . eruby-html-mumamo))
(add-to-list 'auto-mode-alist '("\\.html\\.erb\\'" . eruby-nxhtml-
mumamo-mode))
My whole .emacs can be found here:
http://github.com/jonshea/config-files/blob/c8f49ef8338e85bd7ab1c018c60931121602262e/.emacs
Good luck,
-Jon
More information about the Aquamacs-devel
mailing list