From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: build broken: no defun org-float-time. Who's guilty, and what does he propose? Date: Mon, 7 Sep 2009 13:59:07 -0400 Message-ID: <0C7A6FC6-085D-4B7F-9DC0-FF0493876153@raeburn.org> References: <20090907092823.GA3210@muc.de> <83ws4a3b49.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252346458 18703 80.91.229.12 (7 Sep 2009 18:00:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 18:00:58 +0000 (UTC) Cc: acm@muc.de, "Jan D." , joakim@verona.se, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 07 20:00:49 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MkiW5-0004b3-2y for ged-emacs-devel@m.gmane.org; Mon, 07 Sep 2009 20:00:38 +0200 Original-Received: from localhost ([127.0.0.1]:46131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkiW4-0006k5-DV for ged-emacs-devel@m.gmane.org; Mon, 07 Sep 2009 14:00:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkiV3-0006TD-Eg for emacs-devel@gnu.org; Mon, 07 Sep 2009 13:59:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkiUy-0006R5-W3 for emacs-devel@gnu.org; Mon, 07 Sep 2009 13:59:33 -0400 Original-Received: from [199.232.76.173] (port=57421 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkiUy-0006Qy-Jn for emacs-devel@gnu.org; Mon, 07 Sep 2009 13:59:28 -0400 Original-Received: from splat.raeburn.org ([69.25.196.39]:50262 helo=raeburn.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MkiUj-0006ee-3a; Mon, 07 Sep 2009 13:59:24 -0400 Original-Received: from [10.0.0.172] (squish.raeburn.org [10.0.0.172]) by raeburn.org (8.14.3/8.14.1) with ESMTP id n87Hx7oc012496; Mon, 7 Sep 2009 13:59:07 -0400 (EDT) In-Reply-To: <83ws4a3b49.fsf@gnu.org> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115088 Archived-At: On Sep 7, 2009, at 13:42, Eli Zaretskii wrote: >> From: "Jan D." >> Date: Mon, 7 Sep 2009 12:30:00 +0200 >> Cc: Alan Mackenzie , "emacs-devel@gnu.org" > > >> >> A make that removed old .elc files and did bootstrap when needed is >> the ideal solution. The second part is probably very hard. > > What we need IMO is a way to scan all the *.el files, look for > `require', and generate Make dependencies between Lisp files. Then > this problem should be gone for good. > > Any takers? I just spent part of the last couple of hours thinking over this problem too. Other files could be autoloaded during compilation, and should be listed as dependencies too. The byte compiler has rather a lot of information available while it's doing its job. Perhaps it could look at the files that were loaded as part of the compilation, and generate a list of dependencies. The byte compiler code itself, and files loaded via loadup.el, would still present a problem; a conservative approach would be to always list all of them as dependencies, though that would lead to excessive rebuilding still. Ken