bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: decode-char & utf-8-fragment-on-decoding


From: Thomas Morgan
Subject: Re: decode-char & utf-8-fragment-on-decoding
Date: 05 Sep 2002 01:23:05 -0400

   [utf-8-fragment-on-decoding] has no effect on how decoding is done,
   and `decode-char' was meant to be consistent with how utf-8
   decoding actually works.

I understand now that utf-8-fragment-on-decoding has no direct effect
on decoding, but it is still not clear to me what indirect effect it is
supposed to have when it is set through Custom.  Right now it applies
to CCL programs, but not to decode-char.  Is that correct?

If so, perhaps that should be documented.  It's a rather confusing point
for me because I am not an expert; there are probably other non-experts
who would also find it confusing.

If it is not correct, however, how about making decode-char look for
utf-8-translation-table-for-decode within translation-table-vector
rather than accessing the Lisp variable directly?

The Custom set function for utf-8-fragment-on-decoding never changes
the variable utf-8-translation-table-for-decode, but it does change
the corresponding member of translation-table-vector by calling
define-translation-table.





reply via email to

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