From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Treatise on require Date: Sun, 08 Jan 2006 19:51:58 -0500 Message-ID: References: <28049.1136694802@olgas.newt.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1136768142 24219 80.91.229.2 (9 Jan 2006 00:55:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2006 00:55:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 09 01:55:40 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvlK0-0003ym-Ao for ged-emacs-devel@m.gmane.org; Mon, 09 Jan 2006 01:55:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvlLu-0004Vg-Dv for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2006 19:57:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvlKF-0003T8-PI for emacs-devel@gnu.org; Sun, 08 Jan 2006 19:55:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvlKE-0003SF-Sv for emacs-devel@gnu.org; Sun, 08 Jan 2006 19:55:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvlKE-0003S0-Lu for emacs-devel@gnu.org; Sun, 08 Jan 2006 19:55:54 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvlMQ-0002Pb-Bq for emacs-devel@gnu.org; Sun, 08 Jan 2006 19:58:10 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EvlGQ-0002rg-AN; Sun, 08 Jan 2006 19:51:58 -0500 Original-To: Bill Wohler In-reply-to: <28049.1136694802@olgas.newt.com> (message from Bill Wohler on Sat, 07 Jan 2006 20:33:22 -0800) 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:48860 Archived-At: Over time, nasty circular dependencies have reared their ugly head in MH-E. For example, mh-e requires just about other file and just about every other file requires mh-e. You really should get rid of that. If you put the specific things that are depended on into one file, then that file need not depend on any others. Also, has anyone written anything to build a call graph so that I might be able to reorganize the files as another way to eliminate the loops. I don't recall that there is one in Emacs itself. I agree it would be useful to have. I suggest this method: 1. Move all macros and defsubsts into the base file. 2. Compile another file and see what it might depend on. 3. Move that stuff into the base file. Etc.