[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).
Stefan
- Re: Native display of line numbers, (continued)
Re: Native display of line numbers, Alan Mackenzie, 2017/06/19
Re: Native display of line numbers, Filipe Silva, 2017/06/22
Re: Native display of line numbers, Yuri Khan, 2017/06/22
Re: Native display of line numbers, Joseph Garvin, 2017/06/17