Drew Adams writes: > KEYMAP can be a keymap, instead of a symbol. Thanks for the clarifications. I've now packaged up a proposed patch with some cleanups and adaptions. It would be great if someone could review this. Best regards, Stefan Kangas