[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running makefiles from emacs
From: |
mrf |
Subject: |
Re: Running makefiles from emacs |
Date: |
Mon, 28 Jun 2021 07:14:10 +0300 |
User-agent: |
mu4e 1.5.8; emacs 27.2 |
Emanuel Berg via Users list for the GNU Emacs text editor writes:
> The default command for `compile' is "make", I have changed
> that like this
>
> (setq compile-command "make -j 4 -s -k ")
> (setq compilation-read-command nil)
>
> This is maybe useful as well
And also it would be better to set this variable in directory local
variable using this command:
M-x add-dir-local-variable
which will create .dir-locals.el inside your project
or if you share small single file scripts or C code you can include it
as file local variable:
M-x add-file-local-variable
which will include it as comment in the bottem of file where emacs can
parse it with its special format and also there can be place with one
line at the top of file with:
M-x add-file-local-variable-prop-line
> (setq compilation-scroll-output t)
Nice!
Running makefiles from emacs, lisa-asket, 2021/06/28
Re: Running makefiles from emacs, Arthur Miller, 2021/06/28