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 17:35:57 -0400 Message-ID: <2191.1193002557@cs.sunysb.edu> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1193002578 31140 80.91.229.12 (21 Oct 2007 21:36:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 21:36:18 +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 23:36:18 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 1IjiT4-00059j-6Q for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 23:36:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjiSw-0001y6-IU for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 17:36:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjiSr-0001w9-9z for emacs-devel@gnu.org; Sun, 21 Oct 2007 17:36:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjiSp-0001ut-4G for emacs-devel@gnu.org; Sun, 21 Oct 2007 17:36:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjiSo-0001uq-Tu for emacs-devel@gnu.org; Sun, 21 Oct 2007 17:36:02 -0400 Original-Received: from sbcs.cs.sunysb.edu ([130.245.1.15]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjiSk-0005xw-K3; Sun, 21 Oct 2007 17:35:58 -0400 Original-Received: from localhost (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id l9LLZuGb011551; Sun, 21 Oct 2007 17:35:56 -0400 (EDT) Original-Received: from [127.0.0.1]:10025 (kiferserv [127.0.0.1]) by localhost (Postfix) with ESMTP id 348F68B771; Sun, 21 Oct 2007 17:35:57 -0400 (EDT) In-Reply-To: Message from Dan Nicolaescu of "Sun, 21 Oct 2007 12:22:26 PDT." <200710211922.l9LJMQFX013338@oogie-boogie.ics.uci.edu> X-Mailer: MH-E 8.0.3+cvs; 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:81408 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? Yes - just updated it this morning. > 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 > > > > > > > > > > > > > > > > > > > > > > > >