[Top] [Contents] [Index] [ ? ]

MMM Mode Manual

MMM Mode is a minor mode for Emacs which allows Multiple Major Modes to coexist in a single buffer.

This is edition 0.4.7 of the MMM Mode Manual, last updated 18 February 2001, which documents version 0.4.7 of MMM Mode.

1. Overview of MMM Mode  An overview and introduction to MMM Mode.
2. MMM Mode Basics  The basics of how to use it.
3. Customizing MMM Mode  Customizing how it works to your needs.
4. Supplied Submode Classes  The supplied submode classes.
5. Writing Submode Classes  Writing your own submode classes.
6. Indices  Just that.
-- The Detailed Node Listing ---
Overview of MMM Mode
1.1 Basic Concepts  A simple explanation of how it works.
1.2 Installing MMM Mode  How to install MMM Mode.
1.3 Getting Started Quickly  Getting started using MMM Mode quickly.
MMM Mode Basics
2.1 The MMM Minor Mode  The Emacs minor mode that manages it all.
2.2 Understanding Submode Classes  What they are and how to use them.
2.3 How MMM Mode selects submode classes  How MMM Mode knows what classes to use.
2.4 Inserting new submode regions  Inserting new submode regions automatically.
2.5 Re-Parsing Submode Regions  Re-scanning for submode regions.
2.6 Interactive MMM-ification Functions  Adding submode regions manually.
2.7 MMM Global Mode  Turning MMM Mode on automatically.
The MMM Minor Mode
2.1.1 Enabling MMM Mode  Turning MMM Mode on and off.
2.1.2 Key Bindings in MMM Mode  Default key bindings in MMM Mode.
How MMM Mode selects submode classes
2.3.1 File-Local Submode Classes  Classes for a single file.
2.3.2 Submode Classes Associated with Modes and Extensions  Classes for a given mode or extension.
2.3.3 Globally Applied Classes and the Universal Class  Classes for all MMM Mode buffers.
MMM Global Mode
2.7.1 The Major Mode Hook  Using MMM's Major Mode Hook
Customizing MMM Mode
3.1 Customizing Region Coloring  Changing or removing background colors.
3.2 Preferred Major Modes  Choosing which major modes to use.
3.3 Customizing the Mode Line Display  What is displayed in the mode line.
3.4 Customizing the MMM Mode Key Bindings  Customizing the MMM Mode key bindings.
3.5 Changing Saved Local Variables  What local variables are saved for submodes.
3.6 Changing the Supplied Submode Classes  Changing the supplied submode classes.
3.7 Hooks Provided by MMM Mode  How to make MMM Mode run your code.
Supplied Submode Classes
4.1 Mason: Perl in HTML  Mason server-side Perl in HTML.
4.2 Elisp in a Local Variables List  Elisp code in File Variables.
4.3 Here-documents  Code in shell and Perl here-documents.
4.4 Javascript in HTML  Javascript embedded in HTML.
4.5 CSS embedded in HTML  CSS Styles embedded in HTML.
4.6 Embperl: More Perl in HTML  Another syntax for Perl in HTML.
4.7 ePerl: General Perl Embedding  A general Perl-embedding syntax.
4.8 JSP: Java Embedded in HTML  Java code embedded in HTML.
4.9 RPM Spec Files  Shell scripts in RPM Spec Files.
Writing Submode Classes
5.1 Writing Basic Submode Classes  Writing a simple submode class.
5.2 Matching Paired Delimiters  Matching paired delimiters.
5.3 Placing Submode Regions Precisely  Placing the region more accurately.
5.4 Defining Groups of Submodes  Grouping several classes together.
5.5 Calculating the Correct Submode  Deciding the submode at run-time.
5.6 Calculating the Correct Highlight Face  Deciding the display face at run-time.
5.7 Specifying Insertion Commands  Inserting regions automatically.
5.8 Other Hooks into the Scanning Process  Running code at arbitrary points.
5.9 Controlling the Form of the Delimiters  Storing the form of the delimiters.
5.10 Miscellaneous Other Keyword Arguments  Other miscellaneous options.
6.1 Concept Index  Index of MMM Mode Concepts.
6.2 Function and Variable Index  Index of functions and variables.
6.3 Keystroke Index  Index of key bindings in MMM Mode.

This document was generated by XEmacs Webmaster on October, 2 2007 using texi2html