From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Input method or help feature needed Date: Mon, 21 Feb 2011 16:47:57 +0900 Message-ID: References: <87lj1ew6d3.fsf@catnip.gol.com> <20110218083736.GA12190@tomas> <20110220082705.GA4092@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298274772 28518 80.91.229.12 (21 Feb 2011 07:52:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2011 07:52:52 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 21 08:52:48 2011 Return-path: Envelope-to: ged-emacs-devel@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 1PrQZX-0001GD-6A for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2011 08:52:43 +0100 Original-Received: from localhost ([127.0.0.1]:42214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrQVJ-0003eM-5A for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2011 02:48:21 -0500 Original-Received: from [140.186.70.92] (port=58518 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrQV9-0003da-DF for emacs-devel@gnu.org; Mon, 21 Feb 2011 02:48:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrQV6-0004u0-OP for emacs-devel@gnu.org; Mon, 21 Feb 2011 02:48:11 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:62539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrQUz-0004qp-V3; Mon, 21 Feb 2011 02:48:02 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id p1L7lwSV022858; Mon, 21 Feb 2011 16:47:58 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id p1L7lwqv001372; Mon, 21 Feb 2011 16:47:58 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id p1L7lvDf020177; Mon, 21 Feb 2011 16:47:57 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1PrQUv-000137-LK; Mon, 21 Feb 2011 16:47:57 +0900 In-Reply-To: (message from Eli Zaretskii on Mon, 21 Feb 2011 02:02:47 -0500) X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 150.29.246.133 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136316 Archived-At: In article , Eli Zaretskii writes: > > Attached is a sample implementation of `list-script-chars'. > > ---------------------------------------------------------------------- > > Display a list of characters belonging to SCRIPT. > > The list is displayed in a buffer named "*Character List*". > > In that buffer, the target characters are highlighted, and you > > can copy each of them to kill ring by clicking them. > > ---------------------------------------------------------------------- > Instead of introducing yet another command, how about extending > list-charset-chars to include these features? With the notable > exception of Latin scripts, the display looks similar, if not > identical, to list-charset-chars. The reason why the output is similar except for latin is that I have implemented a special handler only for latin. As I wrote, some other scripts (han, hangul, various Indic, etc) should have their own handlers. > Btw, time to generate a buffer for large scripts, like han or hangul, > is quite long, Sure. That's another reason to have special handlers for them. For han, for instance, instead of generating the full list at once, just showing radicals at first, then, expanding each radical on mouse clicking, may be efficient. Creating buttons for each character naively is also slow. It may be good if there's a way to create a help-echo on the fly. > as is the time for producing the list of script names > if I type `?' at the "Script:" prompt. Really? When I tested it, it was almost instant. --- Kenichi Handa handa@m17n.org