From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baloff Newsgroups: gmane.emacs.help Subject: Re: using Xresources for geometry Date: 06 Sep 2005 05:52:27 +1000 Organization: iPrimus Customer - reports relating to abuse should be sent to abuse@iprimus.com.au Message-ID: <87y86bxpfo.fsf@wash.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125948736 12844 80.91.229.2 (5 Sep 2005 19:32:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2005 19:32:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 05 21:32:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ECMgL-0007Vx-3z for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Sep 2005 21:31:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ECMkn-00035B-8v for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Sep 2005 15:35:41 -0400 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-Original-NNTP-Posting-Host: 210.50.16.15 X-Original-NNTP-Posting-Host: 127.0.0.1 Original-Lines: 69 Original-NNTP-Posting-Host: 203.134.67.67 Original-X-Trace: 1125948396 un-2park-reader-02.sydney.pipenetworks.com.au 15518 203.134.67.67:1177 Original-X-Complaints-To: Abuse, including message IDs to abuse@pipenetworks.com Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!news1.optus.net.au!optus!news.uwa.edu.au!nntp.waia.asn.au!202.72.130.18.MISMATCH!quokka.wn.com.au!token.pipenetworks.com!218.100.2.58.MISMATCH!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:133683 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29225 Archived-At: "Drew Adams" 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?