From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jirka Kosek Newsgroups: gmane.emacs.bugs Subject: bug#9716: Patch for HTML5 auto-coding support Date: Mon, 10 Oct 2011 17:11:48 +0200 Message-ID: <4E930B34.1040000@kosek.cz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2DCB2C8E4C1796A541C33138" X-Trace: dough.gmane.org 1318264135 19881 80.91.229.12 (10 Oct 2011 16:28:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2011 16:28:55 +0000 (UTC) To: 9716@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 10 18:28:50 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RDIig-0007nN-MU for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2011 18:28:50 +0200 Original-Received: from localhost ([::1]:34412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDIif-0000dm-Uv for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2011 12:28:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDISH-0001cn-Ku for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 12:11:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDISG-00088c-Cn for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 12:11:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDISG-00088V-4F for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 12:11:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDISS-0005uZ-0B for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 12:12:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jirka Kosek Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Oct 2011 16:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131826306622636 (code B ref -1); Mon, 10 Oct 2011 16:12:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2011 16:11:06 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) Original-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 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 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 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-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 Resent-Date: Mon, 10 Oct 2011 12:12:04 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 10 Oct 2011 12:28:48 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52473 Archived-At: 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--