|
From: | Stefan Monnier |
Subject: | Re: Temporarily select-window, without updating mode-line face and cursor fill? |
Date: | Tue, 04 May 2021 15:40:31 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Neither format-mode-line nor window-point manipulation is needed now. > Unlike nlinum, it also does not require an after-change-function, opting > instead to save a buffer tick and point-min/max to look for buffer > modifications and any narrowing/widening. Oh, that's a great idea. I think this could really be retrofitted directly into `line-number-at-pos` (and eventually used by `format-mode-line` as well ;-). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |