[Top][All Lists]

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

Re: Native display of line numbers

From: Stefan Monnier
Subject: Re: Native display of line numbers
Date: Fri, 23 Jun 2017 12:23:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> Anyway, implementing this will need to code a whole different method
> of counting lines (the current branch just reuses the same code which
> produces the line numbers in the mode line), so I will need to
> experiment to see if it can be implemented fast enough to avoid
> slowing down redisplay, which is already slower in folded buffers.

Indeed, to make it fast enough it probably needs to count lines using
the matrices rather than the buffer.  That should actually make it
faster than absolute line numbers (at least in large buffers).


reply via email to

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