unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.downwithspam.com.au>
Subject: Re: Wait for compile to finish
Date: Sat, 22 Oct 2005 07:18:34 +1000	[thread overview]
Message-ID: <87br1ibmc5.fsf@zip.com.au> (raw)
In-Reply-To: Hw8DDpgmJd$s@ludens

bago@ludens.elte.hu (Toto) writes:
>
> My question is:
> Is there a synchronous version of compile? Or how can i determine that
> compile has finished (and get the result of the compilation - success
> or failure)?

Personally I use a shell script "mr" and run that instead of "make"
from M-x compile, it does a compile and runs if successful.  You get
compile errors and program output both in the compilation buffer.

If you really want to know in elisp when M-x compile finishes, have a
look at makeinfo-compile in makeinfo.el which does that sort of thing,
but it's not too pretty.

  parent reply	other threads:[~2005-10-21 21:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 13:07 Wait for compile to finish Toto
2005-10-20 16:31 ` Kevin Rodgers
2005-10-20 19:40   ` Eli Zaretskii
2005-10-21 15:43 ` William Xu
2005-10-21 21:18 ` Kevin Ryde [this message]
2005-10-22 16:07 ` Vagn Johansen
2005-10-24 10:22   ` Toto

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=87br1ibmc5.fsf@zip.com.au \
    --to=user42@zip.downwithspam.com.au \
    /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).