help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Figuring out a nice workflow for unittesting with Emacs


From: Eli Zaretskii
Subject: Re: Figuring out a nice workflow for unittesting with Emacs
Date: Mon, 18 Apr 2011 23:31:45 +0300

> Date: Sun, 17 Apr 2011 18:55:08 -0400
> From: Rob Renaud <address@hidden>
> 
> Is there a way to add history to the compile command function?

"M-x compile" has its own history, granted.  You can move through it
with M-p and M-n (resp up-arrow and down-arrow), and you can serach
for commands that match a regexp with M-r.

In addition, there's "M-x recompile" that will automatically reuse the
last compile command.

Finally, you can use file-local variables to define the compile
command for each file (unit test in your case).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]