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: Sat, 23 Sep 2006 00:25:00 +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:
I'll take your word for it; I know nothing abou this. I thought Handa was
saying that an integer event indicated such an "invalid" key. If not, then I
guess one is reduced to parsing the `single-key-description' - that's what I
do currently.

You are confusing events with entries in keymaps. An event is something that is generated by the user typing or using the mouse. A keymap maps events onto commands, but it does not necessarily do that directly by having one entry for every possible event. What Handa was saying is that an integer entry in a keymap indicates a generic character - that is, a keymap entry that maps a whole group of individual events onto a single command (self-insert-command being the most useful command to map in this way).






reply via email to

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