From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#28874: display-line-numbers-mode and split window vertically Date: Tue, 17 Oct 2017 21:14:41 +0200 Message-ID: <5623256C-D62C-479E-A6D7-60F38B93A379@univie.ac.at> References: <8448CC5D-D366-4324-BF40-20B038D6DF54@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.7\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1508267738 28412 195.159.176.226 (17 Oct 2017 19:15:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Oct 2017 19:15:38 +0000 (UTC) Cc: 28874@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 17 21:15:30 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 1e4XKX-0003wk-5W for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 21:15:09 +0200 Original-Received: from localhost ([::1]:41214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4XKe-0000YJ-KP for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 15:15:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4XKW-0000W4-QM for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 15:15:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4XKQ-0007Ut-Qa for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 15:15:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4XKQ-0007Uk-MO for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 15:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4XKQ-0006D2-FX for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 15:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 19:15: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-Cc: 28874@debbugs.gnu.org, bug-gnu-emacs@gnu.org Original-Received: via spool by 28874-submit@debbugs.gnu.org id=B28874.150826768923822 (code B ref 28874); Tue, 17 Oct 2017 19:15:02 +0000 Original-Received: (at 28874) by debbugs.gnu.org; 17 Oct 2017 19:14:49 +0000 Original-Received: from localhost ([127.0.0.1]:46628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4XKC-0006C9-Su for submit@debbugs.gnu.org; Tue, 17 Oct 2017 15:14:49 -0400 Original-Received: from grace.univie.ac.at ([131.130.3.115]:55578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4XK9-0006Bw-0C for 28874@debbugs.gnu.org; Tue, 17 Oct 2017 15:14:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RcrOl7hVA/hKOf8JkBN0WMuDvdze2BJfvNTrm37WINU=; b=Xb4vUnRCURCpTbuAOfX3yT8Bjy KolblFjU2sE/4yl+77N2DqQGx/BG+We/7dgu5tnSpdvoInOtgnWsai4dyZfHbamuEWQpS65emje8g yCOhOhvU/u1i5MYo7UmQO5sTxEmOOhy33FR6OYlvjgl7B8YHvHiTtqOUvmd3dAC28Lmo=; Original-Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e4XK6-0004mm-Q9; Tue, 17 Oct 2017 21:14:42 +0200 Original-Received: from 80-109-8-38.cable.dynamic.surfer.at ([80.109.8.38] helo=[192.168.0.234]) by joan.univie.ac.at with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1e4XK6-0008NV-Js; Tue, 17 Oct 2017 21:14:42 +0200 In-Reply-To: <8448CC5D-D366-4324-BF40-20B038D6DF54@gnu.org> X-Mailer: Apple Mail (2.3445.1.7) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at 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:138642 Archived-At: 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 : >=20 > On October 17, 2017 2:53:15 PM GMT+03:00, Konrad Podczeck = wrote: >> Wth the pretest 26.0.90 version (for a Mac, obtained from >> https://emacsformacosx.com/builds), I observe the following: >>=20 >> (a) open a file with more than 10000 lines. >>=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. 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. >=20 > 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.