From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader 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 12:16:36 +0900 Message-ID: References: <87odaifv16.fsf@mundaneum.com> <87r6fd5q12.fsf@uwakimon.sk.tsukuba.ac.jp> <47B6B3CC.1080101@gnu.org> <87wsp5xhz4.fsf@uwakimon.sk.tsukuba.ac.jp> <47B6D1ED.6020601@gmail.com> <87r6fcxms7.fsf@uwakimon.sk.tsukuba.ac.jp> <47B8452F.6090504@gmail.com> <87odafxluc.fsf@uwakimon.sk.tsukuba.ac.jp> <87bq6fnrpt.fsf@catnip.gol.com> <87hcg7xh2h.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203304627 24508 80.91.229.12 (18 Feb 2008 03:17:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 03:17:07 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org, "Lennart Borgman \(gmail\)" , Edward O'Connor , Stefan Monnier To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 18 04:17: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 1JQwVV-0003wE-8b for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2008 04:17:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQwV0-0007Cj-AH for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 22:16:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQwUw-0007CC-1e for emacs-devel@gnu.org; Sun, 17 Feb 2008 22:16:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQwUt-0007B3-C0 for emacs-devel@gnu.org; Sun, 17 Feb 2008 22:16:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQwUt-0007At-9J for emacs-devel@gnu.org; Sun, 17 Feb 2008 22:16:51 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQwUt-0001qn-47 for emacs-devel@gnu.org; Sun, 17 Feb 2008 22:16:51 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JQwUs-0007Pg-PE for emacs-pretest-bug@gnu.org; Sun, 17 Feb 2008 22:16:50 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JQwUp-0001py-Qj for emacs-pretest-bug@gnu.org; Sun, 17 Feb 2008 22:16:50 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQwUp-0001oj-1R; Sun, 17 Feb 2008 22:16:47 -0500 Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id m1I3GWpi004689; Mon, 18 Feb 2008 12:16:37 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay31.aps.necel.com with ESMTP; Mon, 18 Feb 2008 12:16:37 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay21.aps.necel.com with ESMTP; Mon, 18 Feb 2008 12:16:37 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id 6AD3D60E; Mon, 18 Feb 2008 12:16:37 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <87hcg7xh2h.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Mon, 18 Feb 2008 09:07:50 +0900") Original-Lines: 25 X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:89438 gmane.emacs.pretest.bugs:21181 Archived-At: "Stephen J. Turnbull" writes: > What's ungraceful about C-x C-s responding with > Warning: This XML document does not seem to conform to XML > charset declaration rules. Would you like to > (1) add an XML processor instruction (coding cookie) > (2) link to a parent document which specifies the encoding > (3) create a dummy parent document (available only to your sessions) > (4) save as is in the [buffer-file-coding-system] encoding? The discussion is about what to do when visiting a file, not saving it. [Whether the above sort of "extreme nannying" is a good idea or not when saving, probably depends on who you ask; many would probably appreciate the help, but knowing Emacs, users, it seems a good bet some would chaff at the presumption.] For visiting, I rather like what I suggested earlier, changing Emacs' format-specific-coding mechanisms to support format-specific coding _preferences_ as well as "absolute codings". -Miles -- Guilt, n. The condition of one who is known to have committed an indiscretion, as distinguished from the state of him who has covered his tracks.