This is one general concept, detailed as best I can, for how I think mouse 
interaction would work well with conkeror.

I realise this is probably incomplete, rather terse and not worded perfectly, 
but I think it's a good jumping-off point:

mouseover keymap
enter the mouseover keymap with a prefix key, or a key mapped in that keymap.
action is taken on dom object under cursor. 
button in mouseover keymap is pressed, mouse position is polled, underlying dom 
node is focused, command is executed.
button to enter mouseover keymap is pressed first, mouse position is polled 
when moving, 
mouse buttons are just other keys that can be mapped in any keymap, but the 
default in the mouseover keymap.
no hinting takes place in the mouseover keymap, action is taken immediately. if 
mouse buttons are bound to commands outside the mouseover keymap, hinting will 
take place. ie, if you bind 'copy' in the same context as c is bound to the 
right click button, standard copy hinting will take place. Not very useful, but 
there could be a use for binding 'hint' and 'hint-exit'
Optional 'mouseover focus' setting. polls mouse position when moved, focuses 
under cursor. perhaps best activated when hinting.
(possibly unrelated idea: 'hint' command. n <key bound to hint> 
<numbers/letters/mouseover to narrow/focus hinted links> c (link is copied).  
any action can then be chosen after the item is focused. could make working 
with mice easier, maybe not)

mouse buttons default to *left*follow *right*copy 

instance
mouse cursor is over a dom object which has a follow-able link to another 
page/anchor
 (with keyboard/programmable mouse) w (enters mouseover keymap, locates the 
mouse position on page, 'focuses' dom object under mouse cursor) c (copies link)
 (with standard mouse) <right click on dom object> (copies link)

a hypothetical page with many links with similar names, arranged poorly, making 
the hint numbers hard to read, but I want to save one of them. 

s (hints appear) f o o (all links not containing "foo" are no longer hinted, of 
course. However, I know that 3/4 of the resulting hinted areas that overlap 
poorly are not what I want to save. this step is optional.) <mouse cursor over 
proper node, node is focused> <return> save dialogue pops up.
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to