[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR)
From: |
Eli Zaretskii |
Subject: |
Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR) |
Date: |
Sat, 16 Feb 2008 14:55:40 +0200 |
> From: Miles Bader <address@hidden>
> Cc: Kenichi Handa <address@hidden>, address@hidden,
> address@hidden
> Date: Fri, 15 Feb 2008 17:53:50 +0900
>
> Eli Zaretskii <address@hidden> writes:
> > Why should (make-string 1 ?a) produce a unibyte string? Why can't it
> > produce a multibyte string instead?
> >
> > More generally, how about if we make sure _all_ string-producing
> > primitives return multibyte strings, and unibyte strings can only be
> > produced by a few specialized ones which have "-unibyte-" in their
> > name?
>
> Why?
Because unibyte strings are evil, and shouldn't be needed in Emacs,
except in a few very specialized situations.
> That doesn't seem to help with the issue being discussed (Stefan's
> solution seems pretty good though)....
The fact that (make-string 1 ?a) produces a unibyte string was
mentioned as one problem.
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), (continued)
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Stephen J. Turnbull, 2008/02/13
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Richard Stallman, 2008/02/13
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Kenichi Handa, 2008/02/14
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Stefan Monnier, 2008/02/14
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Eli Zaretskii, 2008/02/15
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Miles Bader, 2008/02/15
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR),
Eli Zaretskii <=
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Richard Stallman, 2008/02/16
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Stefan Monnier, 2008/02/16
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Richard Stallman, 2008/02/17
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Stefan Monnier, 2008/02/17
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Kenichi Handa, 2008/02/17
- Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Richard Stallman, 2008/02/18
Re: (aset UNIBYTE-STRING MULTIBYTE-CHAR), Richard Stallman, 2008/02/13