* Re: correcting Emacs CHAR_COMPONENTS_VALID_P
[not found] <200204130410.NAA29660@etlken.m17n.org>
@ 2002-04-15 23:18 ` Dave Love
0 siblings, 0 replies; 2+ messages in thread
From: Dave Love @ 2002-04-15 23:18 UTC (permalink / raw)
Cc: bug-gnu-emacs
You wrote:
> Dave Love <d.love@dl.ac.uk> writes:
>
> > I accidentally made a bogus character from a 94x94 charset like
> > (make-char 'japanese-jisx0208 32 32)
>
> > and was confused by the result of inserting it.
>
> > Is it worth fixing, or is it intentional for efficiency or something?
> > It isn't trivial to fix because several functions and macros are
> > affected.
>
> The current behaviour is intentional. Efficiency is one
> reason. Another reason is historical one. There exists
> many files that contains invalid byte sequences such as 0xA0
> 0xA0 (especially EUC-GB). Before we introduce
> eight-bit-control and eight-bit-graphic, we couldn't decode
> them properly if we treat them as invalid byte sequence.
> Thus I made the rule loosen. Now, as we have
> eight-bit-graphic, we can make the rule firm, but I think
> it's not worth spending time on it.
I think that deserves commentary in the sources to avoid anyone else
wasting time looking at it.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: correcting Emacs CHAR_COMPONENTS_VALID_P
@ 2002-04-18 2:25 Kenichi Handa
0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2002-04-18 2:25 UTC (permalink / raw)
Cc: bug-gnu-emacs
Dave Love <d.love@dl.ac.uk> writes:
> You wrote:
>> Dave Love <d.love@dl.ac.uk> writes:
>>
>> > I accidentally made a bogus character from a 94x94 charset like
>> > (make-char 'japanese-jisx0208 32 32)
>>
>> > and was confused by the result of inserting it.
>>
>> > Is it worth fixing, or is it intentional for efficiency or something?
>> > It isn't trivial to fix because several functions and macros are
>> > affected.
>>
>> The current behaviour is intentional. Efficiency is one
>> reason. Another reason is historical one. There exists
>> many files that contains invalid byte sequences such as 0xA0
>> 0xA0 (especially EUC-GB). Before we introduce
>> eight-bit-control and eight-bit-graphic, we couldn't decode
>> them properly if we treat them as invalid byte sequence.
>> Thus I made the rule loosen. Now, as we have
>> eight-bit-graphic, we can make the rule firm, but I think
>> it's not worth spending time on it.
> I think that deserves commentary in the sources to avoid anyone else
> wasting time looking at it.
I agree, and thank you for pointing out that. Would you
please add a proper comment to the source? I still can't
contribute any code for the current version of Emacs. :-(
---
Ken'ichi HANDA
handa@etl.go.jp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-18 2:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18 2:25 correcting Emacs CHAR_COMPONENTS_VALID_P Kenichi Handa
[not found] <200204130410.NAA29660@etlken.m17n.org>
2002-04-15 23:18 ` Dave Love
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.