On 11 Jun 2002 15:41:43 +0200, Jean-Marc Lasgouttes wrote: >Note that the XK_KP_xxx #defines may not exist everywhere (especially >in X11R5 or proprietary versions of X11). Therefore, I cannot accept >to apply this part of the patch as it is. Maybe guarding these things >with #ifdef would be better. Yes, I just didn't know they can be missing somewhere.
>Andrew> - Third, I've added two files cyrkeys.bind and greekkeys.bind >Andrew> which list the Cyrillic and Greek symbols from >Andrew> include/X11/xksymdef.h as "self-insert". >This is a part that I would like to see merged with Vitaly's patch/ Ok, we'll discuss it privately by email and will post the final merged decision. >Andrew> - Fourth, I've added the .cdef files for 5 encodings used with >Andrew> Cyrillic letters (although they are plain 1:1 mappings, they >Andrew> could be a empty file as well, if I understand everything >Andrew> correctly - but if they are missing, LyX barfs at startup). >I am not sure anymore when these files are useful :) Anyway, they >cannot hurt. I am not sure as well :-) Maybe having some empty files with those names would do the same, but they will look confusing :) >Andrew> - Also I have included an addon for cua.bind which makes the >Andrew> KP_ keys behave same as their counterparts on the arrow >Andrew> keypad. >I do not think that I agree with this part: ># Numeric keypad (if Shift+KP_XXX switches to numeric state) >\bind "S-KP_6" "forward-select" >\bind "S-KP_4" "backward-select" >\bind "S-KP_8" "up-select" >\bind "S-KP_2" "down-select" >\bind "S-C-KP_6" "word-forward-select" >\bind "S-C-KP_4" "word-backward-select" >[...] Well, the problem is that XFree86 switches the keypad to numeric mode when Shift key is pressed. That's unfortunate, since NumLock IMHO should be the only way to turn the numeric mode on. Now if you use arrows on numpad, and you press Shift+KP_arrow, you'll get a number instead of mark+move... This is very intimidating since there are a number of people (including me) who are used to keypad arrows. >If the key is KP_6, it is KP_6... It seems to me that KDE apps, for >example, do the same. We should not try to be too smart. Um, well, perhaps we can move this into a separate .bind file for those unfortunates (like me) whose taste is different from XFree86's developers... or should I fiddle with xkb settings maybe, uh-oh... Greetings, _\ndy