unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "David L" <idht4n@hotmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: build-and-load-etags
Date: Fri, 27 Apr 2007 20:21:25 -0600	[thread overview]
Message-ID: <m3ejm5grx6.fsf@fleche.redhat.com> (raw)
In-Reply-To: <BAY144-F32B50E9C0874F9B21420BF844F0@phx.gbl> (David L.'s message of "Fri\, 27 Apr 2007 12\:41\:47 -0700")

>>>>> "David" == David L <idht4n@hotmail.com> 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

  reply	other threads:[~2007-04-28  2:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 20:39 build-and-load-etags David L
2007-04-26 20:42 ` build-and-load-etags Eli Zaretskii
2007-04-26 21:06   ` build-and-load-etags David L
2007-04-27  8:16     ` build-and-load-etags Eli Zaretskii
2007-04-27 19:41       ` build-and-load-etags David L
2007-04-28  2:21         ` Tom Tromey [this message]
2007-04-28  8:03         ` build-and-load-etags Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ejm5grx6.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=idht4n@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).