[racket] Racket 5.0.99.2 on OS X

From: Jakub Piotr Cłapa (jpc-ml at zenburn.net)
Date: Mon Nov 29 20:21:49 EST 2010

Dear Matthew,

I managed to find the performKeyEquivalent after all. Blame my brand new 
but poor 'ack' (a grep replacement) skills.

On 26.11.10 15:03, Matthew Flatt wrote:
> A second experiment:
>
>   * In "collects/mred/private/wx/cocoa/window.rkt", change the
>     implementation of `performKeyEquivalent:' in `MyMenuBar'
>     from
>
>        (and the-apple-menu
>             (tell #:type _BOOL the-apple-menu performKeyEquivalent: evt))
>
>     to
>
>        (super-tell #:type _BOOL performKeyEquivalent: evt)
>
>   * Run GRacket. Does Cmd-A work? Cmd-Q?

Yes. Cmd-Q, Cmd-A, Cmd-W and Cmd-T work.

> A third experiment:
>
>   * Change the `performKeyEquivalent:' implementation to just
>
>        #t
>
>   * Run GRacket. Does Cmd-A work? Cmd-Q?

No.

> A fourth experiment:
>
>   * Change the `performKeyEquivalent:' implementation to just
>
>        #f
>
>   * Run GRacket. Does Cmd-A work? Cmd-Q?

No.

-- 
regards,
Jakub Piotr Cłapa


Posted on the users mailing list.