GNU bug report logs - #37651
html-name-anchor obsolete, should be html-id-anchor

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 7 Oct 2019 22:43:01 UTC

Severity: wishlist

Tags: fixed

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37651 in the body.
You can then email your comments to 37651 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#37651; Package emacs. (Mon, 07 Oct 2019 22:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 07 Oct 2019 22:43:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: html-name-anchor obsolete, should be html-id-anchor
Date: Tue, 08 Oct 2019 04:06:11 +0800
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>.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37651; Package emacs. (Mon, 14 Oct 2019 21:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 37651 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 37651 <at> debbugs.gnu.org
Subject: Re: bug#37651: html-name-anchor obsolete, should be html-id-anchor
Date: Mon, 14 Oct 2019 23:07:48 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37651; Package emacs. (Sat, 02 Nov 2019 18:50:02 GMT) Full text and rfc822 format available.

Message #11 received at 37651 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 37651 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#37651: html-name-anchor obsolete, should be html-id-anchor
Date: Sat, 02 Nov 2019 20:36:44 +0200
>> 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 #




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37651; Package emacs. (Sun, 03 Nov 2019 15:08:02 GMT) Full text and rfc822 format available.

Message #14 received at 37651 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 37651 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#37651: html-name-anchor obsolete, should be html-id-anchor
Date: Sun, 03 Nov 2019 16:07:01 +0100
Juri Linkov <juri <at> linkov.net> writes:

> A good mnemonic key for HTML id would be C-c C-c #

That's a good mnemonic, so I've now added it (and the <a id...>
skeleton).

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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 03 Nov 2019 15:08:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 37651 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 03 Nov 2019 15:08:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Dec 2019 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.