[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: char-to-string
From: |
Eli Zaretskii |
Subject: |
Re: char-to-string |
Date: |
Fri, 09 Feb 2001 09:26:55 +0200 |
> From: Kenichi Handa <address@hidden>
> Date: Fri, 9 Feb 2001 14:33:07 +0900 (JST)
>
> ShengHuo ZHU <address@hidden> writes:
> > [1 <text/plain (7bit)>]
> > (multibyte-string-p (char-to-string ?\200)) returns t, but in Emacs 20
> > it returns nil. This is annoying. For example, I think programmers
> > prefer that (mapconcat 'char-to-string '(?\200 ?\343) "") returns
> > "\200\343". The attached patch fixes this. Thoughts?
>
> Thank you for the report and patch. I agree with you.
> Especially, there's no reason to have the different behavior
> than Emacs 20.
>
> I've just installed the attached change.
> (string ?\200 ?\343)
> should also return a unibyte string.
Such changes so close to a release make me nervous. Isn't it
dangerous to introduce them at this time? Won't this have potentialy
bad effects on eight-bit-* character support, e.g. when searching for
them in a buffer?