Re: [racket] Difficult key-binding

2010-11-16 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A followup: (keybinding "c:x;k" ;; anything ) This code seems to disable other emacs style keybindings (such as c:x;c:f and c:x;o). I've traced it apparently to the use of the semicolon. Does anyone has any clue about what is going on?

Re: [racket] Difficult key-binding

2010-11-09 Thread Eduardo Bellani
Thanks, worked like a charm! On 11/09/2010 03:38 PM, Ryan Culpepper wrote: > Eduardo Bellani wrote: >> But as you can see here: >> >> (define (diva-link:frame-mixin super%) ... ) >> >> diva-link is a frame-mixin. So my problem is probably my lack of >> understanding of the mixin mechanism. But my

Re: [racket] Difficult key-binding

2010-11-09 Thread Ryan Culpepper
Eduardo Bellani wrote: But as you can see here: (define (diva-link:frame-mixin super%) ... ) diva-link is a frame-mixin. So my problem is probably my lack of understanding of the mixin mechanism. But my doubt remains, with a clearer cause :) The file diva-link.ss has many mixins. Line 572 (fr

Re: [racket] Difficult key-binding

2010-11-09 Thread Eduardo Bellani
But as you can see here: (define (diva-link:frame-mixin super%) ... ) diva-link is a frame-mixin. So my problem is probably my lack of understanding of the mixin mechanism. But my doubt remains, with a clearer cause :) Thanks for the reply On 11/09/2010 03:15 PM, Robby Findler wrote: > close-cu

Re: [racket] Difficult key-binding

2010-11-09 Thread Robby Findler
close-current-tab is a method on the frame, I believe. Robby On Tue, Nov 9, 2010 at 11:12 AM, Eduardo Bellani wrote: > Hello there. > > I am trying to add this keybinding, but without success: > > (keybinding "c:x;c:k" (λ (editor evt) >                        ;; close current tab (or buffer) >