unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How does one load a whole Elisp directory?
@ 2009-02-23  2:43 Joe Fineman
  2009-02-23  4:11 ` Eli Zaretskii
       [not found] ` <mailman.1516.1235362290.31690.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Joe Fineman @ 2009-02-23  2:43 UTC (permalink / raw)
  To: help-gnu-emacs

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?  The eponymous files within those directories do
not do the job.  I keep being told that some other .el file or other
can't be loaded.  apropos -> load does not reveal anything
suggestive.  What am I missing?
-- 
---  Joe Fineman    joe_f@verizon.net

||:  Be sincere: fool yourself first.  :||


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How does one load a whole Elisp directory?
  2009-02-23  2:43 How does one load a whole Elisp directory? Joe Fineman
@ 2009-02-23  4:11 ` Eli Zaretskii
       [not found] ` <mailman.1516.1235362290.31690.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2009-02-23  4:11 UTC (permalink / raw)
  To: help-gnu-emacs

> From: Joe Fineman <joe_f@verizon.net>
> 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.
M-x calc RET should DTRT for calc.

Is that what you want?  If not, please give more details about what
you are looking for.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How does one load a whole Elisp directory?
       [not found] ` <mailman.1516.1235362290.31690.help-gnu-emacs@gnu.org>
@ 2009-02-24  5:08   ` Joe Fineman
  2009-02-24 14:16     ` Dan Espen
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Fineman @ 2009-02-24  5:08 UTC (permalink / raw)
  To: help-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Joe Fineman <joe_f@verizon.net>
>> 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.
-- 
---  Joe Fineman    joe_f@verizon.net

||:  What sticks to the spoon doesn't get stirred.  :||


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How does one load a whole Elisp directory?
  2009-02-24  5:08   ` Joe Fineman
@ 2009-02-24 14:16     ` Dan Espen
  2009-02-26  2:10       ` Joe Fineman
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Espen @ 2009-02-24 14:16 UTC (permalink / raw)
  To: help-gnu-emacs

Joe Fineman <joe_f@verizon.net> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> From: Joe Fineman <joe_f@verizon.net>
>>> 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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How does one load a whole Elisp directory?
  2009-02-24 14:16     ` Dan Espen
@ 2009-02-26  2:10       ` Joe Fineman
  0 siblings, 0 replies; 5+ messages in thread
From: Joe Fineman @ 2009-02-26  2:10 UTC (permalink / raw)
  To: help-gnu-emacs

Dan Espen <daneNO@MORE.mk.SPAMtelcordia.com> writes:

> Joe Fineman <joe_f@verizon.net> writes:

>> 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?

Thank you!  That did the job.  I used to know about load-path, but
forgot about it over the years.  None of us is getting any younger.

%^)
-- 
---  Joe Fineman    joe_f@verizon.net

||:  Imprudent sexual activity completes the life cycles of many  :||
||:  pests.                                                       :||


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-26  2:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23  2:43 How does one load a whole Elisp directory? Joe Fineman
2009-02-23  4:11 ` Eli Zaretskii
     [not found] ` <mailman.1516.1235362290.31690.help-gnu-emacs@gnu.org>
2009-02-24  5:08   ` Joe Fineman
2009-02-24 14:16     ` Dan Espen
2009-02-26  2:10       ` Joe Fineman

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).