la 26.06.2008 20:19 Daniel Pfeiffer skribis:
Physically modifying the keymaps is flaky. So I redid it with bind-keys, which apparently does something more: ;; Duplicate non-button keybindings with phony Button6 modifier, which SF assumes in XKB group 2 (mapc (lambda (keymap) (let ((l (cdr keymap)) ; skip 'keymap acc name) (while l (or (string-match "Button" (setq name (event-name (cdar l)))) (setq acc `(,(concat "Button6-" name) ,(caar l) ,@acc))) (setq l (cdr l))) (apply bind-keys keymap acc))) `(,prompt-keymap ,global-keymap ,window-keymap)) coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn Daniel Pfeiffer -- lerne / learn / apprends / lär dig / ucz się Esperanto: http://lernu.net / http://ikurso.net |