From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vagn Johansen Newsgroups: gmane.emacs.help Subject: Re: Wait for compile to finish Date: Sat, 22 Oct 2005 18:07:12 +0200 Organization: TDC Totalloesninger Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129997475 13299 80.91.229.2 (22 Oct 2005 16:11:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Oct 2005 16:11:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 22 18:11:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ETLxU-00032V-0d for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Oct 2005 18:11:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETLxS-0002y2-7g for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Oct 2005 12:10:58 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:niB/AzJJUu8FNo+9BueMRXmvGj0= Original-Lines: 18 Original-NNTP-Posting-Host: 80.196.132.34 Original-X-Trace: 1129997156 dread14.news.tele.dk 8828 80.196.132.34:31163 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:134889 Original-To: help-gnu-emacs@gnu.org 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:30474 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)? You can set the variable compilation-finish-function to a function. "Documentation: Functions to call when a compilation process finishes. Each function is called with two arguments: the compilation buffer, and a string describing how the process finished. Defined in `compile'." -- Vagn