* bug#28874: display-line-numbers-mode and split window vertically
@ 2017-10-17 11:53 Konrad Podczeck
2017-10-17 12:36 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Konrad Podczeck @ 2017-10-17 11:53 UTC (permalink / raw)
To: 28874
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#28874: display-line-numbers-mode and split window vertically
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
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2017-10-17 12:36 UTC (permalink / raw)
To: 28874, konrad.podczeck
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#28874: display-line-numbers-mode and split window vertically
2017-10-17 12:36 ` Eli Zaretskii
@ 2017-10-17 19:14 ` Konrad Podczeck
2017-10-17 19:33 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Konrad Podczeck @ 2017-10-17 19:14 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 28874
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#28874: display-line-numbers-mode and split window vertically
2017-10-17 19:14 ` Konrad Podczeck
@ 2017-10-17 19:33 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2017-10-17 19:33 UTC (permalink / raw)
To: Konrad Podczeck; +Cc: 28874-done, 28874
> From: Konrad Podczeck <konrad.podczeck@univie.ac.at>
> Date: Tue, 17 Oct 2017 21:14:41 +0200
> Cc: bug-gnu-emacs@gnu.org,
> 28874@debbugs.gnu.org
>
> Thanks for the reply and the information. With (setq display-line-numbers-grow-only t) the behaviour is fine for me.
Thanks, I'm therefore closing the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-17 19:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-10-17 19:33 ` Eli Zaretskii
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).