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: Find Function, Command, Variable]

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

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

Major Mode, Minor Mode, Minibuffer, Hook