From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.help Subject: Re: build-and-load-etags Date: Fri, 27 Apr 2007 20:21:25 -0600 Message-ID: References: Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177795748 10895 80.91.229.12 (28 Apr 2007 21:29:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 Apr 2007 21:29:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "David L" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 28 23:29:06 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HhuTX-0002c5-Ub for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Apr 2007 23:29:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhuZX-0001G7-Ij for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Apr 2007 17:35:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hhcwc-0002ZO-Ob for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 22:45:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hhcwb-0002ZC-8j for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 22:45:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hhcwb-0002Z9-3h for help-gnu-emacs@gnu.org; Fri, 27 Apr 2007 22:45:53 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hhcqf-0007pM-Cl; Fri, 27 Apr 2007 22:39:45 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l3S2dcA7008404; Fri, 27 Apr 2007 22:39:39 -0400 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l3S2dcDV023819; Fri, 27 Apr 2007 22:39:38 -0400 Original-Received: from opsy.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l3S2dbNJ031231; Fri, 27 Apr 2007 22:39:38 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 37BA7378077; Fri, 27 Apr 2007 20:21:25 -0600 (MDT) X-Attribution: Tom In-Reply-To: (David L.'s message of "Fri\, 27 Apr 2007 12\:41\:47 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 28 Apr 2007 17:35:02 -0400 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:43330 Archived-At: >>>>> "David" == David L writes: David> One more question. If I wanted the benefit of asynchronous David> generation of the tags file (ie, not having to wait 30 seconds David> for a big list of dependencies to be created before my emacs David> session is active again) is there a way to query the completion David> status of a compile session so I could start a timer and David> poll every few seconds for compilation completion? This David> would also be useful for functions like compile-and-run or David> compile-and-debug where you want to wait for compilation David> to be done before proceeding with the next step (but might David> want to continue browsing through the code in the mean time). You could set compilation-finish-function to do something. Running something to start the debugger when compilation is finished might have a weird effect -- e.g. it could pop up while you are in the middle of something else. FWIW I set compilation-finish-function to play a sound when the compilation is done (with different noises for success and failure). Then I just bury the compilation buffer and forget about it. Tom