From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel,gmane.lisp.clisp.general Subject: Re: emacs refuses to save file in the same encoding it was read Date: Tue, 14 Oct 2003 09:52:52 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200310140052.JAA23914@etlken.m17n.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1066093109 3532 80.91.224.253 (14 Oct 2003 00:58:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 00:58:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 14 02:58:28 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9DW7-0002tD-00 for ; Tue, 14 Oct 2003 02:58:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9DW7-000063-00 for ; Tue, 14 Oct 2003 02:58:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9DVM-00055A-U7 for emacs-devel@quimby.gnus.org; Mon, 13 Oct 2003 20:57:40 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9DUO-0004dN-4t for emacs-devel@gnu.org; Mon, 13 Oct 2003 20:56:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9DTm-0004L7-Ut for emacs-devel@gnu.org; Mon, 13 Oct 2003 20:56:35 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1A9DTl-0004KE-Pz for emacs-devel@gnu.org; Mon, 13 Oct 2003 20:56:01 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by mx20.gnu.org with esmtp (Exim 4.24) id 1A9DQr-0000ig-07 for emacs-devel@gnu.org; Mon, 13 Oct 2003 20:53:01 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h9E0qrh05593; Tue, 14 Oct 2003 09:52:53 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h9E0qqs18743; Tue, 14 Oct 2003 09:52:52 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id JAA23914; Tue, 14 Oct 2003 09:52:52 +0900 (JST) Original-To: clisp-list@lists.sourceforge.net In-reply-to: (message from Sam Steingold on Fri, 10 Oct 2003 16:08:12 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17069 gmane.lisp.clisp.general:7626 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17069 In article , Sam Steingold writes: > I have a file which starts with this line: > ;;; -*- coding: utf-8-unix -*- > it is opened and displayed by emacs correctly. > however, when I try to modify and save it, I get the following question: > Selected encoding mule-utf-8-unix disagrees with iso-2022-7bit specified > by file contents. Really save (else edit coding cookies and try again)? > (y or n) > when I answer affirmatively, the file is saved, but a line > ;; -*- coding: iso-2022-7bit; -*- > is added in front of my cookie. > what is going on? 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)? --- Ken'ichi HANDA handa@m17n.org