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.help Subject: Re: Emacs refusing to switch to iso-latin-1 (on the way to be SOLVED) Date: Fri, 15 Feb 2008 09:45:17 +0100 Organization: Sebastien Vauban Message-ID: <87skzufw0y.fsf_-_@mundaneum.com> References: <87y79rohuu.fsf@mundaneum.com> <878x1rk0hd.fsf@mundaneum.com> <8563wvwirb.fsf@lola.goethe.zz> <87zlu6gyrt.fsf@mundaneum.com> <85hcgern5n.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203068437 30642 80.91.229.12 (15 Feb 2008 09:40:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2008 09:40:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 10:40:57 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JPx3w-0003rD-OG for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2008 10:40:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPx3S-0006EC-QR for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2008 04:40:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!fdn.fr!freenix!usenet-fr.net!nerim.net!feed1.news.be.easynet.net!reader0.news.be.easynet.net!not-for-mail Original-Newsgroups: gnu.emacs.help X-Www-site: Under construction... User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:MsZ4nCW6tNZwGFnHxyUBAOkBD0U= Original-Lines: 40 Original-NNTP-Posting-Date: 15 Feb 2008 08:45:18 GMT Original-NNTP-Posting-Host: 81.188.7.152 Original-X-Trace: 1203065118 reader0.news.be.easynet.net 1585 [::ffff:81.188.7.152]:58874 Original-X-Complaints-To: abuse@be.easynet.net Original-Xref: shelby.stanford.edu gnu.emacs.help:156176 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51552 Archived-At: Hi Stefan, >>> My request to "use iso-latin-1-unix for saving this buffer" >>> (`C-x RET f iso-latin-1 RET') is not respected. >> >> Because your file does not start with >> > > [...] When Emacs saves a file, it tries to use the encoding > that it would use when reading the file (this is necessary in > order to ensure that saving and reloading gives the same text, > which I hope you agree is important). I do agree. Thanks for making this clear to me, by explaining how it behaves! > Since XML files are decoded as utf-8 by default, Emacs has to > save it as utf-8 by default. > > The bug really is in `C-x RET f': it should complain that the > file's header specify utf-8 encoding (in this case by > omission) and hence iso-latin-1 cannot be used. Un-der-stood. I'm happy we do agree that there was something not totally normal in the way Emacs behaves in this case (failing silently, instead of telling me why it can't go on with my request). > Please report it as a bug via M-x report-emacs-bug. Just did. Thank you very much to all, Seb --=20 S=E9bastien=A0Vauban