GNU bug report logs - #38722
27.0.50; bad position of character encoding declaration in the HTML version of manuals

Previous Next

Package: emacs;

Reported by: Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>

Date: Mon, 23 Dec 2019 15:12:02 UTC

Severity: minor

Found in version 27.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

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 38722 in the body.
You can then email your comments to 38722 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#38722; Package emacs. (Mon, 23 Dec 2019 15:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 23 Dec 2019 15:12:03 GMT) Full text and rfc822 format available.

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

From: Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>
To: bug-gnu-emacs <at> gnu.org
Cc: help-texinfo <at> gnu.org
Subject: 27.0.50; bad position of character encoding declaration in the HTML
 version of manuals
Date: Mon, 23 Dec 2019 18:32:55 +0900
According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:

https://www.w3.org/International/questions/qa-html-encoding-declarations

The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38722; Package emacs. (Wed, 25 Dec 2019 02:45:01 GMT) Full text and rfc822 format available.

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

From: Richard Stallman <rms <at> gnu.org>
To: Jean-Christophe Helary
	<jean.christophe.helary <at> traduction-libre.org>
Cc: help-texinfo <at> gnu.org, 38722 <at> debbugs.gnu.org
Subject: Re: bug#38722: 27.0.50;
 bad position of character encoding declaration in the HTML version of
 manuals
Date: Tue, 24 Dec 2019 21:44:04 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Is this a bug in the program that generates HTML output from .texi files?
It sounds that way.

-- 
Dr Richard Stallman
Founder, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38722; Package emacs. (Wed, 25 Dec 2019 10:15:02 GMT) Full text and rfc822 format available.

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

From: Gavin Smith <gavinsmith0123 <at> gmail.com>
To: Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>
Cc: bug-gnu-emacs <at> gnu.org, help-texinfo <at> gnu.org
Subject: Re: 27.0.50; bad position of character encoding declaration in the
 HTML version of manuals
Date: Wed, 25 Dec 2019 10:14:15 +0000
On Mon, Dec 23, 2019 at 06:32:55PM +0900, Jean-Christophe Helary wrote:
> According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:
> 
> https://www.w3.org/International/questions/qa-html-encoding-declarations
> 
> The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.

You mean 1024 bytes.

We attempted to fix this issue before but apparently it is not enough.  
If the copying statement is too long, then the encoding declaration will 
be too late.

https://lists.gnu.org/archive/html/bug-texinfo/2017-08/msg00014.html

I've attempted to fix it in commit 749dcd4a5.  Thanks for the report.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38722; Package emacs. (Wed, 25 Dec 2019 12:00:01 GMT) Full text and rfc822 format available.

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

From: Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>
To: Gavin Smith <gavinsmith0123 <at> gmail.com>
Cc: bug-gnu-emacs <at> gnu.org, help-texinfo <at> gnu.org
Subject: Re: 27.0.50; bad position of character encoding declaration in the
 HTML version of manuals
Date: Wed, 25 Dec 2019 20:59:33 +0900

> On Dec 25, 2019, at 19:14, Gavin Smith <gavinsmith0123 <at> gmail.com> wrote:
> 
> On Mon, Dec 23, 2019 at 06:32:55PM +0900, Jean-Christophe Helary wrote:
>> According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:
>> 
>> https://www.w3.org/International/questions/qa-html-encoding-declarations
>> 
>> The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.
> 
> You mean 1024 bytes.

Apologies. Yes. That's what I mean.

> We attempted to fix this issue before but apparently it is not enough.  
> If the copying statement is too long, then the encoding declaration will 
> be too late.
> 
> https://lists.gnu.org/archive/html/bug-texinfo/2017-08/msg00014.html
> 
> I've attempted to fix it in commit 749dcd4a5.  Thanks for the report.

Ok, I guess you've checked the output on your side already. I'll do the same when I can checkout/build the code. Thank you very much.

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38722; Package emacs. (Wed, 25 Dec 2019 12:01:02 GMT) Full text and rfc822 format available.

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

From: Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>
To: rms <at> gnu.org
Cc: help-texinfo <at> gnu.org, 38722 <at> debbugs.gnu.org
Subject: Re: bug#38722: 27.0.50; bad position of character encoding
 declaration in the HTML version of manuals
Date: Wed, 25 Dec 2019 21:00:34 +0900

> On Dec 25, 2019, at 11:44, Richard Stallman <rms <at> gnu.org> wrote:
> 
> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> 
> Is this a bug in the program that generates HTML output from .texi files?
> It sounds that way.

It seems so. Gavin Smith has committed a fix earlier today.


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune






Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Tue, 25 Aug 2020 22:59:03 GMT) Full text and rfc822 format available.

Notification sent to Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>:
bug acknowledged by developer. (Tue, 25 Aug 2020 22:59:03 GMT) Full text and rfc822 format available.

Message #22 received at 38722-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Gavin Smith <gavinsmith0123 <at> gmail.com>
Cc: Jean-Christophe Helary <jean.christophe.helary <at> traduction-libre.org>,
 38722-done <at> debbugs.gnu.org
Subject: Re: bug#38722: 27.0.50; bad position of character encoding
 declaration in the HTML version of manuals
Date: Tue, 25 Aug 2020 15:58:19 -0700
Gavin Smith <gavinsmith0123 <at> gmail.com> writes:

> On Mon, Dec 23, 2019 at 06:32:55PM +0900, Jean-Christophe Helary wrote:
>> According to the W3C internationalization activity, the character encoding declaration must be fully included in the first 1024 bits of the HTML page:
>>
>> https://www.w3.org/International/questions/qa-html-encoding-declarations
>>
>> The current declaration falls short of that by about 30 bits because of the 871 characters long comment describing the contents to the file which could be put right after the declaration.
>
> You mean 1024 bytes.
>
> We attempted to fix this issue before but apparently it is not enough.
> If the copying statement is too long, then the encoding declaration will
> be too late.
>
> https://lists.gnu.org/archive/html/bug-texinfo/2017-08/msg00014.html
>
> I've attempted to fix it in commit 749dcd4a5.  Thanks for the report.

If I understand this thread correctly, this was a bug in texinfo, and
not in Emacs.  I'm therefore closing the Emacs bug report now.

If this conclusion is incorrect, please reply to this email (use "Reply
to all" in your email client) and we can reopen the bug report.

Best regards,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Sep 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 215 days ago.

Previous Next


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