[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wra
From: |
Paul Rankin |
Subject: |
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property |
Date: |
Tue, 17 Oct 2017 17:17:33 +1000 |
On Tue, 17 Oct 2017, at 03:49 PM, Eli Zaretskii wrote:
> > Further to the cited discussion, if taken to its logical conclusions,
> > this approach reaches a point of absurdity, e.g.
> >
> > Three lines with respective :align-to property values of 0, 2 and 4
> > should appear like this:
> >
> > foo
> > bar
> > baz
> >
> > However what we get when these lines occur at line 1000 with
> > display-line-numbers-mode enabled is:
> >
> > 1000 foo
> > 1001 bar
> > 1002 baz
> >
> > Or, given that the line numbers take up a width of 4 characters, and
> > we don’t account for this width, then logically do we now truncate the
> > leading 4 and 2 characters....?
> >
> > 1000
> > 1001 r
> > 1002 baz
>
> Not sure what is alluded to as "this approach".
Current implementation.
> My last point is that instead of 0, 2, and 4, you can use those values plus
> what
> line-number-display-width returns, and then you will have your expected
> result.
It’s not the responsibility of others to work around problems you create. I’ve
done my part by identifying the bug. That’s as far as I wish to be involved.
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property, Dmitry Gutov, 2017/10/18
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property, Eli Zaretskii, 2017/10/18
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property, martin rudalics, 2017/10/18
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property, Eli Zaretskii, 2017/10/18
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property, Alex, 2017/10/18
bug#28855: 26.0.90; display-line-numbers-mode does not respect (line|wrap)-prefix '(space :align-to N) text property, Eli Zaretskii, 2017/10/18