GNU bug report logs - #78456
31.0.50; regression in treesit-simple-imenu

Previous Next

Package: emacs;

Reported by: Vincenzo Pupillo <v.pupillo <at> gmail.com>

Date: Fri, 16 May 2025 14:04:02 UTC

Severity: normal

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vincenzo Pupillo <v.pupillo <at> gmail.com>, Juri Linkov <juri <at> linkov.net>
Cc: 78456 <at> debbugs.gnu.org
Subject: bug#78456: 31.0.50; regression in treesit-simple-imenu
Date: Fri, 16 May 2025 19:07:05 +0300
> From: Vincenzo Pupillo <v.pupillo <at> gmail.com>
> Date: Fri, 16 May 2025 16:03:32 +0200
> 
> Ciao, 
> Imenu of ‘mhtml-ts-mode’ was able to show all (when I wrote mhtml-ts-mode) 
> items regardless of the cursor's position within the file. 
> For example, it always showed CSS, JavaScript, and HTML items. However, I 
> realized that the behavior has changed, and the displayed items vary depending 
> on the cursor's position.
> 
> If the cursor is placed inside the <script> tags, you will see HTML and 
> JavaScript items, but not CSS items. If the cursor is positioned outside the 
> <style> and <script> tags, only the HTML items are visible.
> 
> This change seems to be related to the patch (bug #77256). Is it possible to 
> restore the previous behavior?

I think you are talking about commit a6d746400cd?  So adding Juri to
the discussion.




This bug report was last modified 54 days ago.

Previous Next


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