emacs-devel
[Top][All Lists]
Advanced

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

Re: kbd vs read-key-sequence


From: Kenichi Handa
Subject: Re: kbd vs read-key-sequence
Date: Mon, 02 Apr 2007 21:31:38 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.95 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Eli Zaretskii <address@hidden> writes:

> > Then, can't we use it to get a Unicode character code from
> > keyevent(s) and do something like this?
> > 
> >         MultiByteToWideChar (codepage, 0, inbuf, inlen, outbuf, outlen)
> >     lisp_char = call2 (intern ("decode-char"), intern ("ucs"),
> >                         make_number (outbuf[0]));

> I don't think this is the right way of getting Unicode codepoints for
> keyboard input on Windows; see

>      http://msdn2.microsoft.com/en-us/library/ms646267.aspx

> (under "Nonsystem Character Messages"), and

>      http://msdn2.microsoft.com/en-us/library/ms633586.aspx

> for the gory details.

Ummm, by reading that page briefly, it seems that getting
Unicode codepoints is much easier.

> But surely, such a drastic change in the w32 keyboard input processing
> is not something to consider before the release!  Especially when the
> problems we are trying to fix are so minor, almost invisible.

I basicly agree.  But, such a change is better than managing
to modify encoded-kbd-mode to do what it shouldn't do.

---
Kenichi Handa
address@hidden




reply via email to

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