Emacs: List Major Modes

By Xah Lee. Date: .

To list major modes:

Do Alt+x apropos-command, then type “-mode”. (it's not a complete list, because some major mode's name do not end in “mode”) [see Emacs: List All Functions]

Or, look at the variable auto-mode-alist.

auto-mode-alist
Alist of file name patterns vs corresponding major mode functions. [see Emacs: Show Variable Value]

Emacs, major mode, minor mode, minibuffer, hook