>>>> "C" == Colin Rafferty
<colin(a)xemacs.org> writes:
C> Hrvoje Niksic writes:
> But then I remembered that "keysyms" aren't really
cast in stone, and
> that with a little trickery you can fake keysyms from Lisp. Here is
> the result:
> (global-set-key '(alt a) [fake-keysym])
> (global-set-key 'fake-keysym 'self-insert-command)
> (put 'fake-keysym 'ascii-character ?\301)
C> Thank you very much Hrvoje. This is exactly what I needed.
C> I think I understand key bindings a little but more now.
I believe the CANONICAL way to do this is via
(global-unset-key [(alt a)]) ;; probably not necessary
(define-key function-key-map [(alt a)] [ydiaeresis])
There are so many wonderful ways to define what your keyboard does in
xemacs. Combine that with xmodmap, loadkeys, xkb, and you can start
your new career as a keyboard-remapping consultant!