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

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

bug#50506: 28.0.50; display-line-numbers equivalent for linum-format?


From: Eli Zaretskii
Subject: bug#50506: 28.0.50; display-line-numbers equivalent for linum-format?
Date: Fri, 10 Sep 2021 15:30:48 +0300

> Date: Fri, 10 Sep 2021 01:40:45 -0600
> From:  "Michael Gallagher (CIRES/NOAA)" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> linum mode has several performance issues but has the convenient ability
> to format the line numbers in a way chosen by the user. It would be
> wonderful to be able to add a "separator" character of choosing to
> display-line-numbers-mode.

Please tell more about this "separator character": what should it be
and how will it be displayed?  And what is its purpose in the first
place?

I'd like to avoid adding a general format-style extension to the
native line numbers, that's a kind of creeping featurism that will
eventually slow down redisplay too much, something that the
display-line-numbers implementation explicitly attempts to avoid.
People who must have the full-fledged format capability could simply
use linum-mode instead.

> I would be happy to try to contribute code but I'm unsure of where
> to start with such a task.

The code is in xdisp.c, if that's what you meant to ask.

Thanks.





reply via email to

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