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 here It does the same on any of my systems. Dex > On May 6, 2020, at 3:05 PM, Gustavo Massaccesi <[email protected]> wrote: > > > 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 <[email protected]> wrote: >> 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 >> function name, for example ‘define’. If I type ‘defind’, there’s no delay. >> The delay also appears in Scheme mode, and with background expansion >> disabled. No delay in Text mode, which makes sense. >> >> >> >> I’m currently looking at the definitions-text from unit.rkt, to see >> where’s the hook that detects symbols. I have the day off, and I’m enjoying >> this very much. >> >> >> >> Cheers, >> >> >> >> Dex >> >> >> >> From: Robby Findler <[email protected]> >> Sent: Tuesday, May 5, 2020 6:18 PM >> To: Gustavo Massaccesi <[email protected]> >> Cc: Dexter Lagan <[email protected]>; Matthew Flatt >> <[email protected]>; Racket Users <[email protected]> >> Subject: Re: [racket-users] Questions about working on DrRacket and gui >> >> >> >> >> >> >> >> On Tue, May 5, 2020 at 10:36 AM Gustavo Massaccesi <[email protected]> >> wrote: >> >> I try to encourage people to participate, but be careful because this task >> is probably too big for a first contribution. GUI is difficult, DrRacket has >> a lot of moving parts, and opening DrRacket inside DrRacket is possible but >> weird. >> >> >> >> >> >> +1 >> >> >> >> I think the guess of Matthew is correct, it´s a problem with the blue arrow >> with the docs. There is no pause while you type numbers but when you type a >> letter or +-*/... there is a pause of 1 or 2 seconds. >> >> >> >> I didn't see the code but my guess is that the docs are loaded lazily in a >> thread and when DrRackets see something like an identifier it waits until >> the thread is ready. It would be nice if the blue arrow is disabled until >> the docs are completely loaded lazily. I think Robby can tell if I'm correct >> and how hard is to fix this. >> >> >> >> >> >> Definitely sounds like an extremely actionable hypothesis to investigate >> and, if it turns out to be correct, I guess it should be a simple matter of >> programming to do what you're suggesting. >> >> >> >> Robby >> >> -- 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 to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/4297A05D-9CB4-4629-80C2-25B7206105A6%40gmail.com.

