From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal J.Bourguignon Newsgroups: gmane.lisp.clisp.general,gmane.emacs.devel Subject: Re: emacs refuses to save file in the same encoding it was read Date: Tue, 14 Oct 2003 05:42:12 +0200 Organization: InformatiMago. Sender: clisp-list-admin@lists.sourceforge.net Message-ID: <16267.28820.604849.881886@thalassa.informatimago.com> References: <200310140052.JAA23914@etlken.m17n.org> Reply-To: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1066103077 17508 80.91.224.253 (14 Oct 2003 03:44:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 03:44:37 +0000 (UTC) Cc: clisp-list@lists.sourceforge.net, emacs-devel@gnu.org Original-X-From: clisp-list-admin@lists.sourceforge.net Tue Oct 14 05:44:35 2003 Return-path: Original-Received: from lists.sourceforge.net ([66.35.250.206] helo=sc8-sf-list2.sourceforge.net) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9G6s-0007rq-00 for ; Tue, 14 Oct 2003 05:44:35 +0200 Original-Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] helo=sc8-sf-list1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9G63-0005rh-00; Mon, 13 Oct 2003 20:43:43 -0700 Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian)) id 1A9G4j-0002Xh-00 for ; Mon, 13 Oct 2003 20:42:21 -0700 Original-Received: from thalassa.informatimago.com ([195.114.85.198] ident=postfix) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22) id 1A9G4i-00020u-4c for clisp-list@lists.sourceforge.net; Mon, 13 Oct 2003 20:42:20 -0700 Original-Received: by thalassa.informatimago.com (SMTP Daemon, from userid 1000) id BDC6C26AD8; Tue, 14 Oct 2003 05:42:12 +0200 (CEST) Original-To: Kenichi Handa In-Reply-To: <200310140052.JAA23914@etlken.m17n.org> X-Mailer: VM 7.17 under Emacs 21.3.50.pjb1.1 X-PGP-Key-ID: 0xEF5E9966 X-PGP-fingerprint: 00 F5 7B DB CA 51 8A AD 04 5B 6C DE 32 60 16 8E EF 5E 99 66 X-PGP-Public-Key: http://www.informatimago.com/pgpkey.asc X-URL: http://www.informatimago.com/index X-Face: ":yO)Vk=vFU3)FL&2#7gT_G=KUuNv*BEOo+Shubl.V4Whu&;A.>.+&yEVB5I5vrpZIJ{yOW >CgV%jD]GHL6rp:.OCM~_YO&aY34]|`{yNq79\x=g:7XSboBUj]1ULpA;v>-bS3veufw-rB!N0kZW! @A4i?z| X-Accept-Language: fr, es, en Content-Disposition: inline Content-Language: en X-Spam-Score: -2.6 (--) Errors-To: clisp-list-admin@lists.sourceforge.net X-BeenThere: clisp-list@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: CLISP user discussion List-Unsubscribe: , List-Archive: X-Original-Date: Tue, 14 Oct 2003 05:42:12 +0200 Xref: main.gmane.org gmane.lisp.clisp.general:7629 gmane.emacs.devel:17073 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17073 Kenichi Handa writes: > In article , Sam Steingold writes: > > I have a file which starts with this line: > > ;;; -*- coding: utf-8-unix -*- >=20 > > it is opened and displayed by emacs correctly. > > however, when I try to modify and save it, I get the following questi= on: >=20 > > Selected encoding mule-utf-8-unix disagrees with iso-2022-7bit specif= ied > > by file contents. Really save (else edit coding cookies and try agai= n)? > > (y or n) >=20 > > when I answer affirmatively, the file is saved, but a line > > ;; -*- coding: iso-2022-7bit; -*- > > is added in front of my cookie. >=20 > > what is going on? >=20 > I can't reproduce this bug. Could you please send me the > file that causes this problem in 8-bit safe way (base64 or > uuencode)? I had recently a similar problem (without a -*- coding: -*- line). I've got an answer on usenet saying that emacs did not support yet fully unicode, so when you have japanese characters, you must save in iso-2022. --=20 __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php