From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: using Xresources for geometry
Date: Tue, 6 Sep 2005 07:47:13 -0700 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICMEFACMAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87y86bxpfo.fsf@wash.edu>
is there a way to automate the handling of all those [library]
dependencies so that I don't have to do it by hand?
Don't have to what by hand?
Put all of the libraries in a directory that is in your load-path, then load
the library (doremi-frm.el) that is at the root of the dependency tree. What
is so hard about that?
You don't have to think about it - just put all the libraries in a sack and
pull the root library (doremi-frm.el) out of the sack; everything else will
follow, hanging on.
---
BTW, you might be interested in library `lib-requires.el'
(http://www.emacswiki.org/cgi-bin/wiki/lib-requires.el), which provides
these commands for keeping track of library dependencies:
- lib-requires-tree:
The libraries (files or features) `require'd by LIBRARY, as a tree.
- lib-requires:
The libraries ultimately `require'd by LIBRARY, as a flat list.
- insert-lib-requires-as-comment:
Insert a comment listing all libraries ultimately required by LIBRARY.
In particular, you can use `lib-requires-tree' to see which libraries
require which libraries.
However, these commands work by *loading* all of the required libraries, so
they won't help you if the libraries are not available in your load-path.
One limitation, unfortunately, is that these commands cannot distinguish
between "hard" and "soft" `require's - because Emacs does not record the
distinction. A "soft" `require' is one with a non-nil third argument: the
"required" library is in fact *optional*. These commands treat all
`require'd libraries as "required" libraries - so they are overly
conservative. But they can still help you understand what's going on.
next prev parent reply other threads:[~2005-09-06 14:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5717.1125593848.20277.help-gnu-emacs@gnu.org>
2005-09-05 19:52 ` using Xresources for geometry Baloff
2005-09-06 14:47 ` Drew Adams [this message]
[not found] <mailman.5379.1125330936.20277.help-gnu-emacs@gnu.org>
2005-09-01 14:50 ` Ballof
2005-09-01 16:49 ` Drew Adams
2005-08-27 9:17 Baloff
2005-08-27 11:18 ` Angelina Carlton
2005-08-27 18:18 ` Henrik Enberg
2005-08-30 8:21 ` Tim X
2005-09-01 13:48 ` Baloff
[not found] ` <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org>
2005-08-28 5:30 ` Baloff
2005-08-29 15:49 ` Drew Adams
2005-08-30 9:18 ` Ismael Valladolid Torres
2005-08-30 13:34 ` Drew Adams
2005-08-30 8:22 ` Tim X
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=DNEMKBNJBGPAOPIJOOICMEFACMAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
/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.
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).