emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: single-key-description no good for Japanese and Chinese chars


From: Jason Rumney
Subject: Re: single-key-description no good for Japanese and Chinese chars
Date: Fri, 22 Sep 2006 17:34:21 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666

Drew Adams wrote:
So what? Binding thousands of characters is something computers are good at.

Binding thousands of characters is a waste of memory and time.

Or are you saying that that would affect performance in an unacceptable way?

If so, what's special about `self-insert-command' - why not bind them all to
a different command, `foobar', which does what is needed

Because self-insert-command does what is needed! Why should we introduce a new binding to do the same thing so that you can remain blissfully ignorant of the purpose of generic characters?

    What problems? These are not real keys, why would someone try to use
    them with read-kbd-macro?

What indicates that they are not "real keys"? You have to parse the
`single-key-description' and match against "Character set " to determine
that. Or you have to test the type of the event/key. Or some such.

You won't get an event/key to test the type of, because they are not real keys. There is no way to generate that events that match generic characters.





reply via email to

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