Emacs: List Major Modes
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.
- auto-mode-alist
- Alist of file name patterns vs corresponding major mode functions. [see Emacs: Show Variable Value]