From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bago@ludens.elte.hu (Toto) Newsgroups: gmane.emacs.help Subject: Re: Wait for compile to finish Date: 24 Oct 2005 12:22:33 +0200 Organization: Eotvos University, Budapest, Hungary Message-ID: <30WFVnse6tLJ@ludens> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1130157194 3610 80.91.229.2 (24 Oct 2005 12:33:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Oct 2005 12:33:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 24 14:33:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EU1Ts-0004OK-1k for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Oct 2005 14:31:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EU1Tq-0004TJ-EF for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Oct 2005 08:31:10 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news.bme.hu!ludens.elte.hu!not-for-bago Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-Xref: shelby.stanford.edu gnu.emacs.help:134928 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:30515 Archived-At: In article , Vagn Johansen writes: > 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'." That's close enough. Thanks. > -- > Vagn -- [ Toto ]