emacs-devel
[Top][All Lists]
Advanced

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

Please install a fix for composition handling.


From: Kenichi Handa
Subject: Please install a fix for composition handling.
Date: Mon, 17 Dec 2001 10:22:08 +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)

I found a bug in decoding composition sequence in the
function code_convert_region (coding.c).  At line 5516, we
have these lines:
      if (encodep)
        result = encode_coding (coding, src, dst, len_byte, 0);
      else
        result = decode_coding (coding, src, dst, len_byte, 0);
but `else' part should be modified as below:

If coding->composing is not COMPOSITION_DISABLED, we must
set coding->cmp_data->char_offset to the value of (from +
inserted) before calling decode_coding.

Could someone please install a proper fix.

---
Ken'ichi HANDA
address@hidden



reply via email to

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