how to install Emacs Prelude system-wide on windows/MinGW? -
i trying install emacs prelude emacs. thing found after googling this page, tells me clone prelude
c:\users\your_user_name\appdata\roaming\.emacs.d
but need have prelude in emacs system folder because need make emacs folder zip file , usable on other machines.
what tried far (unsuccessfully) are:
1. download emacs 24.5.1 gnu ftp site, , decompress c:\emacs 2. git clone git://github.com/bbatsov/prelude.git 3. mv prelude/ /c/emacs/site-lisp
i thought step 3 should populate emacs system-wide startup folder site-lisp
, , allow prelude load on emacs startup. didn't happen. loaded haskell .hs
file emacs, , haskell mode isn't automatically activated prelude documentation suggests.
can 1 please explain how correctly install prelude emacs system-wide?
thanks
you've "populated" emacs site-lisp
folder in sense you've moved prelude
directory in full site-lisp
. while -- in conjunction require
-ing accordingly in configurations -- sufficient "installing" emacs packages, prelude not emacs "package" in strictest sense of word. rather, prelude can thought of pre-defined set of configuration files, , this why prelude cloned either directly .emacs.d
or symlinked there; not package require
, , therefore not belong in site-lisp
.
the news makes goal of making emacs + prelude usable on other machines relatively simple solve with, say, bash script that:
- installs
emacs
in corresponding manner current os/distro/etc.; git clone git://github.com/bbatsov/prelude.git path/to/local/repo
ln -s path/to/local/repo ~/.emacs.d
cd ~/.emacs.d
note above "manual" installation instructions provided @ the prelude website.
to make emacs "portable" across different machines, general consensus seems it's better idea write configurations in way allows them flexible , portable across machines, rather bundle distribution of emacs executable itself.
Comments
Post a Comment