From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28874: display-line-numbers-mode and split window vertically Date: Tue, 17 Oct 2017 15:36:22 +0300 Message-ID: <8448CC5D-D366-4324-BF40-20B038D6DF54@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1508243864 6665 195.159.176.226 (17 Oct 2017 12:37:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Oct 2017 12:37:44 +0000 (UTC) User-Agent: K-9 Mail for Android To: 28874@debbugs.gnu.org, konrad.podczeck@univie.ac.at Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 17 14:37:31 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4R7L-0005tR-0z for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 14:37:07 +0200 Original-Received: from localhost ([::1]:38330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4R7S-0001rd-EE for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 08:37:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4R7H-0001pC-F8 for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 08:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4R7G-000185-Kl for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 08:37:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4R7G-00017o-I1 for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 08:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4R7G-0000Qq-Bo for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 08:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 12:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Konrad Podczeck , 28874@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15082438181647 (code B ref -1); Tue, 17 Oct 2017 12:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Oct 2017 12:36:58 +0000 Original-Received: from localhost ([127.0.0.1]:45013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4R7C-0000QV-1e for submit@debbugs.gnu.org; Tue, 17 Oct 2017 08:36:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4R77-0000QG-Jc for submit@debbugs.gnu.org; Tue, 17 Oct 2017 08:36:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4R6w-0000t6-9l for submit@debbugs.gnu.org; Tue, 17 Oct 2017 08:36:48 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4R6w-0000ss-7N for submit@debbugs.gnu.org; Tue, 17 Oct 2017 08:36:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4R6p-0001ZX-JQ for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 08:36:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4R6m-0000jR-Fh for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 08:36:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4R6i-0000ge-KC; Tue, 17 Oct 2017 08:36:32 -0400 Original-Received: from [176.13.228.183] (port=23007 helo=[10.130.128.122]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e4R6g-0008Bn-W9; Tue, 17 Oct 2017 08:36:27 -0400 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138611 Archived-At: On October 17, 2017 2:53:15 PM GMT+03:00, Konrad Podczeck wrote: > Wth the pretest 26=2E0=2E90 version (for a Mac, obtained from > https://emacsformacosx=2Ecom/builds), I observe the following: >=20 > (a) open a file with more than 10000 lines=2E >=20 > (b) turn on display-line-numbers-mode >=20 > (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 >=20 > (d) now do Menu>File>New Window Below >=20 > Then the range where the line numbers appear shrinks=2E Removing the > split by middle-mouse clicking on the splitting mode-line makes that > range increases again=2E For me, this behaviour is not convincing=2E 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=2E This is not a bug, but intended behavior=2E If you don't like it, customi= ze display-line-numbers-grow-only to a non-nil value=2E