Juri Linkov writes: >> - (global-set-key (vector prefix (append modifiers '(left))) 'windmove-delete-left) >> - (global-set-key (vector prefix (append modifiers '(right))) 'windmove-delete-right) >> - (global-set-key (vector prefix (append modifiers '(up))) 'windmove-delete-up) >> - (global-set-key (vector prefix (append modifiers '(down))) 'windmove-delete-down)) >> + (windmove-install-defaults modifiers >> + '((windmove-delete-left left) >> + (windmove-delete-right right) >> + (windmove-delete-up up) >> + (windmove-delete-down down)))) > > I haven't yet tested your patch, but after reading it seems 'prefix' is unused now? You are right, I didn't test that specific function properly. windmove-install-defaults had to be extended by another argument to fix this. What I don't really like is that only windmove-delete-default-keybindings can make use of prefixes, while all commands only use modifiers. Could it make sense to deprecate these functions in favour of either new functions or user-options? -- Philip K.