all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Romain Francoise <romain@orebokech.com>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org
Subject: Re: composition bug
Date: Wed, 17 Sep 2008 14:34:08 +0900	[thread overview]
Message-ID: <E1Kfpg0-0006HF-PF@etlken.m17n.org> (raw)
In-Reply-To: <87prn457u2.fsf@elegiac.orebokech.com> (message from Romain Francoise on Tue, 16 Sep 2008 19:17:09 +0200)

In article <87prn457u2.fsf@elegiac.orebokech.com>, Romain Francoise <romain@orebokech.com> writes:

> Kenichi Handa <handa@m17n.org> writes:
> > Hmmm, it seems that there's a pattern.  What does this
> > return when the point is 1, 256, 414:

> >   ESC : (find-composition (point) (point-max) RET

> (255 256 [[#<font-object "-mutt-clearlyu-medium-r-normal--17-120-100-100-p-123-iso10646-1"> 1617] 0 [0 0 1617 1617 0 1 6 15 -12 [0 0 6]]])

> (412 414 [[#<font-object "-mutt-clearlyu-medium-r-normal--17-120-100-100-p-123-iso10646-1"> 3732 3765] 1 [0 1 3732 3732 8 1 8 9 0 nil] [0 1 3765 3765 0 -7 2 13 -10 nil]])

> (419 420 [[#<font-object "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"> 8205] 2 [0 0 8205 8205 6 0 0 0 0 [0 0 6]]])


Ok, so, C-n at the beginning of HELLO moves the point to the
end of first composition, and the 2nd C-n moves the point to
the end of 2nd composition.  But, the 3rd C-n doesn't
follows that pattern.

Please run Emacs under gdb as below:
          
M-x gdb RET /usr/local/work/emacs/src/emacs RET
            |-----------------------------|-> please adjust for your case
(gdb) br composite.c:1432
(gdb) run -Q

Then visit HELLO file by the Emacs running under gdb, and
type C-n.  Emacs should stop at the break point.  Then,
please find why the point moves to 256 by running the code
one line by line.

---
Kenichi Handa
handa@ni.aist.go.jp




  reply	other threads:[~2008-09-17  5:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 19:37 composition bug Chong Yidong
2008-09-08  6:36 ` Kenichi Handa
2008-09-08 12:19   ` Romain Francoise
2008-09-09  2:07     ` Kenichi Handa
2008-09-09  5:39       ` Romain Francoise
2008-09-09  7:20         ` Kenichi Handa
2008-09-09  7:40           ` Juanma Barranquero
2008-09-11  2:06           ` Kenichi Handa
2008-09-11  5:34             ` Romain Francoise
2008-09-13 10:09             ` Romain Francoise
2008-09-16  6:24               ` Kenichi Handa
2008-09-16  6:41                 ` Romain Francoise
2008-09-16  7:51                   ` Kenichi Handa
2008-09-16 17:17                     ` Romain Francoise
2008-09-17  5:34                       ` Kenichi Handa [this message]
2008-09-17 19:31                         ` Romain Francoise
2008-09-18  1:23                           ` Kenichi Handa
2008-09-18  6:08                             ` Stefan Monnier
2008-09-19  2:29                               ` Kenichi Handa
2008-09-19  2:44                                 ` Stefan Monnier
2008-09-19  3:48                                   ` Kenichi Handa

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=E1Kfpg0-0006HF-PF@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=romain@orebokech.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 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.