help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: relative line numbers and folding: how to make they play along?


From: Stefan Monnier
Subject: Re: relative line numbers and folding: how to make they play along?
Date: Wed, 13 Jul 2016 16:10:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> What are "relative line numbers" in Emacs?  I see nothing in these
> discussions that describes how (with what commands/packages) the line
> numbers were produced in Emacs.  So it's hard to tell anything
> intelligent about this issue.

I think to implement relative-visual-linum-mode efficiently, we'd need
help from the display engine.  E.g.:
- First perform redisplay of the window.
- then, go through the window, visual-line by visual-line
  and add something in the margin.
- then update the margin part of the matrices.


        Stefan




reply via email to

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