From unknown Wed Jun 18 23:18:08 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9716 <9716@debbugs.gnu.org> To: bug#9716 <9716@debbugs.gnu.org> Subject: Status: Patch for HTML5 auto-coding support Reply-To: bug#9716 <9716@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:18:08 +0000 retitle 9716 Patch for HTML5 auto-coding support reassign 9716 emacs submitter 9716 Jirka Kosek severity 9716 normal tag 9716 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 10 12:11:06 2011 Received: (at submit) by debbugs.gnu.org; 10 Oct 2011 16:11:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDIRV-0005t2-EY for submit@debbugs.gnu.org; Mon, 10 Oct 2011 12:11:06 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDHcc-0004gP-N6 for submit@debbugs.gnu.org; Mon, 10 Oct 2011 11:18:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDHcK-00071Z-BU for submit@debbugs.gnu.org; Mon, 10 Oct 2011 11:18:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:55432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDHcK-00071V-9G for submit@debbugs.gnu.org; Mon, 10 Oct 2011 11:18:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]:58797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDHcI-0006cr-NN for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 11:18:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDHcH-00070c-Dw for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 11:18:10 -0400 Received: from vse.vse.cz ([146.102.16.2]:56254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDHcH-0006zv-3Z for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 11:18:09 -0400 Received: from localhost (localhost [127.0.0.1]) by vse.vse.cz (Postfix) with ESMTP id ADFF1152C for ; Mon, 10 Oct 2011 17:11:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at vse.cz Received: from vse.vse.cz ([127.0.0.1]) by localhost (vse.vse.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UK7mT1DAbIkN for ; Mon, 10 Oct 2011 17:11:52 +0200 (CEST) Received: from baribal.vse.cz (baribal.vse.cz [146.102.11.5]) by vse.vse.cz (Postfix) with ESMTP id 4CD631435 for ; Mon, 10 Oct 2011 17:11:52 +0200 (CEST) Received: from [10.0.0.10] ([95.85.233.233]) by baribal.vse.cz (Lotus Domino Release 8.5 HF460) with ESMTP id 2011101017115340-6088 ; Mon, 10 Oct 2011 17:11:53 +0200 Message-ID: <4E930B34.1040000@kosek.cz> Date: Mon, 10 Oct 2011 17:11:48 +0200 From: Jirka Kosek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Patch for HTML5 auto-coding support X-Enigmail-Version: 1.3.2 X-MIMETrack: Itemize by SMTP Server on baribal/VSE(Release 8.5 HF460|May 15, 2009) at 10.10.2011 17:11:53, Serialize by Router on baribal/VSE(Release 8.5 HF460|May 15, 2009) at 10.10.2011 17:11:53, Serialize complete at 10.10.2011 17:11:53 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2DCB2C8E4C1796A541C33138" X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 10 Oct 2011 12:11:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2DCB2C8E4C1796A541C33138 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, please find attached patch that * added support for detecting encoding in HTML5 specified only as Implementation just makes http-equiv and content-type parts from HTML4 encoding string optional. Thanks, Jirka *** mule.el.orig/mule.el Sun May 2 21:50:16 2010 --- mule.el Mon Oct 10 17:03:16 2011 *************** This function is intended to be added to *** 2358,2365 **** ;; (allowing for whitespace at bob). Note: 'DOCTYPE NETSCAPE' is ;; useful for Mozilla bookmark files. (when (and (re-search-forward "\\`[[:space:]\n]*\\(]" size t)) ! =09 ! (let* ((match (match-string 2)) (sym (intern (downcase match)))) (if (coding-system-p sym) sym --=20 ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------ --------------enig2DCB2C8E4C1796A541C33138 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6TCzUACgkQzwmSw7n0dR71tgCdF66N3zKYtq/7TdJIb/dl16VD bq0AoKb1/T/ZyseAkT9Ks5YDssXMpeLN =3p0r -----END PGP SIGNATURE----- --------------enig2DCB2C8E4C1796A541C33138-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 19:55:12 2011 Received: (at 9716) by debbugs.gnu.org; 17 Oct 2011 23:55:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFx1U-0000gL-Ed for submit@debbugs.gnu.org; Mon, 17 Oct 2011 19:55:12 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFx1Q-0000gC-No for 9716@debbugs.gnu.org; Mon, 17 Oct 2011 19:55:09 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 96D5A6E804B; Mon, 17 Oct 2011 16:54:13 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B8D74451C426; Mon, 17 Oct 2011 16:54:12 -0700 (PDT) From: Juri Linkov To: Jirka Kosek Subject: Re: bug#9716: Patch for HTML5 auto-coding support Organization: JURTA References: <4E930B34.1040000@kosek.cz> Date: Tue, 18 Oct 2011 02:28:37 +0300 In-Reply-To: <4E930B34.1040000@kosek.cz> (Jirka Kosek's message of "Mon, 10 Oct 2011 17:11:48 +0200") Message-ID: <874nz7b2ie.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9716 Cc: 9716@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > please find attached patch that > > * added support for detecting encoding in HTML5 specified only as charset=***> > > Implementation just makes http-equiv and content-type parts from HTML4 > encoding string optional. The HTML5 specification says: Using a meta element with a charset attribute that specifies the encoding within the first 1024 bytes of the document. E.g. could be used to specify the UTF-8 encoding. This replaces the need for although that syntax is still allowed. that confirms that we should install the proposed patch. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 21:55:36 2011 Received: (at 9716) by debbugs.gnu.org; 18 Oct 2011 01:55:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFyu0-00047O-23 for submit@debbugs.gnu.org; Mon, 17 Oct 2011 21:55:36 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RFyty-00047C-4i for 9716@debbugs.gnu.org; Mon, 17 Oct 2011 21:55:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EANnbnE5MCqLO/2dsb2JhbABDqFiBBoFuAQEEAVYjBQsLNBIUGA0kiBK2eYgIBKEphEU X-IronPort-AV: E=Sophos;i="4.69,362,1315195200"; d="scan'208,217";a="142563482" Received: from 76-10-162-206.dsl.teksavvy.com (HELO pastel.home) ([76.10.162.206]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 17 Oct 2011 21:54:34 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1EFC55920F; Mon, 17 Oct 2011 21:54:34 -0400 (EDT) From: Stefan Monnier To: Juri Linkov Subject: Re: bug#9716: Patch for HTML5 auto-coding support Message-ID: References: <4E930B34.1040000@kosek.cz> <874nz7b2ie.fsf@mail.jurta.org> Date: Mon, 17 Oct 2011 21:54:34 -0400 In-Reply-To: <874nz7b2ie.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 18 Oct 2011 02:28:37 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9716 Cc: Jirka Kosek , 9716@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) > The HTML5 specification says: > Using a meta element with a charset attribute that specifies the encoding > within the first 1024 bytes of the document. E.g. > could be used to specify the UTF-8 encoding. This replaces the need for > > although that syntax is still allowed. > that confirms that we should install the proposed patch. Fine by me, Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 04:04:59 2011 Received: (at 9716-done) by debbugs.gnu.org; 18 Oct 2011 08:04:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG4fS-0005cg-Uq for submit@debbugs.gnu.org; Tue, 18 Oct 2011 04:04:59 -0400 Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG4fR-0005cZ-DY for 9716-done@debbugs.gnu.org; Tue, 18 Oct 2011 04:04:58 -0400 Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 838126E808A; Tue, 18 Oct 2011 01:04:00 -0700 (PDT) Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 6C382AAB4B63; Tue, 18 Oct 2011 01:03:59 -0700 (PDT) From: Juri Linkov To: Stefan Monnier Subject: Re: bug#9716: Patch for HTML5 auto-coding support Organization: JURTA References: <4E930B34.1040000@kosek.cz> <874nz7b2ie.fsf@mail.jurta.org> Date: Tue, 18 Oct 2011 11:03:20 +0300 In-Reply-To: (Stefan Monnier's message of "Mon, 17 Oct 2011 21:54:34 -0400") Message-ID: <87ipnmzpyv.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 9716-done Cc: Jirka Kosek , 9716-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> that confirms that we should install the proposed patch. > > Fine by me, Installed. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 04:23:06 2011 Received: (at 9716-done) by debbugs.gnu.org; 18 Oct 2011 08:23:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG4x0-000637-K5 for submit@debbugs.gnu.org; Tue, 18 Oct 2011 04:23:06 -0400 Received: from vse.vse.cz ([146.102.16.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RG4wx-00062b-Jq for 9716-done@debbugs.gnu.org; Tue, 18 Oct 2011 04:23:05 -0400 Received: from localhost (localhost [127.0.0.1]) by vse.vse.cz (Postfix) with ESMTP id 05EE087; Tue, 18 Oct 2011 10:22:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at vse.cz Received: from vse.vse.cz ([127.0.0.1]) by localhost (vse.vse.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FrVrGvdPizu7; Tue, 18 Oct 2011 10:22:00 +0200 (CEST) Received: from baribal.vse.cz (baribal.vse.cz [146.102.11.5]) by vse.vse.cz (Postfix) with ESMTP id 32C1414A4; Tue, 18 Oct 2011 10:21:59 +0200 (CEST) Received: from [10.0.0.10] ([95.85.233.233]) by baribal.vse.cz (Lotus Domino Release 8.5 HF460) with ESMTP id 2011101810220053-7080 ; Tue, 18 Oct 2011 10:22:00 +0200 Message-ID: <4E9D3721.9010905@kosek.cz> Date: Tue, 18 Oct 2011 10:21:53 +0200 From: Jirka Kosek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: Juri Linkov Subject: Re: bug#9716: Patch for HTML5 auto-coding support References: <4E930B34.1040000@kosek.cz> <874nz7b2ie.fsf@mail.jurta.org> <87ipnmzpyv.fsf@mail.jurta.org> In-Reply-To: <87ipnmzpyv.fsf@mail.jurta.org> X-Enigmail-Version: 1.3.2 X-MIMETrack: Itemize by SMTP Server on baribal/VSE(Release 8.5 HF460|May 15, 2009) at 18.10.2011 10:22:00, Serialize by Router on baribal/VSE(Release 8.5 HF460|May 15, 2009) at 18.10.2011 10:22:01, Serialize complete at 18.10.2011 10:22:01 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig885E3DECADEFCAC4EB259655" X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 9716-done Cc: Stefan Monnier , 9716-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig885E3DECADEFCAC4EB259655 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 18.10.2011 10:03, Juri Linkov wrote: >>> that confirms that we should install the proposed patch. >> >> Fine by me, >=20 > Installed. Thanks guys. Jirka --=20 ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------ --------------enig885E3DECADEFCAC4EB259655 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6dNyEACgkQzwmSw7n0dR4hTwCdEvHVBhDOm/tiqenKlaKQ8pR1 isgAnjxFvtXSZEH6qwCeYPT29UIH77zU =Ia7j -----END PGP SIGNATURE----- --------------enig885E3DECADEFCAC4EB259655-- From unknown Wed Jun 18 23:18:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Nov 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator