all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Removing set-unibyte-charset
Date: Wed, 05 Mar 2008 10:20:07 +0900	[thread overview]
Message-ID: <E1JWiIh-0004LN-UU@etlken.m17n.org> (raw)
In-Reply-To: <jwv4pbmbgc2.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Tue, 04 Mar 2008 11:38:51 -0500)

In article <jwv4pbmbgc2.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> 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
handa@ni.aist.go.jp




  reply	other threads:[~2008-03-05  1:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-02 22:00 Removing set-unibyte-charset Stefan Monnier
2008-03-03 12:59 ` Kenichi Handa
2008-03-03 15:07   ` Stefan Monnier
2008-03-04 12:26     ` Kenichi Handa
2008-03-04 16:38       ` Stefan Monnier
2008-03-05  1:20         ` Kenichi Handa [this message]
2008-03-05  2:04           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JWiIh-0004LN-UU@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.