unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Mendler <mail@daniel-mendler.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 47893@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	[thread overview]
Message-ID: <4774d5f2-f8d3-bdc5-d315-03dcca400cb5@daniel-mendler.de> (raw)
In-Reply-To: <83h7k2s4rx.fsf@gnu.org>

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!





  reply	other threads:[~2021-04-19 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-19 14:46 bug#47893: 27.1; `display-line-numbers-mode`, line numbers hidden with multiline overlays Daniel Mendler
2021-04-19 14:55 ` Eli Zaretskii
2021-04-19 15:10   ` Daniel Mendler [this message]
2021-04-19 15:29     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4774d5f2-f8d3-bdc5-d315-03dcca400cb5@daniel-mendler.de \
    --to=mail@daniel-mendler.de \
    --cc=47893@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).