GNU bug report logs -
#77017
31.0.50; Build warning from mhtml-ts-mode
Previous Next
Reported by: jm <at> pub.pink
Date: Fri, 14 Mar 2025 17:19:02 UTC
Severity: normal
Found in version 31.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 77017 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'm sorry. The attached patch should fix the problem. I'm not sure about the
commit message, since I also modified html-ts-mode.
I recompiled emacs without the grammars and the warning problem shows up for
other major modes as well.
Vincenzo
In data domenica 30 marzo 2025 08:41:12 Ora legale dell’Europa centrale, Juri
Linkov ha scritto:
> > --- a/lisp/textmodes/mhtml-ts-mode.el
> > +++ b/lisp/textmodes/mhtml-ts-mode.el
> > @@ -50,13 +50,23 @@
> >
> > ;;; Code:
> >
> > (require 'treesit)
> >
> > -(require 'html-ts-mode)
> >
> > (require 'css-mode) ;; for embed css into html
> > (require 'js) ;; for embed javascript into html
>
> This change broke loading of mhtml-ts-mode:
>
> 0. emacs -Q
> 1. visit an html file
> 2. M-x mhtml-ts-mode
>
> Debugger entered--Lisp error: (void-variable
> html-ts-mode--treesit-font-lock-feature-list) (defvar
> mhtml-ts-mode--treesit-font-lock-feature-list ...)
> command-execute(mhtml-ts-mode record)
> execute-extended-command(nil "mhtml-ts-mode" nil)
> funcall-interactively(execute-extended-command nil "mhtml-ts-mode" nil)
> command-execute(execute-extended-command)
[0001-Fix-last-change-bug-77017.patch (text/x-patch, attachment)]
This bug report was last modified 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.