From: Kenichi Handa <handa@m17n.org>
To: rms@gnu.org
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: Error during redisplay
Date: Wed, 27 Feb 2008 10:28:04 +0900 [thread overview]
Message-ID: <E1JUB5Y-0006s3-Ph@etlken.m17n.org> (raw)
In-Reply-To: <E1JU9V5-0001nM-1x@fencepost.gnu.org> (message from Richard Stallman on Tue, 26 Feb 2008 18:46:19 -0500)
In article <E1JU9V5-0001nM-1x@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes:
> to .emacs fixes the problem. Apparently, pure strings in
> mode-line-format don't like to be added auto-composed properties.
> In auto-compose-chars, inhibit-read-only is bound to t while
> the code add auto-composed property. If it's still not
> allowed, are there anyway to detect that the string is pure?
> There is something not clean about trying to modify a string in
> mode-line-format when a user turns on a feature that doesn't intend to
> change the mode line. That seems like a flaw in the design of
> something.
The current design requires to add `composition' property to
a string to properly display the string if it contains, for
instance, some of Indic characters, and to add
`auto-composed' property to avoid the repeated generation of
`composition' property.
> The strings in mode-line-format are supposed to be set up correct when
> Emacs is dumped. Should they have these properties, or not? That is
> the first question.
If mode-line-format has not been modified, I think it
doesn't contain any characters that require composition
(except for the case that we support such ligatures as "Fi"
in the future). One way is to check if the string contains
any such characters, and if not, avoid any composition
processing. As the string tends to be short, doing that
check repeatedly will not be that inefficient.
> If they SHOULD have these properties, probably we should make sure they have
> these properties from the start, or from an early point in building Emacs.
That's impossible. How to compose them depends on which
font to use.
---
Kenichi Handa
handa@ni.aist.go.jp
next prev parent reply other threads:[~2008-02-27 1:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-24 2:56 Error during redisplay Juanma Barranquero
2008-02-26 1:48 ` Juanma Barranquero
2008-02-26 4:18 ` Kenichi Handa
2008-02-26 4:55 ` Stefan Monnier
2008-02-26 23:46 ` Richard Stallman
2008-02-27 1:28 ` Kenichi Handa [this message]
2008-02-27 6:59 ` David Kastrup
2008-02-27 8:04 ` Kenichi Handa
2008-02-27 8:34 ` David Kastrup
2008-02-27 16:08 ` Richard Stallman
2008-02-27 16:06 ` Stefan Monnier
2008-02-28 6:36 ` Kenichi Handa
2008-02-28 16:44 ` Stefan Monnier
2008-02-27 16:07 ` Richard Stallman
2008-02-27 3:15 ` Bob Rogers
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JUB5Y-0006s3-Ph@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=rms@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.