This chapter describes Emacs commands that act on text, by which we mean sequences of characters in a human language (as opposed to, say, a computer programming language). These commands act in ways that take into account the syntactic and stylistic conventions of human languages: conventions involving words, sentences, paragraphs, and capital letters. There are also commands for filling, which means rearranging the lines of a paragraph to be approximately equal in length. These commands, while intended primarily for editing text, are also often useful for editing programs.
Emacs has several major modes for editing human-language text. If the file contains ordinary text, use Text mode, which customizes Emacs in small ways for the syntactic conventions of text. Outline mode provides special commands for operating on text with an outline structure.
Emacs has other major modes for text which contains “embedded” commands, such as TeX and LaTeX (see TeX Mode); HTML and SGML (see HTML Mode); XML (see); and Groff and Nroff (see Nroff Mode). In addition, you can edit formatted text in WYSIWYG style (“what you see is what you get”), using Enriched mode (see Formatted Text).
If you need to edit pictures made out of text characters (commonly referred to as “ASCII art”), use Picture mode, a special major mode for editing such pictures. See Picture Mode.
The “automatic typing” features may be useful when writing text. seeblog comments powered by . Disqus