GNU bug report logs - #7282
23.2; [PATCH] Improve text composition by Input Methods on MacOSX.

Previous Next

Package: emacs;

Reported by: Keitaro Miyazaki <keitaro.miyazaki <at> gmail.com>

Date: Tue, 26 Oct 2010 13:35:02 UTC

Severity: normal

Tags: patch

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 7282 <at> debbugs.gnu.org (full text, mbox):

From: Keitaro Miyazaki <keitaro.miyazaki <at> gmail.com>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 7282 <at> debbugs.gnu.org
Subject: Re: bug#7282: 23.2; [PATCH] Improve text composition by Input Methods
	on MacOSX.
Date: Fri, 29 Oct 2010 00:31:09 +0900
[Message part 1 (text/plain, inline)]
> I mentioned "non-BMP characters" in the previous reply.

I understood that NSString counts numbers of UTF-16 units
instead of numbers of characters, so NSString counts length
of a non-BMP character as 2.

Thanks for your detailed description.


I fixed my patch to adjust the numbers in `selectedRange',
so that emacs can recognize the range properly.

Attached patch also includes the patch `im-cursor-position-fix.diff',
so you don't need to apply it now.


...BTW, I tried your Mac port today, and it seems to be working
fine for me. I hope it will be merged soon.
[highlight-on-active-clause-v2.diff (application/octet-stream, attachment)]

This bug report was last modified 7 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.