From: Kenichi Handa <handa@m17n.org>
To: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: combining chars issue
Date: Thu, 26 Jun 2008 17:07:11 +0900 [thread overview]
Message-ID: <E1KBmVb-0001n5-EZ@etlken.m17n.org> (raw)
In-Reply-To: <20080619143057.GA85105@orion.lan> (message from Emanuele Giaquinta on Thu, 19 Jun 2008 16:30:57 +0200)
Sorry for the late response on this matter.
In article <20080619143057.GA85105@orion.lan>, Emanuele Giaquinta <emanuele.giaquinta@gmail.com> writes:
> with latest cvs combining chars are not handled properly in emacs -Q -nw.
> It seems emacs does not write the combining chars at all on stdout, so
> they are not displayed.
> Attached is an utf-8 encoded file that should exhibit the problem and a
> typescript of emacs $file. As you can see from the typescript, emacs
> writes U+39b but not U+300. However, what-cursor-position reports U+300
> in the cell next to the U+39b one, so it seems only a display issue.
I've just installed a fix.
> The problem seems to be in term.c:append_glyph, which does not append
> any glyph when it->pixel_width == 0.
> Does the attached patch make sense?
No. The sequence of base character and the following
combining characters must be composed to one grapheme
cluster to provide a reasonable cursor movement. The
problem was that auto-composition-mode didn't handle the
case of terminal display.
---
Kenichi Handa
handa@ni.aist.go.jp
next prev parent reply other threads:[~2008-06-26 8:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 14:30 combining chars issue Emanuele Giaquinta
2008-06-20 15:41 ` Trent W. Buck
2008-06-23 10:14 ` Emanuele Giaquinta
2008-06-26 8:07 ` Kenichi Handa [this message]
2008-06-26 8:33 ` Emanuele Giaquinta
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=E1KBmVb-0001n5-EZ@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=emanuele.giaquinta@gmail.com \
/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).