it all seems to be internal work in the font-lock-fontify-keywords-region can you think of anything that might be causing a problem in scala-mode? I assume it is scala-mode that is defining the keywords for the mode.
Sadly I can't share the file with you, but if I can ever reproduce in a public project, most definitely. Probably for the best, this file would burn your retinas.
I'm not sure if this is
scala-mode
doing this, but Emacs started running really slowly for me in a big file and I took a profile-report:it all seems to be internal work in the
font-lock-fontify-keywords-region
can you think of anything that might be causing a problem inscala-mode
? I assume it isscala-mode
that is defining the keywords for the mode.Sadly I can't share the file with you, but if I can ever reproduce in a public project, most definitely. Probably for the best, this file would burn your retinas.