Subject: Re: bug#37651: html-name-anchor obsolete, should be html-id-anchor

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 14 Oct 2019 23:07:48 +0200

積丹尼 Dan Jacobson <[email-masked]> writes:

> html-name-anchor is an interactive compiled Lisp function in
> ‘sgml-mode.el’.
>
> That's great except these days
> <a name="X"></a>
> is obsolete. One should write
> <a id="X"></a>.

It's obsolete in HTML5, but it's still commonly understood.  I'm not
sure what we should do in these instances.

> (But bummer,
> C-c C-c i runs the command html-image (found in mhtml-mode-map), which
> is an interactive compiled Lisp function in ‘sgml-mode.el’.
> So one cannot just make C-c C-c n now C-c C-c i.)

Yeah, that's also a problem.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no