help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mhtml-mode


From: Emanuel Berg
Subject: mhtml-mode
Date: Mon, 11 Oct 2021 10:00:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

`mhtml-mode', or "HTML+ mode" (why two names BTW?) seems to be
the new default mode for HTML!

And it seems to have a bunch of improvements aside from what
it states with `C-h M', which is "based on ‘html-mode’, but
works with embedded JS and CSS."

I didn't do embedded JS/CSS so far (or "inline JS/CSS" as some
people say) - maybe I never will? - but based on my intuition
and first impression the mode seems very good!

What does "m" stand for? "meta"?

The source seems a bit incomplete tho formally with
"Commentary" being empty and also

  (checkdoc-current-buffer t)

reporting the following possible improvements:

  *** mhtml-mode.el.gz: checkdoc-current-buffer
  mhtml-mode.el.gz:368: The footer should be: (provide 'mhtml-mode.el)\n;;; 
mhtml-mode.el.gz ends here
  mhtml-mode.el.gz:89: Argument ‘mode’ should appear (as MODE) in the doc string
  mhtml-mode.el.gz:89: Lisp symbol ‘make-mhtml--submode’ should appear in quotes
  mhtml-mode.el.gz:114: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:121: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:142: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:166: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:174: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:208: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:214: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:218: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:233: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:263: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:304: All variables and subroutines might as well have a 
documentation string
  mhtml-mode.el.gz:311: Argument ‘arg’ should appear (as ARG) in the doc string

When you have written a great mode such a small thing is so
easy to fix, and even if one thinks it is meaningless, hey, if
it's meaningless, on might as well do it ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]