GNU bug report logs - #74610
31.0.50; Submitting mhtml-ts-mode, treesitter alternative to mhtml-mode

Previous Next

Package: emacs;

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

Date: Fri, 29 Nov 2024 21:58:01 UTC

Severity: wishlist

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: Juri Linkov <juri <at> linkov.net>
To: Vincenzo Pupillo <v.pupillo <at> gmail.com>
Cc: casouri <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>, 74610 <at> debbugs.gnu.org
Subject: bug#74610: 31.0.50; Submitting mhtml-ts-mode, treesitter alternative to mhtml-mode
Date: Sat, 15 Feb 2025 19:39:55 +0200
> Ciao Jury,
> I was just about to write, you anticipated me.
> The function `html-ts-mode--outline-predicate`, does not work correctly in 
> `mhtml-ts-mode`, the function seems to fail to calculate the end of the tag it 
> is on (see outline_issue_1.png)
>
> And, exactly as you wrote, with treesit-outline-predicate set to nil it does 
> not work because the function `treesit-outline-predicate--from-imenu` does not 
> check the variable `treesit-aggregated-simple-imenu-settings` but only 
> `treesit-simple-imenu-settings`.
>
> I attach a new patch adapted to the latest commits.

Thanks for adapting latest changes to your patch!

Is it time now to push your patch?

Delaying this will hamper the development
since after pushing it will be possible to
fix more issues such as adapting outline-predicate
to `treesit-aggregated-simple-imenu-settings`, etc.




This bug report was last modified 98 days ago.

Previous Next


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