aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2009-04-11 08:54:44 +0000
committerEli Zaretskii2009-04-11 08:54:44 +0000
commitb20ecfa1c43a79be4ca6f33b63c2b3656e41f4b3 (patch)
treeff889c8ae04a6a4c5610b572c03e376c349546ae
parentcd093dcf56632f26b48c90419ef96b90c3bb9043 (diff)
downloademacs-b20ecfa1c43a79be4ca6f33b63c2b3656e41f4b3.tar.gz
emacs-b20ecfa1c43a79be4ca6f33b63c2b3656e41f4b3.zip
(Overlays): Overlays don't scale well. See
http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00243.html.
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi8
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 503212097d6..58349355a0b 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12009-04-11 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Overlays): Overlays don't scale well. See
4 http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00243.html.
5
12009-04-10 Chong Yidong <cyd@stupidchicken.com> 62009-04-10 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * syntax.texi (Syntax Table Functions): Document cons cell 8 * syntax.texi (Syntax Table Functions): Document cons cell
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index b017ce70704..a6c09cd0e30 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1148,6 +1148,14 @@ object that belongs to a particular buffer, and has a specified
1148beginning and end. It also has properties that you can examine and set; 1148beginning and end. It also has properties that you can examine and set;
1149these affect the display of the text within the overlay. 1149these affect the display of the text within the overlay.
1150 1150
1151@cindex scalability of overlays
1152The visual effect of an overlay is the same as of the corresponding
1153text property (@pxref{Text Properties}). However, due to a different
1154implementation, overlays generally don't scale well (many operations
1155take a time that is proportional to the number of overlays in the
1156buffer). If you need to affect the visual appearance of many portions
1157in the buffer, we recommend to use text properties.
1158
1151An overlay uses markers to record its beginning and end; thus, 1159An overlay uses markers to record its beginning and end; thus,
1152editing the text of the buffer adjusts the beginning and end of each 1160editing the text of the buffer adjusts the beginning and end of each
1153overlay so that it stays with the text. When you create the overlay, 1161overlay so that it stays with the text. When you create the overlay,