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

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

Re: Wait for compile to finish


From: William Xu
Subject: Re: Wait for compile to finish
Date: Fri, 21 Oct 2005 23:43:48 +0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

bago@ludens.elte.hu (Toto) writes:

> Greetings!
>
> My problem is the following:
>
> I would like to have a function, which runs the program, that belongs to
> the buffer i'm editing or compile it first if it isn't done already.
> To make it more clear. Say, i'm editing helloworld.c and i call this
> function, it should execute helloworld.exe (yes, i'm on windows). If
> there is no hello.exe in the current directory (or it is older than the
> source file) emacs should compile it first and run it afterwards.
>
> For this purpose I have come up with a funcion similar to the one
> below.

For this purpose, you might be interested in this:

http://www.emacswiki.org/cgi-bin/emacs/smart-compile+.el


-- 
William




reply via email to

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