GNU bug report logs - #47893
27.1; `display-line-numbers-mode`, line numbers hidden with multiline overlays

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Mon, 19 Apr 2021 14:47:02 UTC

Severity: normal

Found in version 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Mendler <mail <at> daniel-mendler.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 47893 <at> debbugs.gnu.org
Subject: bug#47893: 27.1; `display-line-numbers-mode`, line numbers hidden with multiline overlays
Date: Mon, 19 Apr 2021 17:10:59 +0200
On 4/19/21 4:55 PM, Eli Zaretskii wrote:
> What do you mean by "hidden"?  With the above recipe, I see all the
> line numbers starting from 5, as expected.  What is "hidden" here?

When I have a buffer with the following content:

1 a
2 b
3 c
4 d
5 e
6 f
7 g
8 h
9 i

And run the given function, I see the following:

5 line1
  line2
  line3
  line4
  e
6 f
7 g
8 h
9 i

I suppose this is expected since the overlay hides all the lines in 
between? You can close this issue then as invalid, since the display 
line numbers don't reflect the visual lines but the lines in the buffer. 
Sorry for the noise!




This bug report was last modified 4 years and 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.