🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by BO/EBC/KX/RGD Joachim Pierre 08-... Fri, 26 Jul 1991 14:58
Loading lisp-code in a central spot
#1811
Author: BO/EBC/KX/RGD Joachim Pierre 08-...
Date: Fri, 26 Jul 1991 14:58
12 lines
921 bytes
Sorry if this is a FAQ which I think it is.

How do we load lisp-code into epoch so that everyone can use it?
Not updating everyone's .emacs or recompiling epoch?

Is this possible at all?

Thank you for reading this.

Joachim Pierre          e-mail:ebcjp@bosun.ericsson.se
Ericsson Business Communications AB
S-135 83 Tyresoe, Sweden
Re: Loading lisp-code in a central spot
#1817
Author: Kevin Gallagher
Date: Wed, 31 Jul 1991 01:49
15 lines
1444 bytes
In article <9107261058.AA11274@bosun.ericsson.se> ebcjp@bosun.ericsson.SE (BO/EBC/KX/RGD Joachim Pierre 08-682 4637) writes:
>Sorry if this is a FAQ which I think it is.
>
>How do we load lisp-code into epoch so that everyone can use it?
>Not updating everyone's .emacs or recompiling epoch?

Put the appropriate load or require statement into default.el in the
emacs/lisp directory.

See the second paragraph in section 28.6 of the GNU Emacs Manual, 6th edition.
-- 
----------------------------------------------------------------------------
Kevin Gallagher        kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation   Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
Re: Loading lisp-code in a central spot
#1816
Author: Alan M. Carroll
Date: Wed, 31 Jul 1991 02:00
25 lines
1748 bytes
In article <9107261058.AA11274@bosun.ericsson.se>, ebcjp@bosun.ericsson.SE (BO/EBC/KX/RGD Joachim Pierre 08-682 4637) writes:
> Sorry if this is a FAQ which I think it is.
> 
> How do we load lisp-code into epoch so that everyone can use it?
> Not updating everyone's .emacs or recompiling epoch?

This depends on whether you want everyone to always load the code, or
simply have it available. If the format, then you should load it in
the site-init.el file in the ./lisp directory, and then redump Epoch.

If you just want it available to people who wish to load it, create a
directory somewhere, and put the code there. Then, in site-init.el put
a line like

(setq load-path (cons "<full patch of the directory you created>" load-path))

This will add that directory to the list of directories to search when
loading files.

If this isn't clear, send me email.

-- 
Alan M. Carroll          <-- Another casualty of applied metaphysics
Epoch Development Team   
Urbana Il.               "I hate shopping with the reality-impaired" - Susan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads