From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: Waiting on compilation to finish before executing another function Date: Thu, 15 Aug 2013 14:04:04 -0400 Organization: A noiseless patient Spider Message-ID: References: <910572b7-27cb-4169-a5ac-97d7c0d0c980@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376589919 12429 80.91.229.3 (15 Aug 2013 18:05:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2013 18:05:19 +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 20:05:22 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 1VA1vG-000579-Bz for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 20:05:22 +0200 Original-Received: from localhost ([::1]:54801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA1vF-0004cP-DK for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 14:05:21 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Injection-Info: mx05.eternal-september.org; posting-host="2b4d99857b7659717d3b28a24c766d4c"; logging-data="11927"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eMdEyCRz6HGuDESpafoM1HVlfN5e0FFw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:lpNLwjYmeNcyBLq4s43xM0td55A= sha1:6yXZIA/wlE7kWfO2Q5oXZr7e+Po= Original-Xref: usenet.stanford.edu gnu.emacs.help:200642 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:92909 Archived-At: Rami A writes: > 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. You might be able to use emacsclient to send a command to your running emacs as a step in the compile process. -- Dan Espen