commenting / uncommenting in DrRacket IDE

129 views
Skip to first unread message

Hrvoje Blazevic

unread,
Jul 1, 2022, 12:39:13 AM7/1/22
to Racket Users
Hi, I have reported this problem a few years ago (this on Fedora Linux using Gnome), and looks like something was done, but not all.
When I first reported, DrRacket was not commenting at all. Not with ;;, nor with a box. Now it does comment with both, but it does not uncomment. 
Ok, I can uncomment the region manually if I commented with ;; but if I used a box, I can only delete the whole thing. BTW I'm using Racket 8.5 on Fedora 36.
Anything being done with this?

Hrvoje Blazevic

Laurent

unread,
Jul 1, 2022, 4:02:05 AM7/1/22
to Hrvoje Blazevic, Racket Users
After commenting out with a box, place the cursor inside the box then click on the "Racket" menu then on the "Uncomment" item. Now the box should be uncommented without losing anything. Does this not work for you?

HTH,
Laurent

--
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 racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/b9a257c3-08b1-4f10-ada7-fb1f50156554n%40googlegroups.com.

Hrvoje Blazevic

unread,
Jul 1, 2022, 4:25:19 AM7/1/22
to Laurent, Racket Users
Thanks for replying. However, I was not asking for instructions on how to use DrRacket. Have been using it since the days when HTDP1 was first printed, and when it was called DrScheme.
But to answer your question in Racket 8.5 and Fedora 36 with Gome WM uncommenting does not work, not with ';' and not with box.

Funny enough, I just installed full Racket 8.5 on my daughter's raspberry pi 4B "toy" computer, running Raspberry Pi OS (Debian), and there both commenting and uncommenting works!

Hrvoje Blazevic


Laurent

unread,
Jul 1, 2022, 5:39:45 AM7/1/22
to Hrvoje Blazevic, Racket Users
On Fri, Jul 1, 2022 at 9:25 AM Hrvoje Blazevic <hrvo...@gmail.com> wrote:
Thanks for replying. However, I was not asking for instructions on how to use DrRacket. Have been using it since the days when HTDP1 was first printed, and when it was called DrScheme.
But to answer your question in Racket 8.5 and Fedora 36 with Gome WM uncommenting does not work, not with ';' and not with box.

Funny enough, I just installed full Racket 8.5 on my daughter's raspberry pi 4B "toy" computer, running Raspberry Pi OS (Debian), and there both commenting and uncommenting works!

It works for me on Ubuntu/Debian with Gnome or Cinnamon with Racket 8.5 on several machines. If you run DrRacket from the command line, do you see an exception being raised when you click on Uncomment?

Maybe also try a fresh install of Racket with a new user, in case your racket config (either in .racket or in .config/racket) is flawed somehow.


Reply all
Reply to author
Forward
0 new messages