emacs-devel
[Top][All Lists]
Advanced

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

Re: severe problems with composite characters


From: Kenichi Handa
Subject: Re: severe problems with composite characters
Date: Fri, 19 Sep 2003 20:06:05 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Kazu Yamamoto (山本和彦) <address@hidden> writes:
>>  I suspect that you evaluated something like this:
>>  
>>      (string-width "__some_composed_text__")
>>  
>>  in *scratch* buffer.  As the Lisp reader ignores any text
>>  properties on reading a string expression in *scratch*
>>  buffer, the string given to string-width doesn't have
>>  `composition' property.

> I tried this in other buffers and this returns 2 again.

Yes, that is the expected behaviour.  If a text is given to
string-width without `compostion' property, there's no way
for the function to know how the text is composed in a
buffer.

---
Ken'ichi HANDA
address@hidden





reply via email to

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