From: Michael Brand <michael.ch.brand@gmail.com>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Check for compilation error
Date: Sun, 23 Nov 2014 18:55:57 +0100 [thread overview]
Message-ID: <CALn3zoiR+hNox4DcRok1i4L54KLqUN5MRA=c+6Rd4dYS4rne7g@mail.gmail.com> (raw)
In-Reply-To: <87fvdbo4jz.fsf@Gertrud.fritz.box>
Hi Achim
On Sat, Nov 22, 2014 at 12:30 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
> Michael Brand writes:
>> What is the reason that "make check" does not stop at the first
>> compilation error with a non-zero exit status?
>
> Emacs doesn't behave like a compiler
... when used as
[...] --batch --eval '(batch-byte-recompile-directory 0)'
But as
[...] --batch --eval '(batch-byte-compile)' `find . -name '*.el'`
the non-zero exit status is available. Could "make check" use this to
indicate a compilation error?
Alternatively of help may be a new optional parameter for
byte-recompile-directory to return its fail-count instead of nothing
useful as now and batch-byte-recompile-directory would then also on
request use it for (kill-emacs fail-count) instead of only the current
undifferentiated (kill-emacs 0).
Michael
prev parent reply other threads:[~2014-11-23 17:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-22 8:08 Check for compilation error Michael Brand
2014-11-22 11:30 ` Achim Gratz
2014-11-23 17:55 ` Michael Brand [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALn3zoiR+hNox4DcRok1i4L54KLqUN5MRA=c+6Rd4dYS4rne7g@mail.gmail.com' \
--to=michael.ch.brand@gmail.com \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.