Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b20ecfa1
Commit
b20ecfa1
authored
Apr 11, 2009
by
Eli Zaretskii
Browse files
(Overlays): Overlays don't scale well. See
http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00243.html
.
parent
cd093dcf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+5
-0
doc/lispref/display.texi
doc/lispref/display.texi
+8
-0
No files found.
doc/lispref/ChangeLog
View file @
b20ecfa1
2009-04-11 Eli Zaretskii <eliz@gnu.org>
* display.texi (Overlays): Overlays don't scale well. See
http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00243.html.
2009-04-10 Chong Yidong <cyd@stupidchicken.com>
* syntax.texi (Syntax Table Functions): Document cons cell
...
...
doc/lispref/display.texi
View file @
b20ecfa1
...
...
@@ -1148,6 +1148,14 @@ object that belongs to a particular buffer, and has a specified
beginning and end. It also has properties that you can examine and set;
these affect the display of the text within the overlay.
@cindex scalability of overlays
The visual effect of an overlay is the same as of the corresponding
text property (@pxref{Text Properties}). However, due to a different
implementation, overlays generally don'
t
scale
well
(
many
operations
take
a
time
that
is
proportional
to
the
number
of
overlays
in
the
buffer
).
If
you
need
to
affect
the
visual
appearance
of
many
portions
in
the
buffer
,
we
recommend
to
use
text
properties
.
An
overlay
uses
markers
to
record
its
beginning
and
end
;
thus
,
editing
the
text
of
the
buffer
adjusts
the
beginning
and
end
of
each
overlay
so
that
it
stays
with
the
text
.
When
you
create
the
overlay
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment