all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Display window line numbers
@ 2022-12-06 17:10 Juri Linkov
  2022-12-06 18:04 ` João Paulo Labegalini de Carvalho
  2022-12-06 18:14 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Juri Linkov @ 2022-12-06 17:10 UTC (permalink / raw)
  To: emacs-devel

I wonder why ‘display-line-numbers’ doesn't provide an option
to display line numbers relative to the window-start?
IMHO, one of the most reasonable excuses to sacrifice the screen space
for line numbers is to display only these short numbers that could be
used to jump to a line visible on the screen.  For that the quickest
key sequence is e.g. 'M-5 M-r'.

Then all possibilities will be covered by these options of
‘display-line-numbers’:

- absolute line numbers can be used by 'M-g M-g' (goto-line);
- relative line numbers - by 'C-u N C-n' and 'C-u N C-p';
- window line numbers - by 'M-r'.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-06 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-06 17:10 Display window line numbers Juri Linkov
2022-12-06 18:04 ` João Paulo Labegalini de Carvalho
2022-12-06 18:43   ` Juri Linkov
2022-12-06 18:14 ` Eli Zaretskii
2022-12-06 18:44   ` Juri Linkov
2022-12-06 18:53     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.