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 02:52:06 -0400 Message-ID: <28967.1192949526@cs.sunysb.edu> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1192949552 17695 80.91.229.12 (21 Oct 2007 06:52:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 06:52:32 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 21 08:52:32 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 1IjUfo-0006M4-K2 for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 08:52:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjUfh-0006OY-08 for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 02:52:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjUfc-0006LH-Kj for emacs-devel@gnu.org; Sun, 21 Oct 2007 02:52:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjUfa-0006KX-6f for emacs-devel@gnu.org; Sun, 21 Oct 2007 02:52:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjUfa-0006KR-2n for emacs-devel@gnu.org; Sun, 21 Oct 2007 02:52:18 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IjUfW-000457-GY; Sun, 21 Oct 2007 02:52:14 -0400 Original-Received: from sbcs.cs.sunysb.edu ([130.245.1.15]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjUfV-0001hm-P2; Sun, 21 Oct 2007 02:52:13 -0400 Original-Received: from localhost (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id l9L6q5Hh014580; Sun, 21 Oct 2007 02:52:06 -0400 (EDT) Original-Received: from [127.0.0.1]:10025 (kiferserv [127.0.0.1]) by localhost (Postfix) with ESMTP id 4C4858B771; Sun, 21 Oct 2007 02:52:07 -0400 (EDT) In-Reply-To: Message from Dan Nicolaescu of "Sat, 20 Oct 2007 23:12:11 PDT." <200710210612.l9L6CBAK009062@oogie-boogie.ics.uci.edu> X-Mailer: MH-E 8.0.3; nmh 1.1; GNU Emacs 23.0.50 X-detected-kernel: by mx20.gnu.org: Solaris 10 (1203?) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:81342 Archived-At: Same thing - no luck. > kifer@cs.sunysb.edu (Michael Kifer) writes: > > > 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. > > Please try > env LANG=C emacs -q > and then ediff the 2 files. > > > > > 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 > > > > > > > >