GNU bug report logs - #35404
posn-at-point ignores line numbers when display property is set

Previous Next

Package: emacs;

Reported by: Евгений Курневский <kurnevsky <at> gmail.com>

Date: Tue, 23 Apr 2019 21:38:01 UTC

Severity: normal

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: Евгений Курневский
 <kurnevsky <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 35404 <at> debbugs.gnu.org
Subject: bug#35404: posn-at-point ignores line numbers when display property is set
Date: Thu, 25 Apr 2019 09:47:07 +0000
[Message part 1 (text/plain, inline)]
Thanks! Is it going to be backported to 26 branch?

On Wed, Apr 24, 2019 at 12:28 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Евгений Курневский
> >       <kurnevsky <at> gmail.com>
> > Date: Tue, 23 Apr 2019 21:36:44 +0000
> >
> > emacs -Q
> > Activate display-line-numbers-mode
> > Insert some word at the first line, like "aaa"
> > Execute (nth 2 (posn-at-point 2)), it will return (40 . 0)
> > Execute (put-text-property 2 3 'display "A")
> > Execute (nth 2 (posn-at-point 2)) again, it will return (4 . 0)
>
> Thanks, should be fixed now.
>


-- 
С уважением, Курневский Евгений.
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 24 days ago.

Previous Next


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