Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Emacs, I would like to be able to combine the features of ansi-term-mode and compilation-mode. I have a build system for compiling my source code which uses terminal commands for placing the cursor. This is as to have progress bars and stuff. So I can use ansi-term-mode for kicking of the build process, but I lose the error-recognition of compilation-mode. Can I combine both? Either putting the error-recognition and "jumping into file" feature of compilation-mode into ansi-term-mode, or the other way around giving compilation-mode ansi-term features.

And yes, I could force the build tool to output dumb information, but I actually like the compact, progress bar view.

share|improve this question

Found the answer to my own problem: the compilation-minor-mode is what I am looking for. You can use customize to add it to the term-mode-hook:

 '(term-mode-hook (quote (compilation-minor-mode)))
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.