Re: [racket-users] trickiness about the order of definitions in GUI code

2020-05-06 Thread Philip McGrath
On Wed, May 6, 2020 at 8:49 PM Jon Zeppieri wrote: > It's a bit trickier to define these things in separate files, because > their definitions refer to each other (though indirectly in this > case), and the module system does not tolerate cyclic dependencies. > The most straightforward way to bre

Re: [racket-users] Re: trickiness about the order of definitions in GUI code

2020-05-06 Thread James Platt
Thanks, Alex. I actually tried something very similar to this earlier but failed. What I should have done is to try it with my simplified code and then I would have realized it was an approach that could work. The complication is that there is much more stuff going on in my production code.

Re: [racket-users] trickiness about the order of definitions in GUI code

2020-05-06 Thread James Platt
Thanks, Jon. I'm going to try Alex's solution first but I may get back to this. On May 6, 2020, at 8:49 PM, Jon Zeppieri wrote: > On Wed, May 6, 2020 at 7:50 PM James Platt wrote: >> >> I'm working on organizing and documenting some things and I have some code, >> below, which works but I do

[racket-users] Re: trickiness about the order of definitions in GUI code

2020-05-06 Thread Alex Harsanyi
Every problem can be solved by adding another level of indirection (except perhaps having too many levels of indirection :-) ). You can put the code below in a separate file: (define (make-info-menu-item parent target-table) (new menu-item% (label "info") (parent parent) (c

Re: [racket-users] trickiness about the order of definitions in GUI code

2020-05-06 Thread Jon Zeppieri
On Wed, May 6, 2020 at 7:50 PM James Platt wrote: > > I'm working on organizing and documenting some things and I have some code, > below, which works but I don't understand why. Specifically, why don't I get > an error about table3 not being defined? The reason you don't get an error for the

[racket-users] trickiness about the order of definitions in GUI code

2020-05-06 Thread James Platt
I'm working on organizing and documenting some things and I have some code, below, which works but I don't understand why. Specifically, why don't I get an error about table3 not being defined? This is a very simplified version of what I'm working on. What I actually want to do is put all the

Re: [racket-users] double titlebar effect

2020-05-06 Thread Robby Findler
Looks like a problem with the tabs maybe? How does it look if you make a new tab? Robby On Wed, May 6, 2020 at 3:18 PM Stephen De Gabrielle wrote: > Hi, > Any other racketeers seeing this? > [image: image.png] > > DrRacket 7.7 cs and macOS Catalina > > Kind regards > Stephen > > -- > You recei

[racket-users] double titlebar effect

2020-05-06 Thread Stephen De Gabrielle
Hi, Any other racketeers seeing this? [image: image.png] DrRacket 7.7 cs and macOS Catalina Kind regards Stephen -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email t

Re: [racket-users] Questions about working on DrRacket and gui

2020-05-06 Thread Dexter Lagan
If you open DrRacket, a new tab opens with #lang racket. I can type anything I want, a lot of random characters, numbers etc. As soon as any keyword is recognized, there’s the pause. For example: Hejheke Idhnehje Osjdjvehjekd Hdiisbsidhjd Gueojd jdbdbskbd jdjdb defino definii define <- pause he

Re: [racket-users] Questions about working on DrRacket and gui

2020-05-06 Thread Gustavo Massaccesi
I´m not sure if you are writing your own list of known symbols or if you are reusing a list of known symbols that DrRacket is using for something else. Gustavo On Wed, May 6, 2020 at 9:25 AM Dexter Lagan wrote: > If that can help, I narrowed down the delay to new files only, after > typing a

RE: [racket-users] Questions about working on DrRacket and gui

2020-05-06 Thread Dexter Lagan
If that can help, I narrowed down the delay to new files only, after typing a known symbol only. When opening an existing file, no matter what I type in, no delay. If I start a fresh DrRacket, I can type anything in the definitions window with no delay. The delay only happens if I type a known

Re: [racket-users] Questions about working on DrRacket and gui

2020-05-06 Thread Dexter Lagan
To add to my previous message, I know and understand that DrRacket and GUI are very complex. I've been going over unit.rkt. Yeah it's a lot of code. But it's not as bad as I thought. I'm just offering a hand in making sense of it all. With enough time and patience I'm sure I'll get something out

Re: [racket-users] Questions about working on DrRacket and gui

2020-05-06 Thread Dexter Lagan
Couple years ago I developed an IDE for NewLISP called NewIDE using a commercial tool called Xojo. It was supposed to become NewLISP's official IDE. I had to put the project on pause because of work and family, and at the same time I switched to Racket, hence my interest. It had replicated most o