From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Display compilation buffer only if compilation failed Date: Sat, 11 Feb 2012 10:20:35 -0800 Message-ID: <7693A81014A5497DBAD7D7A6C15A0028@us.oracle.com> References: <2A710B90B5974D5F8EFD545F7BADC5B1@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328984455 29982 80.91.229.3 (11 Feb 2012 18:20:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2012 18:20:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "=?iso-8859-1?Q?'Aur=E9lien_Aptel'?=" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 11 19:20:54 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RwHZ7-0002BF-Lt for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Feb 2012 19:20:53 +0100 Original-Received: from localhost ([::1]:56678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwHZ7-0005wr-3u for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Feb 2012 13:20:53 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:51618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwHZ0-0005wm-UZ for help-gnu-emacs@gnu.org; Sat, 11 Feb 2012 13:20:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwHZ0-0001Ba-4L for help-gnu-emacs@gnu.org; Sat, 11 Feb 2012 13:20:46 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:21158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwHYz-0001BT-Mw for help-gnu-emacs@gnu.org; Sat, 11 Feb 2012 13:20:45 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q1BIKgFb019572; Sat, 11 Feb 2012 18:20:44 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q1BIKfIx006935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Feb 2012 18:20:42 GMT Original-Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q1BIKfuV010027; Sat, 11 Feb 2012 12:20:41 -0600 Original-Received: from dradamslap1 (/10.159.53.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 11 Feb 2012 10:20:41 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Aczo6OnUHEWwgBi3R2OkJ0107RdHwQAAMbpQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A020207.4F36B17C.004C,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83708 Archived-At: > The call to recompile is asynchronous. I have to wait until the end of > the compilation before checking the content of the buffer. > > How can I do this? Maybe `compilation-handle-exit'? Dunno. I just glanced at the code.