emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: faster unicode character name completion


From: Deniz Dogan
Subject: Re: faster unicode character name completion
Date: Fri, 4 Dec 2009 13:08:45 +0100

2009/12/4 Kenichi Handa <address@hidden>:
> In article <address@hidden>, Chong Yidong <address@hidden> writes:
>
>> We are close to ready to begin the Emacs 23.2 pretest.  If there are no
>> objections, I will roll the 23.1.90 pretest next Tuesday.  If you still
>> have some last-minute changes you want to make, that gives the weekend
>> to wrap them up.  After the pretest begins, we will be in feature freeze
>> (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.  Now it's very slow at the first
> time and consumes so much memory.  Attached is the currently
> working code.  In 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?  If people think the above is not a
> problem,  I'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 λ, which is "GREEK
SMALL LETTER LAMBDA", it's not easy to know what the name is
beforehand.

-- 
Deniz Dogan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]