all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: 12364@debbugs.gnu.org
Subject: bug#12364: 24.2.50; wrong overhang display for gstring compositions
Date: Thu, 06 Sep 2012 11:37:26 +0900	[thread overview]
Message-ID: <wlwr07zxjt.wl%mituharu@math.s.chiba-u.ac.jp> (raw)

Steps to Reproduce:

1. $ emacs -Q &
2. evaluate (set-fontset-font t 'arabic (font-spec :family "arial" :size 30))
3. C-u C-\ arabic RET
4. u S u
   At this moment, the two grapheme clusters look connected.
5. C-b C-p
   Now the two grapheme clusters look unconnected.

See also the "u-S-u" example in the first screenshot in
http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-09/msg00178.html .

I think at least the two occurrences of the following line in xdisp.c
are wrong.

      int first = (s->first_glyph - glyphs) + (s->cmp ? 1 : s->nchars);

The value of s->cmp seems to be NULL for the "gstring" cases.

					YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

In GNU Emacs 24.2.50.1 (x86_64-apple-darwin12.1.0, X toolkit, Xaw3d scroll bars)
 of 2012-09-06 on YAMAMOTO-no-iMac.local
Bzr revision: 109895 yamaoka@jpl.org-20120905224543-v2x5qiqin2b83lnv
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
Configured using:
 `configure '--enable-checking' '--with-jpeg=no' '--with-gif=no'
 '--with-tiff=no' 'CFLAGS=-g3''

Important settings:
  value of $LANG: ja_JP.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t






             reply	other threads:[~2012-09-06  2:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06  2:37 YAMAMOTO Mitsuharu [this message]
2012-09-06  8:18 ` bug#12364: 24.2.50; wrong overhang display for gstring compositions Eli Zaretskii
2012-09-07  8:47 ` YAMAMOTO Mitsuharu
2012-09-11  4:01   ` YAMAMOTO Mitsuharu

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=wlwr07zxjt.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=12364@debbugs.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.