[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37651: html-name-anchor obsolete, should be html-id-anchor
From: |
Juri Linkov |
Subject: |
bug#37651: html-name-anchor obsolete, should be html-id-anchor |
Date: |
Sat, 02 Nov 2019 20:36:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>> 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.
A good mnemonic key for HTML id would be C-c C-c #
- bug#37651: html-name-anchor obsolete, should be html-id-anchor,
Juri Linkov <=