From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: How does one load a whole Elisp directory? Date: Tue, 24 Feb 2009 09:16:13 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235486453 7994 80.91.229.12 (24 Feb 2009 14:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2009 14:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 15:42:09 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LbyU5-0007PE-6W for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 15:42:09 +0100 Original-Received: from localhost ([127.0.0.1]:59440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbySk-0008LA-LR for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2009 09:40:46 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-X-Trace: news.eternal-september.org U2FsdGVkX1+ipNNYxz3n0y1c9GdXlb3XYOSkLo+p+F4Tu0efm4pkvrRCGSG9p9PX29eJ8LQng3RL9emvvg6IrWBGX8F4g+5sqg/KbNPt98187sThgxQPR7kS3jHL9LXlkKcoqCEULj8= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Tue, 24 Feb 2009 14:16:13 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18rC3e0YqVEg3p/qZWAzJ1N7pZPM8iymZPE3pOzv3r62A== Cancel-Lock: sha1:V3iBOFGhV9WcAmk11ZoqIPFbniI= sha1:TdmvVthNQHhXm99LYqZ67oUNV/s= User-Agent: Gnus/5.090015 (Oort Gnus v0.15) XEmacs/21.4 (Educational Television, i686-pc-linux) Original-Xref: news.stanford.edu gnu.emacs.help:167018 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:62323 Archived-At: Joe Fineman writes: > Eli Zaretskii writes: > >>> From: Joe Fineman >>> Date: Sun, 22 Feb 2009 21:43:38 -0500 >>> >>> I run Emacs 22.3.1 under Windows XP. >>> >>> I have been trying to put something in my .emacs file that will >>> cause eshell & calc to be loaded. Do those whole directories /lisp >>> have be loaded file by file? >> >> M-x eshell RET should DTRT for eshell. > > I take it DTRT stands for "do the right thing"? > > It doesn't. It gets the message "Cannot open load file: eshell" in > the minibuffer. > >> M-x calc RET should DTRT for calc. > > That brings up a couple of windows & then says "Selecting deleted > buffer". > >> Is that what you want? If not, please give more details about what >> you are looking for. > > I would like to load all the files in those directories so that > (presumably) the commands will work in my Emacs. I am obviously > missing something obvious. You don't load whole directories, but you might need to add directories to the variable load-path. That's normally done for you. Have you altered load-path?