From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: using Xresources for geometry Date: Thu, 1 Sep 2005 09:49:05 -0700 Message-ID: References: <87zmqwhmey.fsf@debian.i-did-not-set--mail-host-address--so-shoot-me> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1125593804 28490 80.91.229.2 (1 Sep 2005 16:56:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Sep 2005 16:56:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 01 18:56:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EAsLL-0001tQ-Og for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2005 18:55:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EAsPZ-0004Ff-O8 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Sep 2005 12:59:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EAsNR-0003bM-Rv for help-gnu-emacs@gnu.org; Thu, 01 Sep 2005 12:57:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EAsNQ-0003af-Jg for help-gnu-emacs@gnu.org; Thu, 01 Sep 2005 12:57:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EAsNO-0003Ig-Ig for help-gnu-emacs@gnu.org; Thu, 01 Sep 2005 12:57:22 -0400 Original-Received: from [148.87.122.33] (helo=rgminet04.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EAsIL-0005eS-0P for help-gnu-emacs@gnu.org; Thu, 01 Sep 2005 12:52:09 -0400 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by rgminet04.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j81Gn6pi006586 for ; Thu, 1 Sep 2005 10:49:06 -0600 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j81Gn6A1001888 for ; Thu, 1 Sep 2005 10:49:06 -0600 Original-Received: from dradamslap (dradams-lap.us.oracle.com [130.35.177.126]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id j81Gn5Qo001882 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 1 Sep 2005 10:49:06 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <87zmqwhmey.fsf@debian.i-did-not-set--mail-host-address--so-shoot-me> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:29164 Archived-At: 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.