[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ediff and coding systems

From: Kenichi Handa
Subject: Re: ediff and coding systems
Date: Mon, 22 Oct 2007 12:42:47 +0900
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)

In article <address@hidden>, Dan Nicolaescu <address@hidden> 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(#<buffer  *ediff-tmp*> "fineDiffA" 
  ediff-make-fine-diffs(5 noforce)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]