c162-dm@danube.Berkeley.EDU (byron c go) (01/31/91)
Help! I'm running Emacs version 18.54.1 and am wondering if there is any way to put load files in a directory other than the default. My problem is that I do not have superuser privileges and would like to run gnus. I have the files in my home directory and have byte-compiled nntp.el successfully but when i try to do the same to gnus.el, I get an error message saying "Cannot open load file: nntp". What should I do? Any help would be most appreciated. -- byron c go c162-dm@danube.berkeley.edu bgo@ucsee.berkeley.edu ab econ/cs '92 ...!ucbvax!danube!c162-dm ...!ucbvax!ucsee!bgo
ewoods@hemel.bull.co.uk (Eoin Woods) (01/31/91)
c162-dm@danube.Berkeley.EDU (byron c go) writes: >I'm running Emacs version 18.54.1 and am wondering if there is any way to >put load files in a directory other than the default. My problem is that I >do not have superuser privileges and would like to run gnus. I have the >files in my home directory and have byte-compiled nntp.el successfully but >when i try to do the same to gnus.el, I get an error message saying >"Cannot open load file: nntp". What should I do? If you set the environment variable EMACSLOADPATH in your environment, then Emacs will use it to initialise the internal variable "load-path". Eoin. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Eoin Woods, Software Development Group, Bull HN Information Systems, ~ ~ Maxted Road, Hemel Hempstead, Herts HP2 7DZ, UK. ~ ~ Tel : +44 442 232222 x4823 Fax : +44 442 234084 ~ ~ < Eoin.Woods@hemel.bull.co.uk or ...!uunet!ukc!brno!ewoods> ~ ~ < When do we start news group comp.os.emacs ? :-) > ~
rock@rancho.uucp (Rock Kent) (02/01/91)
On 31 Jan 91 02:10:31 GMT, c162-dm@danube.Berkeley.EDU (byron c go) said: byron> Help! byron> I'm running Emacs version 18.54.1 and am wondering if there is byron> any way to put load files in a directory other than the byron> default. I have the following snippit in my .emacs: (setq load-path (list (concat (getenv "HOME") "/Emacs") "/usr/local/lib/emacs/lisplocal" "/usr/local/lib/emacs/dist-18.55/lisp" )) *************************************************************************** *Rock Kent rock@rancho.uucp POB 8964, Rancho Santa Fe, CA. 92067* ***************************************************************************
swansonc@acc.stolaf.edu (Chris Swanson, St. Olaf College) (02/07/91)
Just set the following line in your start-up sequence. (setq load-path (cons (expand-file-name "directory-name-here") load-path)) -Chris -- Chris Swanson, Chem/CS/Pre-med Undergrad, St. Olaf College, Northfield,MN 55057 DDN: CDS6 INTERNET: swansonc@acc.stolaf.edu UUCP: swansonc@stolaf AT&T: Work: (507)-645-6845 Home: (507)-663-6424 I would deny this reality, but that wouldn't pay the bills...