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

>> 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




      reply	other threads:[~2008-03-05  2:04 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
2008-03-05  2:04           ` Stefan Monnier [this message]

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=jwv4pbmlyib.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    /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.