GNU bug report logs - #52097
28.0.50; Regression - posn-at-point returns wrong result if overlay is present

Previous Next

Package: emacs;

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

Date: Thu, 25 Nov 2021 10:14:02 UTC

Severity: normal

Found in version 28.0.50

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 52097 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: 52097 <at> debbugs.gnu.org
Subject: Re: 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
> From: Daniel Mendler <mail <at> 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.




This bug report was last modified 3 years and 237 days ago.

Previous Next


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