[racket] Missing entries for DrRacket Menu items

From: Martin Lightheart (martin at lei.com)
Date: Fri May 16 16:41:20 EDT 2014

Hi Asumu,

The strange thing was that it did not disappear immediately at first.  
The new menu item was there and so were the entries for the other two.  
But those other entries disappeared later.  I did try some key 
combinations like ctrl-j, ctrl-k, command-j, and command-k.  I was 
thinking that maybe I could move between the two panes in the DrRacket 
screen there.  The command-j caused a window to scroll down from the top 
of the DrRacket window.  Untitled was highlighted at top and there were 
cancel and ok buttons.  The command-k stopped the evaluation thread so 
interactions were disabled.

Anyway, even when I repeatedly uninstalled and reinstalled Racket, the 
menu items did not come back.  I never reinstalled the vi package during 
all that time.  So maybe there is a file somewhere that I need to delete 
when I do an uninstall.

Martin

On 5/16/14 4:00 PM, Asumu Takikawa wrote:
> On 2014-05-16 05:16:31 -0400, Martin Lightheart wrote:
>> It installed fine and the Vi mode was there.  I tried it out and it seem to
>> work ok.  Then I noticed that for the DrRacket Menu selection for
>> Edit->Modes and Edit->Keybindings, there weren't any choices any more.  I am
>> not sure what happened.  I then unistalled the pkg.
> That's odd. I have the package installed too (I wrote it) and my
> DrRacket still has those menu items. I'm on Linux though. AFAICT, I'm
> not doing anything in the tool that would remove menu items.
>
> It does add a menu item by overriding
> `edit-menu:between-find-and-preferences`, but it does a super call so it
> should be setting up other menu items too.
>
> BTW, the tool source is here if anyone wants to check if I'm doing
> something suspicious GUI-wise:
>    https://github.com/takikawa/drracket-vim-tool/blob/master/tool.rkt
>
> Cheers,
> Asumu
>


Posted on the users mailing list.