[Top][All Lists]

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

Re: Creating a coding system

From: David Kastrup
Subject: Re: Creating a coding system
Date: Thu, 25 Dec 2014 07:39:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

address@hidden (K. Handa) writes:

> In article <address@hidden>, David Kastrup <address@hidden> writes:
>> > The other method is to use CCL (i.e :coding-type 'ccl), but,
>> > if the combination of the charset decoding and translation
>> > table works, it's faster than running CCL code.
>> The translation table is not happy about translating things to nothing.
>> Apparently that makes the calculation of the reverse translation go
>> wrong.
> Ah, perhaps make-translation-table-from-alist should have
> optional argument to suppress building of reverse map, say
> no-reverse-mmap.  Just for decoding, we don't need a reverse
> map.

Whether we need it or not, empty productions should just be allowed and
ignored for reverse translation.  Of course, they are not compatible
with lossless conversions, but so are many other rules.

David Kastrup

reply via email to

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