GNU bug report logs - #64101
29.0.91; Eglot inlay hints rendered out of order

Previous Next

Package: emacs;

Reported by: Krzysztof Klimonda <kklimonda <at> syntaxhighlighted.com>

Date: Fri, 16 Jun 2023 05:57:04 UTC

Severity: normal

Found in version 29.0.91

Full log


View this message in rfc822 format

From: João Távora <joaotavora <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Krzysztof Klimonda <kklimonda <at> syntaxhighlighted.com>, 64101 <at> debbugs.gnu.org
Subject: bug#64101: 29.0.91; Eglot inlay hints rendered out of order
Date: Sun, 18 Jun 2023 09:47:16 +0100
On Sun, Jun 18, 2023 at 1:45 AM Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:

> > This would make some sense, but I'm not sure I'm doing it correctly.  If
> > I replace the above line with
> >
> >    (overlay-put ov 'priority `(nil . i))
>
> Did you forget the comma?
>
>     (overlay-put ov 'priority `(nil . ,i))

Hehe, no, not in real life, only in the examples in my email, which
are all messed up.  Let me try again...

Yep, SECONDARY doesn't seem to do anything

<no form>   => correctly sorted overlays
(overlay-put ov 'priority i)  => correctly sorted overlays
(overlay-put ov 'priority (- 10 i) => reverse sorted overlays
(overlay-put ov 'priority `(nil . ,i)  => correctly sorted overlays
(overlay-put ov 'priority `(nil . ,(- 10 i)  => correctly sorted overlays (!)

Also confirmed with M-x describe text properties that the priority
property values are sane and look like (nil . 3).

João




This bug report was last modified 2 years and 61 days ago.

Previous Next


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