I am running emacs 25.3 and have been having issues with my bib files. Whenever I edit the bib file and reformat/sort the entries it takes a long time to carry out the reformatting (15-20 seconds) and after it is finished emacs hangs. I noticed CPU usage on one core goes to 100% while reformatting and stays there after completion. I need to kill emacs to get out of this loop.
The bib file I have is not terribly large, several hundred entries with a total of ~8k lines. I ran a test on a smaller bib file (~2k lines) and experienced the same issue. Are my bib files too large? Is there a way to identify which part of the reformat/sort is causing it to hang?
emacs -Q
? If so, considerM-x report-emacs-bug
. If not, bisect your init file to find the culprit.