From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: kifer@cs.sunysb.edu (Michael Kifer) Newsgroups: gmane.emacs.devel Subject: Re: ediff and coding systems Date: Sun, 21 Oct 2007 01:43:17 -0400 Message-ID: <25181.1192945397@cs.sunysb.edu> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1192945426 10207 80.91.229.12 (21 Oct 2007 05:43:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 05:43:46 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 21 07:43:47 2007 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 1IjTbD-0004KI-3I for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 07:43:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjTb5-00079n-Fw for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 01:43:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjTb1-00077W-Gx for emacs-devel@gnu.org; Sun, 21 Oct 2007 01:43:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjTb0-000760-6H for emacs-devel@gnu.org; Sun, 21 Oct 2007 01:43:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjTaz-00075m-SX for emacs-devel@gnu.org; Sun, 21 Oct 2007 01:43:29 -0400 Original-Received: from sbcs.sunysb.edu ([130.245.1.15] helo=sbcs.cs.sunysb.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjTaw-0008Il-I9; Sun, 21 Oct 2007 01:43:26 -0400 Original-Received: from localhost (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id l9L5hGqh026587; Sun, 21 Oct 2007 01:43:16 -0400 (EDT) Original-Received: from [127.0.0.1]:10025 (kiferserv [127.0.0.1]) by localhost (Postfix) with ESMTP id D0F818B771; Sun, 21 Oct 2007 01:43:17 -0400 (EDT) In-Reply-To: Message from Eli Zaretskii of "Sat, 20 Oct 2007 20:09:12 +0200." X-Mailer: MH-E 8.0.3; nmh 1.1; GNU Emacs 23.0.50 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (1203?) 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:81337 Archived-At: I cannot reproduce this. I need a simple testcase. I took lisp/term/mac-win.el and created two copies. One with iso-2022-7bit and the other with utf-8. But ediffing them did not bring any warnings. > Michael, could you please look into the following report? TIA > > > From: Dan Nicolaescu > > Date: Sat, 20 Oct 2007 08:21:10 -0700 > > > > > > lisp/term/mac-win.el from CVS trunk uses: -*-coding: iso-2022-7bit;-*- > > and the same file on the emacs-unicode-2 uses: -*-coding: utf-8 > > > > When doing M-x ediff for the above 2 files a *Warning* buffer pops up > > for each hunk: > > > > These default coding systems were tried to encode text > > in the buffer ` *ediff-tmp*': > > iso-latin-1 > > However, each of them encountered characters it couldn't encode: > > iso-latin-1 cannot encode these: ? ? ? ? ? ? ? ? ? ? ... > > > > Click on a character (or switch to this window by `C-x o' > > and select the characters by RET) to jump to the place it appears, > > where `C-u C-x =' will give information about it. > > > > Select one of the safe coding systems listed below, > > or cancel the writing with C-g and edit the buffer > > to remove or modify the problematic characters, > > or specify any other coding system (and risk losing > > the problematic characters). > > > > utf-8 utf-16 utf-16 utf-16 utf-16be utf-16le iso-2022-7bit > > > > with the question "Select coding system (default mule-utf-8):" > > > > Would it be possible for ediff to avoid this? > > > > > > _______________________________________________ > > Emacs-devel mailing list > > Emacs-devel@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-devel > > >