From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: MH-E 7.4.4 checked in Date: 17 Jul 2004 11:11:06 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <1890.1089689203@newt.com> <2914-Tue13Jul2004070451+0300-eliz@gnu.org> <3589.1089692661@newt.com> <2914-Tue13Jul2004215551+0300-eliz@gnu.org> <30509.1089781796@newt.com> <6654-Fri16Jul2004152801+0300-eliz@gnu.org> <8011-Fri16Jul2004163116+0300-eliz@gnu.org> <23643.1089986972@trantor.xilinx.com> <9743-Sat17Jul2004123408+0300-eliz@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090077097 17563 80.91.224.253 (17 Jul 2004 15:11:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Jul 2004 15:11:37 +0000 (UTC) Cc: emacs-devel@gnu.org, wohler@newt.com, Satyaki Das , mh-e-devel@lists.sourceforge.net Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Jul 17 17:11:25 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlqqT-0005w2-00 for ; Sat, 17 Jul 2004 17:11:25 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlqqT-0005un-00 for ; Sat, 17 Jul 2004 17:11:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Blqt3-0006kA-Pz for emacs-devel@quimby.gnus.org; Sat, 17 Jul 2004 11:14:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Blqt0-0006k4-Pu for emacs-devel@gnu.org; Sat, 17 Jul 2004 11:14:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Blqsy-0006jg-TE for emacs-devel@gnu.org; Sat, 17 Jul 2004 11:14:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Blqsy-0006jW-Pa for emacs-devel@gnu.org; Sat, 17 Jul 2004 11:14:00 -0400 Original-Received: from [206.47.199.163] (helo=simmts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BlqqB-00079W-QS; Sat, 17 Jul 2004 11:11:08 -0400 Original-Received: from empanada.local ([67.71.117.71]) by simmts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040717151016.YEHW3387.simmts5-srv.bellnexxia.net@empanada.local>; Sat, 17 Jul 2004 11:10:16 -0400 Original-Received: by empanada.local (Postfix, from userid 502) id 12B1A256992; Sat, 17 Jul 2004 11:11:06 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: <9743-Sat17Jul2004123408+0300-eliz@gnu.org> Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25793 > I still think that either MH-E or lisp/Makefile.in (or both) should be > changed so as not to require such manual deletions. We have a number > of other Lisp packages (Eshell, CC-Mode, Ediff, etc.) with subtle > dependencies among their *.el files, but "make recompile" always does > TRT for them. As Andreas indicated, it doesn't alway DTRT. And fixing the Makefile to DTRT is difficult. Ways to try to fix it: - look at `provide' and `require' statements to make up Makefile dependencies. I had this working at some point (GNU-only) but it wasn't great: lots of unnecessary recompilation, lots of circular dependencies, and it still misses lots of dependencies (for files that are preloaded (and hence not `require'd) or for autoloaded thingies). - during byte-compilation remember which macro we expand and after writing the .elc file, write a foo.elc.d file listing the other files it depended on. Kind of like gcc's `-MD' argument. - during byte-compilation, a `require' loads the .el file if it is younger than the .elc. Maybe even load the.el file if it is more recent than the .elc even if the .elc has already been (pre)loaded. Stefan