diff options
| author | Richard M. Stallman | 2006-01-20 01:30:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-01-20 01:30:06 +0000 |
| commit | 7b6f346ed332ae0706fba83493e42f61f9d233da (patch) | |
| tree | c7cfe9a5ab224d089bfa080df22e6d7d15f8780c | |
| parent | b3486dafd7601302fd60655889dfd10aea2448b1 (diff) | |
| download | emacs-7b6f346ed332ae0706fba83493e42f61f9d233da.tar.gz emacs-7b6f346ed332ae0706fba83493e42f61f9d233da.zip | |
(Overview of Markers): Count insertion type as one of a marker's attributes.
| -rw-r--r-- | lispref/markers.texi | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lispref/markers.texi b/lispref/markers.texi index ab16afc3ac4..aa26a0aa030 100644 --- a/lispref/markers.texi +++ b/lispref/markers.texi | |||
| @@ -36,14 +36,15 @@ way usually points to a position in the buffer that the function | |||
| 36 | operates on, but that is entirely the programmer's responsibility. | 36 | operates on, but that is entirely the programmer's responsibility. |
| 37 | @xref{Positions}, for a complete description of positions. | 37 | @xref{Positions}, for a complete description of positions. |
| 38 | 38 | ||
| 39 | A marker has two attributes: the marker position, and the marker | 39 | A marker has three attributes: the marker position, the marker |
| 40 | buffer. The marker position is an integer that is equivalent (at a | 40 | buffer, and the insertion type. The marker position is an integer |
| 41 | given time) to the marker as a position in that buffer. But the | 41 | that is equivalent (at a given time) to the marker as a position in |
| 42 | marker's position value can change often during the life of the marker. | 42 | that buffer. But the marker's position value can change often during |
| 43 | Insertion and deletion of text in the buffer relocate the marker. The | 43 | the life of the marker. Insertion and deletion of text in the buffer |
| 44 | idea is that a marker positioned between two characters remains between | 44 | relocate the marker. The idea is that a marker positioned between two |
| 45 | those two characters despite insertion and deletion elsewhere in the | 45 | characters remains between those two characters despite insertion and |
| 46 | buffer. Relocation changes the integer equivalent of the marker. | 46 | deletion elsewhere in the buffer. Relocation changes the integer |
| 47 | equivalent of the marker. | ||
| 47 | 48 | ||
| 48 | @cindex marker relocation | 49 | @cindex marker relocation |
| 49 | Deleting text around a marker's position leaves the marker between the | 50 | Deleting text around a marker's position leaves the marker between the |