emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs-26 0feb673: Display raw bytes as belonging to 'e


From: Robert Pluim
Subject: Re: [Emacs-diffs] emacs-26 0feb673: Display raw bytes as belonging to 'eight-bit' charset
Date: Fri, 27 Jul 2018 15:10:23 +0200

Stefan Monnier <address@hidden> writes:

>>                            (char-charset char))))
>> +           ;; TIS620.2533 overlaps eight-bit-control, but we want to
>> +           ;; show eight-bit for raw bytes, not some obscure character
>> +           ;; set no one heard of.
>> +           (charset (if (eq charset 'tis620-2533)
>> +                        'eight-bit
>> +                      charset))
>
> Do we need `char-charset` to return `tis620-2533` for these, or could we
> instead of the above change `char-charset` to return `eight-bit` or
> `eight-bit-control`?

Setting ':supplementary-p t' on tis620-2533 induces 'char-charset' to
return 'eight-bit' for raw byte chars.

Robert



reply via email to

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