Faux_Pseudo <[EMAIL PROTECTED]> writes: > On Sun, Jul 01, 2007 at 03:57:06PM -0600, Kelly Jones wrote: > >> % I edited the key-map so that '1' = "Move to the end of the document" >> and '7' = "Move to the start of the document", but these don't work >> because typing 1 gives me "Keyboard prefix: 1". How turn of "keyboard >> prefix"? > > Never thought about it but after getting the same results as you I > would love to know the answer.
That seems like a bug. send_kbd_event calls send_to_frame(ses, doc_view, ev) before kbd_action(KBD_MAIN, ev, &event). And send_kbd_event calls frame_ev, which calls frame_ev_kbd, which calls try_prefix_key. Key bindings explicitly configured by the user should surely take precedence over built-in interpretations. Perhaps what we should do is define a "prefix-digit" action (related to "backspace-prefix"), bind digit keys to that by default, and move the try_prefix_key code into that action. Then users would be free to overwrite the binding, and would get a warning before doing so. Emacs has a "digit-argument" command like that. _______________________________________________ elinks-users mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-users
