From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Treatise on require
Date: Sun, 08 Jan 2006 19:51:58 -0500 [thread overview]
Message-ID: <E1EvlGQ-0002rg-AN@fencepost.gnu.org> (raw)
In-Reply-To: <28049.1136694802@olgas.newt.com> (message from Bill Wohler on Sat, 07 Jan 2006 20:33:22 -0800)
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.
next prev parent reply other threads:[~2006-01-09 0:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-08 4:33 Treatise on require Bill Wohler
2006-01-08 11:01 ` Thien-Thi Nguyen
2006-01-08 11:45 ` Andreas Schwab
2006-01-09 0:51 ` Richard M. Stallman [this message]
2006-01-09 2:20 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1EvlGQ-0002rg-AN@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).