From: Baloff <washdc@wash.edu>
Subject: Re: using Xresources for geometry
Date: 06 Sep 2005 05:52:27 +1000 [thread overview]
Message-ID: <87y86bxpfo.fsf@wash.edu> (raw)
In-Reply-To: mailman.5717.1125593848.20277.help-gnu-emacs@gnu.org
"Drew Adams" <drew.adams@oracle.com> writes:
> I got the doremi-frm.el from
> http://www.emacswiki.org/cgi-bin/emacs/doremi-frm.el by
> clicking on the download, which opened a new page with the file in it,
> then I copy and past into the scratch buffer, saved it in
> /usr/share/emacs/site-lisp/doremi-frm.el, put (require 'doremi-frm)
> in the first line of my .emacs
>
> M-x load-file ~/.emacs cann't open load file: doremi
> did I do something wrong?
>
> No, you did everything right. But not enough. Emacs-Lisp libraries often
> require other libraries. In this case, `doremi-frm.el' requires `doremi.el'.
> In fact, it also requires other libraries, besides `doremi.el'.
>
> You will see this comment in doremi-frm.el:
>
> ;; Library `doremi-frm' requires these libraries:
> ;;
> ;; `avoid', `doremi', `faces', `faces+', `frame-cmds', `frame-fns',
> ;; `hexrgb', `icomplete', `icomplete+', `misc-fns', `mwheel', `ring',
> ;; `ring+', `strings', `thingatpt', `thingatpt+'.
>
> Not all of those libraries are absolutely required, however. To determine
> what you absolutely need:
>
> - Look for `(require...)' in doremi-frm.el.
> - Load those files.
> - Look in those files for `(require...)'.
> - Etc.
>
> Any `(require...)' of this form: (require 'something nil t) is *optional* -
> the library is not absolutely required. It is the third arg `t' that signals
> this.
>
> In `doremi-frm.el', for example you see this:
>
> (require 'doremi)
> (require 'hexrgb)
> (require 'ring+)
> (require 'frame-fns)
> (require 'faces+)
>
> (require 'frame-cmds nil t)
> (unless (fboundp 'read-number)(require 'strings nil t))
>
> (eval-when-compile (require 'cl))
>
> The first group of `require's are mandatory, for `doremi-frm.el' to work.
>
> The second group (frame-cmds, strings) are optional.
>
> Both of these groups are my libraries - they are not included with standard
> Emacs. So, you will need to download all libraries in the first group, for
> `doremi-frm.el' to work. (And some of those libraries might require you to
> download other libraries.) You do not need to download `frame-cmds.el' or
> `strings.el'.
>
> The last `require' is a compile-time-only require, and library `cl.el' is a
> standard Emacs library, so you do not need to download anything for this
> dependency.
>
> HTH.
thanks,
is there a way to automate the handling of all those dependencies so
that I don't have to do it by hand?
next parent reply other threads:[~2005-09-05 19:52 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 ` Baloff [this message]
2005-09-06 14:47 ` using Xresources for geometry Drew Adams
[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
[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
2005-08-30 8:21 ` Tim X
2005-09-01 13:48 ` Baloff
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=87y86bxpfo.fsf@wash.edu \
--to=washdc@wash.edu \
/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).