Next: Mode Functions, Previous: Mode Hooks, Up: Modes [Contents][Index]
There are two kinds of modes, major modes and minor modes. A buffer always has exactly one major mode, but it may have any number of minor modes. Major modes may have mode character attributes while minor modes may not.
A major mode is usually used to change the environment in some major way, such as to install special commands for editing some language. Minor modes generally change some small attribute of the environment, such as whether lines are automatically broken when they get too long. A minor mode should work regardless of what major mode and minor modes are in effect.
This variable contains a list of mode names which are instantiated in a buffer when no other information is available.
Holds a string-table of the names of all the modes.
This is a useful command to bind in modes that wish to shadow global bindings by making them effectively illegal. Also, although less likely, minor modes may shadow major mode bindings with this. This command calls editor-error.
Next: Mode Functions, Previous: Mode Hooks, Up: Modes [Contents][Index]