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 20:14:04 +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 1298286867 25129 80.91.229.12 (21 Feb 2011 11:14:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2011 11:14:27 +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 12:14:23 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 1PrTif-0003Cs-Cn for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2011 12:14:21 +0100 Original-Received: from localhost ([127.0.0.1]:40348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrTie-0003Rb-GK for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2011 06:14:20 -0500 Original-Received: from [140.186.70.92] (port=52551 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrTiZ-0003RL-Qk for emacs-devel@gnu.org; Mon, 21 Feb 2011 06:14:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrTiY-0006Bl-UH for emacs-devel@gnu.org; Mon, 21 Feb 2011 06:14:15 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:51011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrTiV-0006B1-M6; Mon, 21 Feb 2011 06:14:12 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id p1LBE5eE020044; Mon, 21 Feb 2011 20:14:05 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id p1LBE5Aa008153; Mon, 21 Feb 2011 20:14:05 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id p1LBE5R6017389; Mon, 21 Feb 2011 20:14:05 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1PrTiP-0001KV-1O; Mon, 21 Feb 2011 20:14:05 +0900 In-Reply-To: (message from Eli Zaretskii on Mon, 21 Feb 2011 03:29:02 -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:136321 Archived-At: In article , Eli Zaretskii writes: > > 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. > Still, why have 2 commands instead of just one? We could make it use > all these improvements and enhancements. (1) list-charset-chars lists characters with code-points of the specified charset, list-script-chars lists characters with Unicode code-points. (2) These names are both charset and script, thus can't be distinguished just by names. lao, tibetan, ethiopic, symbol (3) The name "list-charset-chars" is not suitable for what list-script-chars does. If we are going to have just one command, the name should be, for instance, list-characters. > > > 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. > It's slow only the first time. Try in a fresh Emacs session. It's still instant with a fresh Emacs session in my environment. Actually, the completion list is created by: (mapcar 'symbol-name (char-table-extra-slot char-script-table 0)) It shouldn't be that slow. Could you investigate why it's slow for you? --- Kenichi Handa handa@m17n.org