[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing set-unibyte-charset
From: |
Stefan Monnier |
Subject: |
Re: Removing set-unibyte-charset |
Date: |
Tue, 04 Mar 2008 21:04:28 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> After that, many more changes can be applied, but these are nothing more
>> than optimizations (e.g. remove unibyte-charset since it's constant,
>> ...).
> I've thought that you are going to change all operations
> that convert unibyte char/string/buffer-contents to
> multibyte (insert, concat, search, re-search, etc).
> Currently they do "make"-conversion; i.e. convert each
> unibyte character to multibyte by using unibyte-charset.
> Changing all of them to "to"-conversion is a big (but not
> that difficult) work, I think.
It's a tiny amount of work: just removing all calls to
set-unibyte-charset does the trick. Admittedly, the subsequent
optimizations that become possible represent a fairly large amount of
changes, but as you say it's not difficult, and it can be done at
a leisurely pace.
Stefan