Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • "Wrong"? "long"? The question is anyway not clear. Please provide a step-by-step recipe to repro the problem, starting with emacs -Q (no init file). Say, at each step, what you see and what you expected to see instead. A true hang is most likely an Emacs bug, in which case you should use M-x report-emacs-bug. Commented Mar 9, 2020 at 20:40
  • FWIW... in Emacs 27, global-so-long-mode addresses a sub-set of these kinds of problem (by turning various slow things off); but it doesn't automatically trigger in the 'dynamic insertion' situations you've mentioned (shell output) and, ultimately, extremely long lines will present problems for the Emacs redisplay code even if no other features are slowing things down (on account of the trade-offs inherent in various other features of the text rendering in Emacs). Nevertheless, so-long.el will likely still be of interest to you. Commented Mar 9, 2020 at 22:37