unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* mhtml-mode
@ 2021-10-11  8:00 Emanuel Berg via Users list for the GNU Emacs text editor
  2021-10-12  0:12 ` mhtml-mode Amin Bandali
  0 siblings, 1 reply; 3+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-10-11  8:00 UTC (permalink / raw)
  To: help-gnu-emacs

`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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-12  1:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-11  8:00 mhtml-mode Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12  0:12 ` mhtml-mode Amin Bandali
2021-10-12  1:10   ` mhtml-mode Emanuel Berg via Users list for the GNU Emacs text editor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).