From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Recursive compilation? Date: Sat, 04 Jun 2011 19:08:34 +0300 Message-ID: <83vcwld1fh.fsf@gnu.org> References: <83d3iuds7y.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1307203810 4550 80.91.229.12 (4 Jun 2011 16:10:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2011 16:10:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 04 18:10:06 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QStQM-0002Vy-09 for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2011 18:10:06 +0200 Original-Received: from localhost ([::1]:58640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QStQK-0007JL-UO for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2011 12:10:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QStOq-00074t-Cq for emacs-devel@gnu.org; Sat, 04 Jun 2011 12:08:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QStOh-00066l-Vm for emacs-devel@gnu.org; Sat, 04 Jun 2011 12:08:32 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:37660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QStOh-00066e-KW for emacs-devel@gnu.org; Sat, 04 Jun 2011 12:08:23 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LM900J00WQWZP00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sat, 04 Jun 2011 19:08:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.223.140]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LM900J2DWTWYS20@a-mtaout21.012.net.il>; Sat, 04 Jun 2011 19:08:21 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140175 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Sat, 04 Jun 2011 17:54:41 +0200 > > Eli Zaretskii writes: > > > There's a controversy about that, because there are legitimate and > > important use cases where Stefan's simpler solution causes trouble. > > I think I missed that discussion. Do you have a recap, by any chance? The one use case I remember is when you are developing a Lisp package and it is not yet ready for prime time (e.g., loading it would break Emacs). > In any case, I think it would make sense to make this an option. For > instance, a new variable `byte-compile-load-newest-file' defaulting to > nil. If foo.el requires 'bar, and bar.elc is outdated, won't loading bar.el make the result of compiling foo.el less optimized? > The obvious use case would be for the Emacs makefiles to set that > to t before compiling the .el files, which I'm sure would save us all a > bit of time over the coming years. Even in the Makefile's, I'm not sure it should be an obvious default: there could be important use cases when you'd want the warning/error even when building Emacs, e.g. when making a release or pretest tarball.