From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: faster unicode character name completion Date: Fri, 4 Dec 2009 13:08:45 +0100 Message-ID: <7b501d5c0912040408o6da243cci3e726015f6a689c5@mail.gmail.com> References: <87einfbxdw.fsf@red-bean.com> <87fx7r68s4.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259928592 390 80.91.229.12 (4 Dec 2009 12:09:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 12:09:52 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 04 13:09:45 2009 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.50) id 1NGWym-0005qR-7L for ged-emacs-devel@m.gmane.org; Fri, 04 Dec 2009 13:09:44 +0100 Original-Received: from localhost ([127.0.0.1]:48240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGWyl-0007RP-L3 for ged-emacs-devel@m.gmane.org; Fri, 04 Dec 2009 07:09:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGWyM-00079n-0A for emacs-devel@gnu.org; Fri, 04 Dec 2009 07:09:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGWyH-00072i-09 for emacs-devel@gnu.org; Fri, 04 Dec 2009 07:09:17 -0500 Original-Received: from [199.232.76.173] (port=43245 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGWyG-00072Z-B3 for emacs-devel@gnu.org; Fri, 04 Dec 2009 07:09:12 -0500 Original-Received: from mail-ew0-f209.google.com ([209.85.219.209]:53014) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGWyG-0007WJ-1E for emacs-devel@gnu.org; Fri, 04 Dec 2009 07:09:12 -0500 Original-Received: by ewy1 with SMTP id 1so2251041ewy.34 for ; Fri, 04 Dec 2009 04:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=LoevpW3gADD1XfODfDseITFUrohAnlGgI5yJR+dOZdc=; b=wfq/vg9A0jzJf3RDLYENgYcUPOR86K/4eH3VJ4eRuUNy+2NgcJwZ4ma7Am12BhEJFc gX5WU3bBF8dmiZotjh3w6/+bbLYENaV8ZbLM0oo4hNCsRxKYz1GELL/Ir0hS0e1H7AkI 3SsVPvMyQGTdf+Y0MCRRNDPUK/EqT+RjAASdQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=rW5R9i96kqT0rY8bcAHlmbFidmFJk9fcQacR5vPpA3iS9vwthAo3iMCgVMnBCfNmRc yWHxrGupYC0QVzbhyKmRFFT91MOuLKnEs8xAo2Cv/+OsIDygWYCE3pebXrrO/r0GEvyZ U2MppMEr0hXPMHS5/lW9MEJqRrjMs/oUbpE2g= Original-Received: by 10.213.25.74 with SMTP id y10mr10538992ebb.14.1259928545464; Fri, 04 Dec 2009 04:09:05 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:118250 Archived-At: 2009/12/4 Kenichi Handa : > In article <87fx7r68s4.fsf@stupidchicken.com>, Chong Yidong writes: > >> We are close to ready to begin the Emacs 23.2 pretest. =A0If there are n= o >> objections, I will roll the 23.1.90 pretest next Tuesday. =A0If you stil= l >> have some last-minute changes you want to make, that gives the weekend >> to wrap them up. =A0After the pretest begins, we will be in feature free= ze >> (and we'll begin the cvs to bzr crossover). > > I'm now trying to make the completion of unicode character > name (used by read-char-by-name) faster, at least fast > enough for interactive use. =A0Now it's very slow at the first > time and consumes so much memory. =A0Attached is the currently > working code. =A0In the actual code, I'll eliminate the big > defvar of ucs-name-head-table, generate the value by > admin/unidata/unidata-gen, and store it in an extra slot of > a char-table for `name' char-code-property. > > The drawback of the new code is that one can see only the > list of the first words of character names in the completion > buffer at once by C-x 8 RET TAB, instead of all of the > unicode character names. > > What do you think? =A0If people think the above is not a > problem, =A0I'll go ahead. > Cool, I've been bugged for too long by the time it takes to insert a named Unicode character. What I've really been missing though is some "ido-like" equivalent of ucs-insert, since I often don't know what the Unicode name for the character is. As an example, if I want to insert =EB, which is "GREEK SMALL LETTER LAMBDA", it's not easy to know what the name is beforehand. --=20 Deniz Dogan