From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" 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 11:32:03 -0700 Message-ID: References: <20090907092823.GA3210@muc.de> <83ws4a3b49.fsf@gnu.org> <0C7A6FC6-085D-4B7F-9DC0-FF0493876153@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252348361 27738 80.91.229.12 (7 Sep 2009 18:32:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 18:32:41 +0000 (UTC) Cc: acm@muc.de, "'Jan D.'" , joakim@verona.se, emacs-devel@gnu.org To: "'Ken Raeburn'" , "'Eli Zaretskii'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 07 20:32:33 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 1Mkj0x-0004RD-OK for ged-emacs-devel@m.gmane.org; Mon, 07 Sep 2009 20:32:32 +0200 Original-Received: from localhost ([127.0.0.1]:39780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkj0x-0001zf-5e for ged-emacs-devel@m.gmane.org; Mon, 07 Sep 2009 14:32:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkj0p-0001xz-4f for emacs-devel@gnu.org; Mon, 07 Sep 2009 14:32:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkj0k-0001r5-84 for emacs-devel@gnu.org; Mon, 07 Sep 2009 14:32:22 -0400 Original-Received: from [199.232.76.173] (port=57153 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkj0k-0001qj-0a for emacs-devel@gnu.org; Mon, 07 Sep 2009 14:32:18 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:17838 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mkj0h-0004GV-Fu; Mon, 07 Sep 2009 14:32:15 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n87IVxDQ017038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Sep 2009 18:32:01 GMT Original-Received: from abhmt013.oracle.com (abhmt013.oracle.com [141.146.116.22]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n87IWIUN028892; Mon, 7 Sep 2009 18:32:18 GMT Original-Received: from dradamslap1 (/141.144.64.63) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 07 Sep 2009 11:32:08 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <0C7A6FC6-085D-4B7F-9DC0-FF0493876153@raeburn.org> Thread-Index: Acov5U47gQDT2yqySqSaHYk25m3WawAA2e6Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt013.oracle.com [141.146.116.22] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4AA551A9.0141:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:115089 Archived-At: > > 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. Dunno if any of this code would help, but you might be able to adapt some of it, depending on what you're trying to do: http://www.emacswiki.org/emacs/LibraryDependencies http://www.emacswiki.org/emacs/lib-requires.el http://www.emacswiki.org/emacs/elisp-depend.el