[Top][All Lists]

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

Re: Fwd: Alt+numpad to write special symbols

From: Juri Linkov
Subject: Re: Fwd: Alt+numpad to write special symbols
Date: Wed, 30 Sep 2009 02:12:31 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>> Another thing: I think it is impossible to emulate
>> the Alt+keypad just with elisp code because I need
>> to catch something like "Alt-unpressed" event.
> If you mean that "the alt-numpad" feature works by recognizing the
> "alt-unpressed" event as the sign that you've finished entering the
> number, then indeed, it can't be done in Elisp right now and would
> require changes to provide access to the up/down events for key presses
> (I actually did code up such a change at some point in the past, to
> play with it: it might be doable without introducing too many problems).

Like in GTK+ `Ctrl+Shift+U hex RET' http://en.wikipedia.org/wiki/Unicode_input
we could finish entering the number with RET, e.g. `M-2 M-7 M-0 M-f RET'.
Or expect a fixed-length four-digit number `M-2 M-7 M-0 M-f' where the last
fourth digit finishes the sequence.  In any case, your up/down events code
would be useful for other purposes as well.

Juri Linkov

reply via email to

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