emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fcall_process: wrong conversion


From: Kenichi Handa
Subject: Re: Fcall_process: wrong conversion
Date: Tue, 16 May 2006 13:39:54 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, "Herbert Euler" <address@hidden> writes:

> Oh, I see my fault.  At the same time, I see whether a string is
> unibyte-string is tested with STRING_MULTIBYTE (line 674 to 676,
> lisp.h):

>     /* Nonzero if STR is a multibyte string.  */
>     #define STRING_MULTIBYTE(STR)  \
>       (XSTRING (STR)->size_byte >= 0)

> I don't know how `size_byte' is set.  Is it done by scanning a string
> and watching the range of each byte (or some bytes) of the
> string?

No.  XSTRING (STR)->size_byte is set when a string is
created depending on how it is created (by
make_unibyte_string or make_multibyte_string or ...).

---
Kenichi Handa
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]