10.2.1 Buffer Local Minor Modes
- ‘Abbrev’ mode automatically expands text based on pre-defined abbreviation
definitions. See Abbrevs.
- ‘Auto Fill’ mode inserts newlines as you type to prevent lines from becoming
too long. See Filling.
- ‘Auto Save’ mode saves the buffer contents periodically to reduce the amount
of work you can lose in case of a crash. See Auto Save.
- ‘Electric Quote’ mode automatically converts quotation marks. For example, it
requotes text typed ‘like this’ to text ‘like this’. You can control what
kind of text it operates in, and you can disable it entirely in individual
buffers. See Quotation Marks.
- ‘Enriched’ mode enables editing and saving of formatted text. See Enriched
Text.
- ‘Flyspell’ mode automatically highlights misspelled words. See Spelling.
- ‘Font-Lock’ mode automatically highlights certain textual units found in
programs. It is enabled globally by default, but you can disable it in
individual buffers. See Faces.
- ‘Display Line Numbers’ mode is a convenience wrapper around
display-line-numbers
, setting it using the value of
display-line-numbers-type
. See Display Custom.
- ‘Outline minor’ mode provides similar facilities to the major mode called
‘Outline’ mode. See Outline Mode.
- ‘Overwrite’ mode causes ordinary printing characters to replace existing text
instead of shoving it to the right. For example, if point is in front of the
‘B’ in ‘FOOBAR’, then in Overwrite mode typing a G changes it to ‘FOOGAR’,
instead of producing ‘FOOGBAR’ as usual. In ‘Overwrite’ mode, the command
‘C-q’ inserts the next character whatever it may be, even if it is a
digit—this gives you a way to insert a character instead of replacing an
existing character. The mode command, overwrite-mode, is bound to the Insert
key.
- ‘Binary Overwrite’ mode is a variant of ‘Overwrite’ mode for editing binary
files; it treats newlines and tabs like other characters, so that they
overwrite other characters and can be overwritten by them. In ‘Binary
Overwrite’ mode, digits after ‘C-q’ specify an octal character code, as
usual.
- ‘Visual Line’ mode performs word wrapping, causing long lines to be wrapped
at word boundaries. See Visual Line Mode.