Emacs has various options for editing HTML, none of them especially good. I gave up on html-mode a while back because it had so many evil tendencies, like not ever letting you type a double dash without reformatting several lines around the current line as an HTML comment. I'm using web-mode now, which is better.
But there was one nice thing that html-mode had: quick key bindings
for inserting tags. For instance,
C-c i would insert
the tag for italics,
<i></i>, and if you
had something selected it would make that italic:
<i>whatever you had selected</i>.
It's a nice idea, but it was too smart (for some value of "smart"
that means "dumb and annoying") for its own good. For instance,
it loves to randomly insert things like newlines in places where they
don't make any sense.
[ 19:07 Nov 26, 2021 More linux/editors | permalink to this entry | ]