From: Eli Zaretskii <eliz@gnu.org>
To: 28874@debbugs.gnu.org, konrad.podczeck@univie.ac.at
Subject: bug#28874: display-line-numbers-mode and split window vertically
Date: Tue, 17 Oct 2017 15:36:22 +0300 [thread overview]
Message-ID: <8448CC5D-D366-4324-BF40-20B038D6DF54@gnu.org> (raw)
In-Reply-To: <BB646A10-9FD4-4663-AC4F-2F2AF83432BC@univie.ac.at>
On October 17, 2017 2:53:15 PM GMT+03:00, Konrad Podczeck <konrad.podczeck@univie.ac.at> wrote:
> Wth the pretest 26.0.90 version (for a Mac, obtained from
> https://emacsformacosx.com/builds), I observe the following:
>
> (a) open a file with more than 10000 lines.
>
> (b) turn on display-line-numbers-mode
>
> (c) scroll down to the end of the buffer and the back to the
> beginning, so that you see only a part of the buffer where all line
> numbers have just two digits
>
> (d) now do Menu>File>New Window Below
>
> Then the range where the line numbers appear shrinks. Removing the
> split by middle-mouse clicking on the splitting mode-line makes that
> range increases again. For me, this behaviour is not convincing. Now
> do Menu>File>New Window Below another time and then in the lower half
> of the spilt scroll down, and you end up with two parts which have
> different with of the ranges showing the line numbers, which, for me,
> looks rather ugly.
This is not a bug, but intended behavior. If you don't like it, customize
display-line-numbers-grow-only to a non-nil value.
next prev parent reply other threads:[~2017-10-17 12:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 11:53 bug#28874: display-line-numbers-mode and split window vertically Konrad Podczeck
2017-10-17 12:36 ` Eli Zaretskii [this message]
2017-10-17 19:14 ` Konrad Podczeck
2017-10-17 19:33 ` 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=8448CC5D-D366-4324-BF40-20B038D6DF54@gnu.org \
--to=eliz@gnu.org \
--cc=28874@debbugs.gnu.org \
--cc=konrad.podczeck@univie.ac.at \
/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).