tags:

views:

828

answers:

2

Whenever I indent HTML in PHP mode, emacs (22.1.1, basic install on Redaht Linux over Putty-SSH) pops up a frame and tells me to get MUMODE or somesuch extra add-on. I installed PHP Mode without a big hassle, but I don't know how to get this multi-mode rolling.


I'd like to know 2 things

  1. How to install and configure multi-mode
  2. How to disable pop-ups in Emacs
+1  A: 

If you're running emacs 22, you should just be able to run:

M-x nxhtml-mumamo

when editing an html document. You might want to add it to your auto-mode-alist to get it to automatically load for html docs. See here for more info:

http://www.emacswiki.org/cgi-bin/wiki/MuMaMo
http://www.emacswiki.org/cgi-bin/wiki/PhpMode

bmdhacks
Thanks! This worked great for windows, oddly enough. MuMaMo seems super slow through my SSH connection though.
Peter Turner
A: 

multi-mode and html-php-mode can be found here : http://www.loveshack.ukfsn.org/emacs/

It can be initialized with:

(require 'html-php)
(add-to-list 'auto-mode-alist '("\\.php\\'" . html-php-mode))
Richard Riley