all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Konrad Podczeck <konrad.podczeck@univie.ac.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 28874@debbugs.gnu.org
Subject: bug#28874: display-line-numbers-mode and split window vertically
Date: Tue, 17 Oct 2017 21:14:41 +0200	[thread overview]
Message-ID: <5623256C-D62C-479E-A6D7-60F38B93A379@univie.ac.at> (raw)
In-Reply-To: <8448CC5D-D366-4324-BF40-20B038D6DF54@gnu.org>

Thanks for the reply and the information. With (setq display-line-numbers-grow-only t) the behaviour is fine for me.





> Am 17.10.2017 um 14:36 schrieb Eli Zaretskii <eliz@gnu.org>:
> 
> 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.






  reply	other threads:[~2017-10-17 19:14 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
2017-10-17 19:14   ` Konrad Podczeck [this message]
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

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

  git send-email \
    --in-reply-to=5623256C-D62C-479E-A6D7-60F38B93A379@univie.ac.at \
    --to=konrad.podczeck@univie.ac.at \
    --cc=28874@debbugs.gnu.org \
    --cc=eliz@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 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.