From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rami A Newsgroups: gmane.emacs.help Subject: Re: Waiting on compilation to finish before executing another function Date: Thu, 15 Aug 2013 10:53:40 -0700 (PDT) Message-ID: <910572b7-27cb-4169-a5ac-97d7c0d0c980@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1376589328 6367 80.91.229.3 (15 Aug 2013 17:55:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2013 17:55:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 15 19:55:31 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VA1lf-0004O5-EV for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 19:55:27 +0200 Original-Received: from localhost ([::1]:54771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA1lf-0000HL-4g for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 13:55:27 -0400 X-Received: by 10.224.2.202 with SMTP id 10mr17118482qak.8.1376589220374; Thu, 15 Aug 2013 10:53:40 -0700 (PDT) X-Received: by 10.49.70.170 with SMTP id n10mr66775qeu.22.1376589220309; Thu, 15 Aug 2013 10:53:40 -0700 (PDT) Original-Path: usenet.stanford.edu!fx3no2593849qab.0!news-out.google.com!he10ni1979qab.0!nntp.google.com!fx3no2593841qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=148.87.19.198; posting-account=HZ4YzgoAAABkTSCruZ7Bs4hufjlOUmBF Original-NNTP-Posting-Host: 148.87.19.198 User-Agent: G2/1.0 Injection-Date: Thu, 15 Aug 2013 17:53:40 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:200641 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:92908 Archived-At: Thanks Dan. I am aware of the way emacs alert you if a the file changed on disk. Unfortunately, I do a lot of "code review" before making any change, so looking at stale data is not a good thing. I could have included (revert-all-buffers) right after the compile command but sometimes pulling take long enough that refreshing the files happened before the completion of updating the files. I am sure there is a way to wait on compile before proceeding forward.