Emacs mode. The name stands for Multiple Major Modes.

The MMM package allows you to use some major modes inside other major modes. This is particularly important for using embeddable languages. For example, with MMM you can edit a HTML document, embed PHP or ECMAscript in it, and coloring with font-lock and indenting work automagically no matter what you're actually editing.