From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: ediff and coding systems Date: Sun, 21 Oct 2007 12:22:26 -0700 Message-ID: <200710211922.l9LJMQFX013338@oogie-boogie.ics.uci.edu> References: <25054.1192992406@cs.sunysb.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192994709 8072 80.91.229.12 (21 Oct 2007 19:25:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 19:25:09 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: kifer@cs.sunysb.edu (Michael Kifer) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 21 21:25:09 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 1IjgPv-000318-M1 for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 21:24:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjgPn-0002kX-Tl for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 15:24:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjgP9-0001vs-7g for emacs-devel@gnu.org; Sun, 21 Oct 2007 15:24:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjgP4-0001nc-Qo for emacs-devel@gnu.org; Sun, 21 Oct 2007 15:24:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjgP4-0001nI-2F for emacs-devel@gnu.org; Sun, 21 Oct 2007 15:24:02 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjgP0-0007Lv-0t; Sun, 21 Oct 2007 15:23:58 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l9LJMQFX013338; Sun, 21 Oct 2007 12:22:26 -0700 (PDT) In-Reply-To: <25054.1192992406@cs.sunysb.edu> (Michael Kifer's message of "Sun\, 21 Oct 2007 14\:46\:46 -0400") Original-Lines: 75 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_41 0.60) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:81395 Archived-At: kifer@cs.sunysb.edu (Michael Kifer) writes: > I am using 23.0.50 - the current CVS version. I can reproduce it with a version checked out this morning from CVS trunk and one that is about 1 week old, I don't have anything older than that. Is your version up to date? Can anybody else reproduce it? I don't know much about coding systems, so unfortunately I can't really debug this myself. > > > kifer@cs.sunysb.edu (Michael Kifer) writes: > > > > > Same thing - no luck. > > > > What version of emacs are you using? > > With 22.1 it works fine for me, with CVS trunk it does not... > > > > > > 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 > > > > > > > > > > > > > > > > > > >