[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing set-unibyte-charset
From: |
Kenichi Handa |
Subject: |
Re: Removing set-unibyte-charset |
Date: |
Wed, 05 Mar 2008 10:20:07 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
In article <address@hidden>, Stefan Monnier <address@hidden> writes:
>>> > Are you going to change the
>>> > behaviour of unibyte<->multibyte conversion?
>>> Clearly that will change it, indeed.
>>> E.g. string-make-multibyte == string-to-multibyte after that removal,
>>> for example.
> > Ok, I see. It's a big overhaul. :-)
> What do you mean by a big overhaul? The first step is nothing more than
> removing Fset_unibyte_charset (and removing the few calls to it).
Yes, but...
> 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.
---
Kenichi Handa
address@hidden