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: Keitaro Miyazaki <keitaro.miyazaki@gmail.com>
Cc: 7282@debbugs.gnu.org
Subject: bug#7282: 23.2; [PATCH] Improve text composition by Input Methods on MacOSX.
Date: Thu, 28 Oct 2010 09:55:37 +0900	[thread overview]
Message-ID: <wl39rrt9ti.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <AANLkTinL76EKKZhijf_nCm9h7G-K+RnZDRsfZrS30L0Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

>>>>> On Wed, 27 Oct 2010 23:56:47 +0900, Keitaro Miyazaki <keitaro.miyazaki@gmail.com> said:

> Yes, NSString counts length of string as number of Unicode characters,
> and I suppose range is counted in a similar way.

>      "... The length method returns the total number of Unicode
> characters in the string ..."

>        NSString Class Reference
>        <http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html>

In this context, "number of Unicode characters" should be read as
"number of `unichar' values", where the type `unichar' is of 16-bit
width.  Actually, it is confusing.

Also, selected range handling is not enough for the following case:

  (activate Kotoeri) a i u e o left left left

The first screenshot is for the NS port with your patch, and the
second one is for my Mac port
(http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg01439.html).

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

[-- Attachment #2: ns_port.png --]
[-- Type: image/png, Size: 2417 bytes --]

[-- Attachment #3: mac_port.png --]
[-- Type: image/png, Size: 2359 bytes --]

  reply	other threads:[~2010-10-28  0:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26 12:20 bug#7282: 23.2; [PATCH] Improve text composition by Input Methods on MacOSX Keitaro Miyazaki
2010-10-27  5:46 ` YAMAMOTO Mitsuharu
2010-10-27  6:17   ` YAMAMOTO Mitsuharu
2010-10-27 14:56     ` Keitaro Miyazaki
2010-10-28  0:55       ` YAMAMOTO Mitsuharu [this message]
2010-10-28  6:15         ` Keitaro Miyazaki
2010-10-28  6:35           ` YAMAMOTO Mitsuharu
2010-10-28 15:31             ` Keitaro Miyazaki
2016-07-10 15:15               ` Alan Third
2017-12-27  0:14                 ` Alan Third

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=wl39rrt9ti.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=7282@debbugs.gnu.org \
    --cc=keitaro.miyazaki@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 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.