Thx, but what I gave up on (after a whole 30s of investigation) was actually coding the behavior working from other examples of high level edit functionality coded in elisp, using elisp subroutines. I am sure five minutes would have gotten me over the hurdle, but there has been no real need. AllegroCL has the commands, and Cursive is unhackable.
Hmmm, I should ask about that. I just had a chat with its developer on #Clojurians and I think I failed to sell him on implementing it, but maybe... On Fri, Jun 22, 2018 at 3:51 AM, Pascal Bourguignon <[email protected]> wrote: > > > On 22 Jun 2018, at 02:24, Ken Tilton <[email protected]> wrote: > > I looked at coding up mouse commands myself but just out of curiosity and > gave up without even trying. But I am sure it would be doable. > > > It is very easy to do. Just bind mouse events like any other key chord. > > down-mouse-1 > mouse-1 > -2 for middle and -3 for left button. > You can of course combine it with modifiers: C-M-mouse-1 = Control Meta > left button click. > > (local-set-key (kbd "C-M-<mouse-1>") (lambda () (interactive) (insert > "Mice!"))) > > > -- > __Pascal J. Bourguignon__ > > > > > -- Kenneth Tilton http://tiltontec.com/
