jjsimpso
2020-8-9 16:38:46

In racket-mode on emacs 26.3, signals aren’t working for me. I just see "<menu-bar> <signals> <quit>" printed in the REPL. Anyone else see this? Unfortunately, I’ve upgraded emacs, racket, and racket-mode all at the same time(new machine) so I can’t isolate the cause.


maueroats
2020-8-9 16:52:12

@jjsimpso Which Racket - BC or CS?


jjsimpso
2020-8-9 16:52:54

CS


jjsimpso
2020-8-9 16:52:56

7.8


jjsimpso
2020-8-9 16:53:23

This is my first time using CS.


maueroats
2020-8-9 16:53:43

I’ll check. my emacs & racket mode match, and signals work.


maueroats
2020-8-9 16:53:58

I think, I’ll check carefully.


jjsimpso
2020-8-9 16:55:35

I’m not familiar with racket-mode internals, how do I check the version? I updated it a week or two ago.


greg
2020-8-9 16:55:56

By “signals” do you mean doing C-c C-c in the REPL to break?


jjsimpso
2020-8-9 16:57:33

I’m selecting a signal from the Signals menu when the REPL buffer is active.


jjsimpso
2020-8-9 16:57:47

My racket-mode is racket-mode–20200731.1949 from the dir name in elpa.


greg
2020-8-9 16:58:58

Ah OK. Well that menu is N/A. comint-mode adds it automatically. I guess I should try to remove it. It’s a red herring.


greg
2020-8-9 16:59:13

C-c C-c is bound to racket-repl-break. C-c C-\ is bound to racket-repl-exit.


jjsimpso
2020-8-9 16:59:34

Oh. I always used this in the past, but that was probably a pretty old installation.


greg
2020-8-9 17:00:20

Sorry for the confusion. I think this changed when it started to support multiple REPLs.


jjsimpso
2020-8-9 17:00:52

Got it. Thanks for the help! break and exit are the only ones I need, so I should be good now!


greg
2020-8-9 17:00:56

I normally don’t have the menu enabled, so I overlooked it.


greg
2020-8-9 17:01:07

I’ll add an issue about that!



maueroats
2020-8-9 17:37:23

The *Racket REPL* buffer can have multiple REPL’s associated with it? Whoa.


greg
2020-8-10 00:04:27

@maueroats There can be multiple *Racket REPL* buffers. You can have one REPL buffer per .rkt file, much like DrRacket. Or you can have one REPL buffer per “project”. Or even like it used to be, just one REPL buffer shared for everything.



greg
2020-8-10 00:04:57

Blog post (this was added circa February): https://www.greghendershott.com/2020/02/the-big-switcheroo.html