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 14:46:46 -0400 Message-ID: <25054.1192992406@cs.sunysb.edu> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1192992439 1154 80.91.229.12 (21 Oct 2007 18:47:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 18:47:19 +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 20:47:19 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 1IjfpX-00017F-I9 for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 20:47:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjfpP-0005jt-Ug for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 14:47:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ijfp9-0005PU-It for emacs-devel@gnu.org; Sun, 21 Oct 2007 14:46:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ijfp6-0005LY-NB for emacs-devel@gnu.org; Sun, 21 Oct 2007 14:46:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ijfp6-0005LE-GH for emacs-devel@gnu.org; Sun, 21 Oct 2007 14:46:52 -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 1Ijfp1-0001VM-Ps; Sun, 21 Oct 2007 14:46:47 -0400 Original-Received: from localhost (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id l9LIkjWO014489; Sun, 21 Oct 2007 14:46:45 -0400 (EDT) Original-Received: from [127.0.0.1]:10025 (kiferserv [127.0.0.1]) by localhost (Postfix) with ESMTP id 1B2FF8B771; Sun, 21 Oct 2007 14:46:47 -0400 (EDT) In-Reply-To: Message from Dan Nicolaescu of "Sun, 21 Oct 2007 00:17:13 PDT." <200710210717.l9L7HDlj011904@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:81389 Archived-At: I am using 23.0.50 - the current CVS version. > 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 > > > > > > > > > > > > > > >