for questions about handling white or blank spaces. Besides space characters, Emacs is configured to handle the following as white space characters: tabs, indents, newlines that create blank space between text, either horizontally or vertically.
Emacs provides extensive editing, parsing, printing, and programming support for handling white spaces. The whitespace-mode in one such feature, which has consolidated
blank-mode and many other
Emacs can clean up spurious whitespace characters in buffers without clobbering spacing needs of the underlying programming language syntax.
Emacs also uses the same whitespace definitions for determining boundaries between words, sentences, expression, etc., for text selections, insertions, deletions, and general navigation.
Some whitespace functions insert customizable visual characters for easy visibility.