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: Fri, 15 Feb 2008 23:34:39 +0000 Message-ID: <47B6218F.1030701@gnu.org> References: <87odaifv16.fsf@mundaneum.com> <47B61830.6020005@gnu.org> <87k5l5yfaj.fsf@catnip.gol.com> 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 1203118506 18575 80.91.229.12 (15 Feb 2008 23:35:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 23:35:06 +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 Sat Feb 16 00:35:29 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 1JQA5Y-0000d2-Da for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 00:35:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQA54-000665-Bk for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2008 18:34:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQA50-00065h-5A for emacs-devel@gnu.org; Fri, 15 Feb 2008 18:34:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQA4y-00065H-Lv for emacs-devel@gnu.org; Fri, 15 Feb 2008 18:34:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQA4y-00065E-F0 for emacs-devel@gnu.org; Fri, 15 Feb 2008 18:34:52 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQA4y-000091-7B for emacs-devel@gnu.org; Fri, 15 Feb 2008 18:34:52 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JQA4x-0002il-V8 for emacs-pretest-bug@gnu.org; Fri, 15 Feb 2008 18:34:52 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JQA4u-00008X-TQ for emacs-pretest-bug@gnu.org; Fri, 15 Feb 2008 18:34:51 -0500 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQA4r-00007u-1y; Fri, 15 Feb 2008 18:34:45 -0500 Original-X-Trace: 41834863/mk-outboundfilter-1.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: AgAAADewtUdTQxds/2dsb2JhbAAIrhg 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; 15 Feb 2008 23:34:43 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <87k5l5yfaj.fsf@catnip.gol.com> X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:89196 gmane.emacs.pretest.bugs:21125 Archived-At: Miles Bader wrote: > However it doesn't look like the current Emacs mechanism for > format-specific coding systems (`auto-coding-functions') explicitly > supports functionality. Maybe sgml-xml-auto-coding-function could use > whatever lower-level function does coding-system-detection using only > the characters in the buffer (I can't seem to find it, but there must be > such a thing...). > file-coding-system-alist would be the place where I'd expect to see it used, but there utf-8 is hard-coded for xml files.