From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#7282: 23.2; [PATCH] Improve text composition by Input Methods on MacOSX. Date: Wed, 27 Oct 2010 14:46:56 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1288160006 9049 80.91.229.12 (27 Oct 2010 06:13:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2010 06:13:26 +0000 (UTC) Cc: 7282@debbugs.gnu.org To: Keitaro Miyazaki Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 27 08:13:23 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PAzGE-0007WG-NN for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Oct 2010 08:13:23 +0200 Original-Received: from localhost ([127.0.0.1]:44772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAzGC-000203-Re for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Oct 2010 02:13:20 -0400 Original-Received: from [140.186.70.92] (port=41129 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAzFy-0001tQ-2X for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 02:13:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAzFu-0001cZ-Lz for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 02:13:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAzFu-0001cV-KM for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2010 02:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PAyms-0008VI-DL; Wed, 27 Oct 2010 01:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Oct 2010 05:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7282 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 7282-submit@debbugs.gnu.org id=B7282.128815817632682 (code B ref 7282); Wed, 27 Oct 2010 05:43:02 +0000 Original-Received: (at 7282) by debbugs.gnu.org; 27 Oct 2010 05:42:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAymm-0008V5-B4 for submit@debbugs.gnu.org; Wed, 27 Oct 2010 01:42:56 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAymj-0008V0-IH for 7282@debbugs.gnu.org; Wed, 27 Oct 2010 01:42:54 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 56234C0557; Wed, 27 Oct 2010 14:46:56 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?Q?Shij=C5=8D?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 27 Oct 2010 01:43:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41158 Archived-At: >>>>> On Tue, 26 Oct 2010 21:20:13 +0900, Keitaro Miyazaki said: > It is quite difficult to compose "input text" of language such as > Japanese by Input Methods like "Kotoeri" on MacOSX, because emacs > does not show clause boundary of the "input text". > I made an attached patch which improves text composition by making a > highlight on active clause of the "input text". The members in `selRange' are in UTF-16 indices. So they are not necessarily coincide with character indices when the marked text contains non-BMP characters. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp