From: Kenichi Handa <handa@m17n.org>
Cc: wl@gnu.org, d.love@dl.ac.uk, emacs-devel@gnu.org
Subject: Re: severe problems with composite characters
Date: Fri, 19 Sep 2003 20:06:05 +0900 (JST) [thread overview]
Message-ID: <200309191106.UAA13557@etlken.m17n.org> (raw)
In-Reply-To: <20030919.173740.264807114.kazu@iijlab.net>
In article <20030919.173740.264807114.kazu@iijlab.net>, Kazu Yamamoto (山本和彦) <kazu@iijlab.net> 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
handa@m17n.org
prev parent reply other threads:[~2003-09-19 11:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-17 5:45 severe problems with composite characters Werner LEMBERG
2003-09-17 6:49 ` Kenichi Handa
2003-09-18 9:24 ` Dave Love
2003-09-30 11:22 ` Kenichi Handa
2003-09-19 8:37 ` Kazu Yamamoto
2003-09-19 11:06 ` Kenichi Handa [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200309191106.UAA13557@etlken.m17n.org \
--to=handa@m17n.org \
--cc=d.love@dl.ac.uk \
--cc=emacs-devel@gnu.org \
--cc=wl@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).