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

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

Re: How to recompile single file or rerun single compilation command in


From: Peter Dyballa
Subject: Re: How to recompile single file or rerun single compilation command in compilation mode ?
Date: Wed, 7 Mar 2012 19:21:03 +0100

Am 7.3.2012 um 16:44 schrieb Nash Steve:

> e.g. after M-x compile RET make, I just want to pick a line of make output
> as a command to run.

Change directory in *shell* buffer and execute that line! So you'll have the 
*compilation* buffer with all errors and warnings and another compilation...

The other option is to erase the (default) compile command and substitute it 
with your line. Then the current working directory of the *compilation* 
buffer's process has to be that from which the file to be compiled can be 
reached.

--
Greetings

  Pete

Globalisation – communism from above.




reply via email to

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