aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-01-20 01:30:06 +0000
committerRichard M. Stallman2006-01-20 01:30:06 +0000
commit7b6f346ed332ae0706fba83493e42f61f9d233da (patch)
treec7cfe9a5ab224d089bfa080df22e6d7d15f8780c
parentb3486dafd7601302fd60655889dfd10aea2448b1 (diff)
downloademacs-7b6f346ed332ae0706fba83493e42f61f9d233da.tar.gz
emacs-7b6f346ed332ae0706fba83493e42f61f9d233da.zip
(Overview of Markers): Count insertion type as one of a marker's attributes.
-rw-r--r--lispref/markers.texi17
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
36operates on, but that is entirely the programmer's responsibility. 36operates 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
40buffer. The marker position is an integer that is equivalent (at a 40buffer, and the insertion type. The marker position is an integer
41given time) to the marker as a position in that buffer. But the 41that is equivalent (at a given time) to the marker as a position in
42marker's position value can change often during the life of the marker. 42that buffer. But the marker's position value can change often during
43Insertion and deletion of text in the buffer relocate the marker. The 43the life of the marker. Insertion and deletion of text in the buffer
44idea is that a marker positioned between two characters remains between 44relocate the marker. The idea is that a marker positioned between two
45those two characters despite insertion and deletion elsewhere in the 45characters remains between those two characters despite insertion and
46buffer. Relocation changes the integer equivalent of the marker. 46deletion elsewhere in the buffer. Relocation changes the integer
47equivalent 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