From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: ediff and coding systems Date: Mon, 22 Oct 2007 12:42:47 +0900 Message-ID: References: <25054.1192992406@cs.sunysb.edu> <200710211922.l9LJMQFX013338@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1193024645 13257 80.91.229.12 (22 Oct 2007 03:44:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2007 03:44:05 +0000 (UTC) Cc: eliz@gnu.org, kifer@cs.sunysb.edu, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 22 05:44:05 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 1IjoCx-0003P1-TY for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 05:44:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjoCq-0000Vf-8F for ged-emacs-devel@m.gmane.org; Sun, 21 Oct 2007 23:43:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IjoCD-0008Cs-Gk for emacs-devel@gnu.org; Sun, 21 Oct 2007 23:43:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IjoCC-0008B4-DW for emacs-devel@gnu.org; Sun, 21 Oct 2007 23:43:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IjoCC-0008Aj-1x for emacs-devel@gnu.org; Sun, 21 Oct 2007 23:43:16 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IjoC6-00036u-7s; Sun, 21 Oct 2007 23:43:10 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l9M3gpJF015803; Mon, 22 Oct 2007 12:42:53 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l9M3gpNt027288; Mon, 22 Oct 2007 12:42:51 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id l9M3glS1009610; Mon, 22 Oct 2007 12:42:47 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IjoBj-0004LS-Pe; Mon, 22 Oct 2007 12:42:47 +0900 In-reply-to: <200710211922.l9LJMQFX013338@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Sun, 21 Oct 2007 12:22:26 -0700) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:81425 Archived-At: In article <200710211922.l9LJMQFX013338@oogie-boogie.ics.uci.edu>, Dan Nicolaescu writes: > Can anybody else reproduce it? I don't know much about coding systems, > so unfortunately I can't really debug this myself. I can reproduce it when I run Emacs with LANG=C, and try to see the 5th (or 6th) different point where non-ASCII charaters exist. The calling sequence of read-coding-system is this: read-coding-system("Select coding system (default mule-utf-8): " mule-utf-8) select-safe-coding-system-interactively(1 5557 (utf-8 ....)) select-safe-coding-system(1 5557 nil nil "/tmp/fineDiffA155544eB") write-region(1 5557 "/tmp/fineDiffA155544eB" nil no-message) ediff-make-temp-file(# "fineDiffA" "/tmp/fineDiffA155544eB") ediff-make-fine-diffs(5 noforce) ediff-install-fine-diff-if-necessary(5) ediff-next-difference(1) call-interactively(ediff-next-difference) I don't know why ediff-make-temp-file is called, but perhaps it should call write-region while binding coding-system-for-write to `no-conversion' or `emacs-mule'. --- Kenichi Handa handa@m17n.org