From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?S=E9bastien_Vauban?= Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; Defaut encoding for XML files should be undefined (instead of utf-8) Date: Fri, 15 Feb 2008 10:06:45 +0100 Organization: Sebastien Vauban Message-ID: <87odaifv16.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203086617 31781 80.91.229.12 (15 Feb 2008 14:43:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 14:43:37 +0000 (UTC) Cc: alexandre@peadrop.com, monnier@iro.umontreal.ca To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 15 15:44:01 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 1JQ1nC-0002u8-Ey for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2008 15:43:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQ1mi-0007YG-Bs for ged-emacs-devel@m.gmane.org; Fri, 15 Feb 2008 09:43:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPwYY-0000Zu-AW for emacs-devel@gnu.org; Fri, 15 Feb 2008 04:08:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPwYT-0000Yv-PD for emacs-devel@gnu.org; Fri, 15 Feb 2008 04:08:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPwYT-0000Yr-6h for emacs-devel@gnu.org; Fri, 15 Feb 2008 04:08:25 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPwYS-0003qR-Ii for emacs-devel@gnu.org; Fri, 15 Feb 2008 04:08:24 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JPwYQ-0006KG-US for emacs-pretest-bug@gnu.org; Fri, 15 Feb 2008 04:08:23 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JPwY3-0003mh-Qn for emacs-pretest-bug@gnu.org; Fri, 15 Feb 2008 04:08:02 -0500 Original-Received: from 81-188-7-133.sdsl.easynet.be ([81.188.7.133] helo=mail.missioncriticalit.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPwY3-0003kX-2y for emacs-pretest-bug@gnu.org; Fri, 15 Feb 2008 04:07:59 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.missioncriticalit.com (Postfix) with ESMTP id C84BC9E01D; Fri, 15 Feb 2008 10:07:44 +0100 (CET) Original-Received: from mail.missioncriticalit.com ([127.0.0.1]) by localhost (escher [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17124-10; Fri, 15 Feb 2008 10:07:18 +0100 (CET) Original-Received: from mundaneum. (unknown [10.10.10.51]) by mail.missioncriticalit.com (Postfix) with ESMTP id B480C9E004; Fri, 15 Feb 2008 10:07:17 +0100 (CET) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMODhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QHw/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnYDQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ70hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloem/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= X-Www-site: Under construction... User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at missioncriticalit.com X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-Greylist: delayed 1794 seconds by postgrey-1.27 at monty-python; Fri, 15 Feb 2008 04:07:45 EST X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 15 Feb 2008 09:43:21 -0500 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:89161 gmane.emacs.pretest.bugs:21109 Archived-At: Hi, Please describe exactly what actions triggered the bug and the precise symptoms of the bug: When I'm opening an XML file that I've saved in iso-latin-1 encoding, it's not correctly opened if there is no header, cookie or local variable telling about my encoding. This is how it looks like, when opened, as it is read by default as utf-8 (while being iso-latin-1): --8<---------------cut here---------------start------------->8--- D\373 \340 l'entreprise Stagiaire occup\351 Autres --8<---------------cut here---------------end--------------->8--- PS- I've manually edited the accented characters, rewriting =FB (and the others) with \373 so that you can see what I see. The bug is: the default for XML files shouldn't be `utf-8' but `undefined' (i.e. the usual default which tries to auto-detect the encoding). If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0) of 2007-12-30 on iridium (emacs-snapshot package, version 1:20071229-1~gutsy) Windowing system distributor `The X.Org Foundation', version 11.0.1030000= 0 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-li= nux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D= /usr/lib' '--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--mandi= r=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/ema= cs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/loca= l/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/ema= cs/site-lisp:/usr/share/emacs/23.0.60/leim' '--with-x=3Dyes' '--with-x-to= olkit=3Dgtk' '--enable-font-backend' '--with-xft' '--with-freetype' 'buil= d_alias=3Di486-linux-gnu' 'host_alias=3Di486-linux-gnu' 'CFLAGS=3D-DDEBIA= N -DSITELOAD_PURESIZE_EXTRA=3D5000 -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Article Minor modes in effect: show-paren-mode: t recentf-mode: t auto-image-file-mode: t shell-dirtrack-mode: t global-hi-lock-mode: t icomplete-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t temp-buffer-resize-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: =20 =20 =20 SPC R E G T =20 =20 =20 =20 ` =20 ' =20 =20 i s o - =20 =20 =20 =20 =20 =20 =20 =20 C-c C-c . h e =20 m t o f i =20 o t i f . * x m l =20 d e l a i t r a=20 i t _ e t . x m l =20 =20 =20 C-SPC =20 =20 =20 M-w =20 =20 C-SPC =20 =20 M-w M-x Recent messages: Mark set 10.10.10.51=20 Domain name is `missioncriticalit.com', setting `smtpmail-smtp-server' to= `mail.missioncriticalit.com' Sending... Sending news via ^$\|\(^comp\.emacs$\)\|\(^comp\.emacs\.xemacs$\)\|\(^fr\= .comp\.applications\.emacs$\)\|\(^gnu\.emacs\.help$\) using nnvirtual... nnimap: Updating info for nnimap:INBOX.help...done Sending...done Mark set Saved text from " " Mark set --=20 S=C3=A9bastien=C2=A0Vauban