emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Check for compilation error
@ 2014-11-22  8:08 Michael Brand
  2014-11-22 11:30 ` Achim Gratz
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Brand @ 2014-11-22  8:08 UTC (permalink / raw)
  To: Org Mode

Hi all

What is the reason that "make check" does not stop at the first
compilation error with a non-zero exit status?

Michael

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Check for compilation error
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Achim Gratz @ 2014-11-22 11:30 UTC (permalink / raw)
  To: emacs-orgmode

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.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Check for compilation error
  2014-11-22 11:30 ` Achim Gratz
@ 2014-11-23 17:55   ` Michael Brand
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Brand @ 2014-11-23 17:55 UTC (permalink / raw)
  To: Achim Gratz; +Cc: Org Mode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-23 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).