Re: [racket] Esc/Alt key bindings and RSI (Was: hello..)

2013-11-30 Thread Robby Findler
Racket's GUI library is doing its best to trick ubuntu where the menus are concerned. Matthew Flatt would know better how to look into this properly, but there could easily be a bug in the way our GUI libs attempt to cooperate with the underlying GUI library there. (The trickiness all stems from tr

Re: [racket] Can I capture the mouse events of canvas% without sub-classing?

2013-11-30 Thread Matthew Flatt
At Sat, 30 Nov 2013 08:18:59 +1100, Daniel Prager wrote: > Am I right in thinking that while you can add a callback to respond > the on-paint event of canvas% at construction time, i.e.. > > (new canvas% ... > [paint-callback (lambda (c e) ...)]) > > to respond to other events -- mouse, keybo

Re: [racket] line and column numbers lost after (relocate-input-port )

2013-11-30 Thread Matthew Flatt
It turns out that you have to enable line counting for the port passed to `relocate-input-port`: (set! port (relocate-input-port (let ([p (reencode-input-port port "cp1251")]) (port-count-lines! p) p) line col pos)) That fact is a

Re: [racket] hello..

2013-11-30 Thread Robby Findler
This should be fixed now (active keybindings shows all of the previous-page bindings and a bunch of others that were like this one, also lost). Thanks for the report! Robby On Fri, Nov 29, 2013 at 4:00 PM, Pierpaolo Bernardi wrote: > On Fri, Nov 29, 2013 at 9:25 PM, Robby Findler > wrote: > >

Re: [racket] Esc/Alt key bindings and RSI (Was: hello..)

2013-11-30 Thread Michael Jensen
you laugh :-) I should have been more specific. I don't seem to have the menus listed here: http://docs.racket-lang.org/drracket/Menus.html#%28part._menu~3afile%29 some history: I had the issues discussed here: http://askubuntu.com/questions/131358/drracket-doesnt-work-on-ubuntu-12-04 and here

Re: [racket] Esc/Alt key bindings and RSI (Was: hello..)

2013-11-30 Thread Robby Findler
Did you put your mouse up along the top? I think that's where Ubuntu hides menubars these days. Robby On Sat, Nov 30, 2013 at 10:45 AM, Michael Jensen wrote: > thank's for the advice. :-) > > I have another problem, more pressing.. I don't seem to have a file > menu. see the attached screen-

Re: [racket] Esc/Alt key bindings and RSI (Was: hello..)

2013-11-30 Thread Michael Jensen
thank's for the advice. :-) I have another problem, more pressing.. I don't seem to have a file menu. see the attached screen-shot. Screenshot from 2013-11-30 11:29:50.png ? On Fri, Nov 29, 2013 at 8:55 PM, Neil