Sat Jan 15 16:01:50 EST 2005 rsc As rob and rog noted, setmousemode() is not the right way to express this. It should definitely be a filter that just gives you back a channel with slightly different mouse events. cook.c needs significant cleaning up. Also, I don't understand the language. Better documentation here would help. And what is a slide? Or a chord slide? Also an example of how this interacts with things like updating the screen to display the selection during a long click would help.