From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Org Build System (aka Makefile) Date: Sun, 12 Aug 2012 15:56:35 +0200 Message-ID: <874no8dxik.fsf@Rainer.invalid> References: <87y5mkrca2.fsf@Rainer.invalid> <87ipcs3smd.fsf@Rainer.invalid> <871ujf5i7g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Yex-0002Hf-DH for emacs-orgmode@gnu.org; Sun, 12 Aug 2012 09:56:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0Yeu-000377-HI for emacs-orgmode@gnu.org; Sun, 12 Aug 2012 09:56:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:58667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0Yeu-00036g-Ag for emacs-orgmode@gnu.org; Sun, 12 Aug 2012 09:56:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T0Yes-0002cI-W0 for emacs-orgmode@gnu.org; Sun, 12 Aug 2012 15:56:47 +0200 Received: from pd9eb2803.dip.t-dialin.net ([217.235.40.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Aug 2012 15:56:46 +0200 Received: from Stromeko by pd9eb2803.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Aug 2012 15:56:46 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > Please make the default "make" procedure display all warnings that the > user would see by compiling Emacs itself. That isn't even possible, you'd need to use Emacs' build system (which, btw gives inconsistent results for repeated compiles). > I know we disagree about this: you think that compiler warnings are for > the developers, not for the users. I think the default "make" should > send as much warnings as Emacs sends with its own default "make". You continue to misunderstand what I was saying or at least trying to say. The primary function of Org's build system is to, well, build Org with the minimum fuzz. That's what it was designed to do and that is what it does — it can do other things as well, but you'll have to configure it to do that. Getting more warnings is a secondary function, however useful they might be. Now, Emacs Lisp as a dynamic language is notoriously difficult in the static checks department (warnings are but a small part of that) and Emacs lacks functions to do this thoroughly in an automated manner. There is _no_ complete tool for doing dependency checks at the source level (I'd love to be proved wrong) for instance. Emacs does have elint since version 23, which is properly separated from building, but again, is still incomplete. I've added two compilation methods that use elint, but they certainly aren't for casual use — the first one takes 25 times as long as a simple build and the other one 275 times. > If a user wants the compilation to go faster, he can always use another > instruction (the current "make" -- renamed "make quiet"?) And by the same argument, everybody can just as well add the line _COMPILE_=single to local.mk if wanted. This gives _different_ warnings (and in general more), but it is still no substitute for static checks and testing. I'm not going to degrade the build performance for everyone to save a handful of people the bother of doing that. If you insist, do the change yourself (it's defined in default.mk). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables