emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking buffer positions across time, without markers (was Re: PL s


From: Eli Zaretskii
Subject: Re: Tracking buffer positions across time, without markers (was Re: PL support)
Date: Mon, 11 May 2020 17:39:36 +0300

> From: Vladimir Sedach <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, João Távora
>  <address@hidden>, address@hidden
> Date: Sun, 10 May 2020 17:17:10 -0700
> 
> One naive way to obtain this function is to "snapshot" the buffer by
> assigning every character in the buffer a text property with the
> value of its position at the time of the snapshot.

This is not recommended, as it might slow down redisplay considerably.
The display engine examines text properties of characters as it moves
through the visible portion of the buffer deciding how to lay it out
on display.  Commands that use "display simulation", such as C-n, will
also be affected.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]