emacs-devel
[Top][All Lists]
Advanced

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

Re: please consider emacs-unicode for pervasive changes


From: Kenichi Handa
Subject: Re: please consider emacs-unicode for pervasive changes
Date: Fri, 6 Sep 2002 13:29:41 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Richard Stallman <address@hidden> writes:
>       In other words, running `diff' on 
>     the original and the edited files will not show any changes in those line 
>     you didn't modify.  However, unification means that `diff' _will_ 
>     sometimes show differences in unedited portions of the file, because C2 
>     was recoded into a different codepoint.

> Given that we are using unicode and unification,
> isn't this inevitable?

Not necessarily.  If we put the text property `charset' (the
value is a charset) to a text on decoding, and check it on
encoding, we can preserve the same byte sequence.

Putting that text property to all the text is too much.  We
should put it only on such characters that will be encoded
differently without that information.

The new code conversion routine of emacs-unicode already has
a basic mechanism to handle to such a thing (currently used
only for compositions).  Only that I don't have a time to
write concrete codes.

---
Ken'ichi HANDA
address@hidden




reply via email to

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