From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.help Subject: Re: Wait for compile to finish Date: Sat, 22 Oct 2005 07:18:34 +1000 Organization: Bah Humbug Message-ID: <87br1ibmc5.fsf@zip.com.au> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129929659 25680 80.91.229.2 (21 Oct 2005 21:20:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2005 21:20:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 21 23:20:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ET4Ik-00067D-4Y for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Oct 2005 23:19:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ET4Ii-0005YO-7s for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Oct 2005 17:19:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ET4II-0005Xw-Ux for help-gnu-emacs@gnu.org; Fri, 21 Oct 2005 17:19:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ET4IB-0005Vr-5Y for help-gnu-emacs@gnu.org; Fri, 21 Oct 2005 17:19:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ET4IB-0005Vn-2I for help-gnu-emacs@gnu.org; Fri, 21 Oct 2005 17:19:11 -0400 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ET4I9-0001aO-F8 for help-gnu-emacs@gnu.org; Fri, 21 Oct 2005 17:19:10 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9LLJ3xt017236 for ; Sat, 22 Oct 2005 07:19:03 +1000 Original-Received: from localhost (ppp2495.dyn.pacific.net.au [61.8.36.149]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id j9LLJ2YM010432 for ; Sat, 22 Oct 2005 07:19:03 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1ET4Hb-0001hC-00; Sat, 22 Oct 2005 07:18:35 +1000 Original-To: help-gnu-emacs@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30452 Archived-At: bago@ludens.elte.hu (Toto) writes: > > My question is: > Is there a synchronous version of compile? Or how can i determine that > compile has finished (and get the result of the compilation - success > or failure)? Personally I use a shell script "mr" and run that instead of "make" from M-x compile, it does a compile and runs if successful. You get compile errors and program output both in the compilation buffer. If you really want to know in elisp when M-x compile finishes, have a look at makeinfo-compile in makeinfo.el which does that sort of thing, but it's not too pretty.