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

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

Emanuel Berg via Users list for the GNU Emacs text editor writes:

[...]
>
> What does "m" stand for? "meta"?
>

Based on one of the file names (test/manual/indent/html-multi.html) in
the commit[1] introducing mhtml-mode, I'd guess "multi".
You could try asking Tom to be sure.

[1]: 335174ee5037a2751c31bfd9ecb87cedb4bc3cda

-- 
https://bndl.org



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

* Re: mhtml-mode
  2021-10-12  0:12 ` mhtml-mode Amin Bandali
@ 2021-10-12  1:10   ` Emanuel Berg via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 3+ messages in thread
From: Emanuel Berg via Users list for the GNU Emacs text editor @ 2021-10-12  1:10 UTC (permalink / raw)
  To: help-gnu-emacs

Amin Bandali wrote:

> Based on one of the file names
> (test/manual/indent/html-multi.html) in the commit[1]
> introducing mhtml-mode, I'd guess "multi". You could try
> asking Tom to be sure.

Well, great work anyway! Tom wow wow :)

No, that's a much better guess than mine (because it makes
more sense) still "multi" isn't used so often in the computer
world, is it?

With tools it is very common tho ... multitool, multimeter
etc.

Multiplexer (MUX) - but that's more electronics than computing
(as in programming and HTML), right? Multics is the joke ...
no Unix is the joke?

Multiprogramming ... Multiplayer!

MULTI-PA-AS!

Actually I was wrong, it is very even ...

  $ as multi\* | wc -l
  451

  $ as meta\* | wc -l
  461

as = aptitude search,
https://dataswamp.org/~incal/conf/.zsh/atp

-- 
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).