Fork me on GitHub
#cursive
<
2020-01-23
>
roklenarcic10:01:52

I’ve got a problem with Parinfer mode… when I have a merge conflict in a file it will move parenthesis around and basically ruin the file when I open it.

cfleming10:01:50

You mean that you’re opening the file with the merge conflict still present in the IntelliJ editor? i.e. not using the IntelliJ merge dialog?

roklenarcic10:01:07

I’ve never really used IntelliJ git interface for that

cfleming10:01:11

I recommend it, it’s great, but what you’re doing shouldn’t break things either. Could you file an issue for that so it doesn’t get lost?

cfleming10:01:05

I’m not sure how best to handle that, but I’ll see what I can do. Do you have the Git plugin installed and enabled?

roklenarcic10:01:28

I haven’t installed any Git plugins specifically

roklenarcic10:01:49

it says here that it’s bundled

roklenarcic10:01:01

so I’m guessing it’s automatically installed

cfleming10:01:05

Yes, it’s installed and enabled by default. Being able to detect merge conflicts quickly enough for parinfer purposes will probably rely on that, since I’m sure they index which files have conflicts.

octahedrion13:01:17

this has probably been asked before but is there a way to halt printing of accidentally evaluated forms with large results that print in another thread ? can't interrupt current evaluation and even stopping the REPL doesn't work - have to stop and close the REPL tab

Ivar Refsdal13:01:16

Not directly addressing your question, but have you tried if (set! *print-length* 20) (or some other value) avoids the freezing? Edit: Demonstration:

(do (set! *print-length* 20) (println (range 1e9)))
(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ...)
=> nil

octahedrion13:01:33

yes I know that but I always always forget

octahedrion13:01:57

and I feel like in 2020 this shouldn't be so primitive

cfleming22:01:19

I’m planning a fix to allow stopping printing of the last eval result. However if you kick off something in a background thread which prints a lot, there’s really no useful way to stop that.