Hi Stefan, thanks for the suggestion.
It sort of works. However, only sort of. I miss theĀ  linum-format variable and the linum face.
Maybe too many years in linum-mode

My linum settings look cool, don't they? ;-)
image.png

Best, /PA


On Mon, 12 Oct 2020 at 15:00, Stefan Kangas <stefan@marxist.se> wrote:
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> emacs -Q <long file>
>
> select any theme with colours
> M-x linum-mode
> customize-variable linum-format to %05d
> config to truncate long lines
> Go to the end of a truncated line. The limun buffer disappears and is
> replaced by blanks. IMHO, the linum buffer should no change

Does this work better if you use display-line-numbers-mode instead?


--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler