From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Defaut encoding for XML files should be undefined (instead of utf-8) Date: Mon, 18 Feb 2008 03:01:50 +0000 Message-ID: <47B8F51E.6040904@gnu.org> References: <87odaifv16.fsf@mundaneum.com> <47B61830.6020005@gnu.org> <87k5l5yfaj.fsf@catnip.gol.com> <47B8F237.5000406@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203303736 22506 80.91.229.12 (18 Feb 2008 03:02:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 03:02:16 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Edward O'Connor , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 18 04:02:40 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQwH8-0001HZ-Jt for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2008 04:02:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQwGd-0006qd-G6 for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 22:02:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQwGZ-0006q6-Me for emacs-devel@gnu.org; Sun, 17 Feb 2008 22:02:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQwGY-0006oW-9K for emacs-devel@gnu.org; Sun, 17 Feb 2008 22:02:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQwGY-0006oN-78 for emacs-devel@gnu.org; Sun, 17 Feb 2008 22:02:02 -0500 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQwGQ-0007jc-SV; Sun, 17 Feb 2008 22:01:55 -0500 Original-X-Trace: 7816869/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CADKEuEdTQxds/2dsb2JhbAAIjDOddQ X-IronPort-AV: E=McAfee;i="5200,2160,5231"; a="7816869" X-IronPort-AV: E=Sophos;i="4.25,369,1199664000"; d="scan'208";a="7816869" X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Feb 2008 03:01:53 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <47B8F237.5000406@gnu.org> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89437 gmane.emacs.pretest.bugs:21180 Archived-At: Jason Rumney wrote: > I made this change in sgml-xml-auto-coding-function, and also > introduced a new function to do the same for .xml files without an xml > declaration, which were hardcoded to utf-8 by file-coding-system-alist. I forgot to say, I also added a warning when the encoding is in violation of the spec.