I have a shell with lots of crap spewing and emacs trying to parse everything. I don’t want to stop the command, but I’d like emacs to stop taking all of my cpu. Is there a way I can tell emacs to just print stuff out and not try to match parenthesis and stuff?
Share
I think commint-mode, a “base” mode of shell-mode, syntax/file/error highlighting is the culprit here. So you might look for ways to dumb down shell/comint-mode to just those faculties that allow interacting with the shell. Start by looking at
C-h v shell-mode-hookandC-h v comint-mode-hook, in particular look forcompilation-shell-minor-mode,ansi-color-for-comint-mode-onor any other minor modes which would involve a lot of examination of shell output.