History of 2021-05-17 Updating an Emacs buffer in real-time

2021-05-17
19:33 UTC Revision 1 . . . . mborkI am in the process of writing some Elisp code which needs to provide feedback to the user about a certain aspect of the state of the buffer. (This is a bit vague, I know, but the whole thing is not yet blog-ready – sorry for that. And since it is a fair amount of code, I won’t be blogging about it in detail when it’s done, so I decided to share one or two things if they are potentially interesting.) The point is that every change to the buffer’s content may change that aspect, and computing it may be a bit expensive. The problem is, how to do that efficiently?