Juri Linkov writes: >> I was under the impression that this was fixed, but it turns out I did >> not read the lookup-key doc string carefully enough: >> >> A number as value means KEY is "too long"; >> that is, characters or symbols in it except for the last one >> fail to be a valid sequence of prefix characters in KEYMAP. >> The number is how many characters at the front of KEY >> it takes to reach a non-prefix key. >> >> But this case can be safely ignored, as define-key will take care of the >> prefix. To solve this, the warning is only trigged when a function is >> over-riden. > > Did you intend to send a new patch? (the patches attached were the same as previous) Oops, I must have forgotten to regenerate patches. The important difference was + (let ((old-fn (lookup-key windmove-mode-map key))) + (when (functionp old-fn) + (warn "Overriding %S with %S" old-fn (car bind)))) -- Philip K.