unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Display window line numbers
Date: Tue, 06 Dec 2022 20:44:44 +0200	[thread overview]
Message-ID: <867cz474o3.fsf@mail.linkov.net> (raw)
In-Reply-To: <83wn745rid.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Dec 2022 20:14:18 +0200")

>> I wonder why ‘display-line-numbers’ doesn't provide an option
>> to display line numbers relative to the window-start?
>
> Because no one asked for it.
>
> And I don't really see the importance, FWIW: why isn't the 'visual' variety
> not what you want?  Then "C-u N C-p" and "C-u n C-n" will do what you want.
>
> What am I missing?

`M-N M-p' is easy to type, and also it's easier to read numbers incrementally
going from top to bottom, not in reverse order as 'visual' does for lines
before the current line.



  reply	other threads:[~2022-12-06 18:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-12-06 18:53     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=867cz474o3.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).