unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Mendler <mail@daniel-mendler.de>
Cc: 52097@debbugs.gnu.org
Subject: bug#52097: 28.0.50; Regression - posn-at-point returns wrong result if overlay is present
Date: Thu, 25 Nov 2021 12:51:02 +0200	[thread overview]
Message-ID: <831r347bl5.fsf@gnu.org> (raw)
In-Reply-To: <d6d32dd0-264b-8e58-ba35-43f630d1fac7@daniel-mendler.de> (message from Daniel Mendler on Thu, 25 Nov 2021 11:13:04 +0100)

> From: Daniel Mendler <mail@daniel-mendler.de>
> Date: Thu, 25 Nov 2021 11:13:04 +0100
> 
> 1. emacs -Q
> 2. Create new buffer bug.el
> 3. Activate flymake-mode (for the overlay)
> 4. Enter "  invalid-ident" (note the spaces at the beginning)
> 5. Wait until the flymake overlay appears

The overlay doesn't seem to appear for me, for some reason.

Could you please post a recipe that doesn't require Flymake?  Surely,
creating an overlay doesn't require such heavy machinery?  I tried to
put a simple overlay with before-string in a buffer, but didn't see
any problem with the Y coordinate reported by posn-at-point, so I
guess there's a need in something special in that overlay.

Thanks.





  reply	other threads:[~2021-11-25 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 10:13 bug#52097: 28.0.50; Regression - posn-at-point returns wrong result if overlay is present Daniel Mendler
2021-11-25 10:51 ` Eli Zaretskii [this message]
2021-11-25 11:23   ` Daniel Mendler
2021-11-25 11:40     ` Eli Zaretskii
2021-11-25 13:07       ` Eli Zaretskii
2021-11-25 13:52         ` Daniel Mendler
2021-11-25 14:08           ` 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=831r347bl5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=52097@debbugs.gnu.org \
    --cc=mail@daniel-mendler.de \
    /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).