but replacing toggle-display-line-numbers function with a minor mode line-numbers-mode?
Of course the line-number-mode to toggle line numbers in just the mode line already exists.
Can the same minor mode be reused? Then using a defcustom user can specify:
- line numbers in the margin (what would be the right word for that?), mode line or both
- line numbers in the 'margin': regular/relative
- line numbers in the 'margin': current line highlight on/off (my requested feature in the previous email)
--