(lispref.info)Text


Next: Searching and Matching Prev: Markers Up: Top

Text
****

   This chapter describes the functions that deal with the text in a
buffer.  Most examine, insert or delete text in the current buffer,
often in the vicinity of point.  Many are interactive.  All the
functions that change the text provide for undoing the changes (*note
Undo::.).

   Many text-related functions operate on a region of text defined by
two buffer positions passed in arguments named START and END.  These
arguments should be either markers (Note: Markers.) or or numeric
character positions (Note: Positions.).  The order of these arguments
does not matter; it is all right for START to be the end of the region
and END the beginning.  For example, `(delete-region 1 10)' and
`(delete-region 10 1)' perform identically.  An `args-out-of-range'
error is signaled if either START or END is outside the accessible
portion of the buffer.  In an interactive call, point and the mark are
used for these arguments.

   Throughout this chapter, "text" refers to the characters in the
buffer.

* Near Point
Examining text in the vicinity of point.
* Buffer Contents
Examining text in a general fashion.
* Comparing Text
Comparing substrings of buffers.
* Insertion
Adding new text to a buffer.
* Commands for Insertion
User-level commands to insert text.
* Deletion
Removing text from a buffer.
* User-Level Deletion
User-level commands to delete text.
* The Kill Ring
Where removed text sometimes is saved for later use.
* Undo
Undoing changes to the text of a buffer.
* Maintaining Undo
How to enable and disable undo information. How to control how much information is kept.
* Auto Filling
How auto-fill mode is implemented to break lines.
* Filling
Functions for explicit filling.
* Sorting
Functions for sorting parts of the buffer.
* Indentation
Functions to insert or adjust indentation.
* Columns
Computing horizontal positions, and using them.
* Case Changes
Case conversion of parts of the buffer.
* Text Properties
Assigning Lisp property lists to text characters.
* Substitution
Replacing a given character wherever it appears.
* Underlining
Inserting or deleting underlining-by-overstrike.
* Registers
How registers are implemented. Accessing the text or position stored in a register.
* Change Hooks
Supplying functions to be run when text is changed.

automatically generated by info2www