From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: lisp/ChangeLog coding system Date: Mon, 29 Apr 2002 16:33:16 +0300 (IDT) Sender: emacs-devel-admin@gnu.org Message-ID: References: <86sn5ehhr1.fsf@gerd.dnsq.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1020087479 26172 127.0.0.1 (29 Apr 2002 13:37:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 29 Apr 2002 13:37:59 +0000 (UTC) Cc: Michael Kifer , rms@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 172BLr-0006o0-00 for ; Mon, 29 Apr 2002 15:37:59 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 172BPd-0006YX-00 for ; Mon, 29 Apr 2002 15:41:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 172BLZ-00060k-00; Mon, 29 Apr 2002 09:37:41 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 172BIu-0005pm-00; Mon, 29 Apr 2002 09:34:57 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id QAA27214; Mon, 29 Apr 2002 16:33:16 +0300 (IDT) X-Sender: eliz@is Original-To: gerd@gnu.org In-Reply-To: <86sn5ehhr1.fsf@gerd.dnsq.org> Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3402 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3402 On 29 Apr 2002, Gerd Moellmann wrote: > Eli Zaretskii writes: > > > Gerd, can you tell what exactly was wrong with the ChageLog before you > > fixed it? > > Inserting a new change log entry and trying to save the file lead to > the ``choose coding system'' dialog. > > The value of buffer-file-coding-system was iso-2022-7bit, and > find-charset-region on the whole buffer returned `(ascii > eight-bit-graphic)', I think. > > The change in question is the one from version 1.3763 to 1.3764. Thanks for the info. As far as I could see, version 1.3764 is encoded in Latin-1, not iso-2022-7bit. But since there's a ``coding: iso-2022-7bit'' cookie there, buffer-file-coding-system gets set to iso-2022-7bit, and Emacs then pops the select-safe-coding-system dialog when you try to save. The question is how did the file get saved on Michael's machine as Latin-1. Ideas, anyone? I think we should change save-buffer to pay attention to the coding: cookie. This was discussed long ago (more than a year, IIRC), but never got coded. It's a bad mantra, IMHO, that Emacs produces a file whose coding: lies through its teeth.