Fork me on GitHub
#emacs
<
2021-05-16
>
dpsutton00:05:00

you can try m-x profiler-start and then trigger the hangup and then m-x profiler-report

👀 3
Zachary Fontenot00:05:47

From the profiler, the highest percentage was clojure-match-next-def which uses imenu to index the file. Which sounds like something that could cause a buffer to hang. that is, if I’m reading the profiler output correctly

dpsutton00:05:10

How old is your clojure mode. Maybe update that

Zachary Fontenot00:05:08

it’s from march 🤷 but I will try

Zachary Fontenot01:05:18

I have a config that doesn’t have the issue, so I am going to use that for now and make an issue for it. This was happening also months and months ago, on my other computer, but it’s cropped up again

Zachary Fontenot16:05:28

@bozhidar https://clojurians.slack.com/archives/C099W16KZ/p1621122712235800 Have you encountered this issue at all? I’m essentially using Prelude off the shelf for my Clojure setup

bozhidar18:05:09

@bozhidar I haven't seen the issue myself, but it seems likely that's a bug in clojure-mode's code.

bozhidar18:05:30

I think it'd be best to report the issue there, together with whatever data you've obtained from the profiler.

👍 3