0

I use Emacs under Ubuntu.

I would like to bind the make command to a shortcut, so that makefile could be launched. If the compilation fails, I would the error message to be shown in a sub-window or the message bar; otherwise, I would all the sub-windows to be closed except the one containing the main text.

Does anyone know how to realize that?

1
  • 1
    This isn't off-topic here, but there's a dedicated Emacs site.
    – muru
    Apr 27, 2015 at 2:03

1 Answer 1

0

The emacs compile function is what you want. Type (into Emacs, without the spaces): ^H f c o m p i l e RETURN.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .