I am using different Emacs starter kits. The problem is that each starter kit, I use different directories (for example, for prelude I use´.emacsPrelude.d´, for SciMax I use ´.emacsSciMax.d´) . But all starter kits shares a common directory inside the directories, which is called Elpa. I can't use the same directory because each has different directory structure. Is there any Emacs command to define where Elpa packages will be installed? Or can I change the Elpa directory in my ´init.el´ file?
package-user-dir
for different setups. When Emacs starts, it can ask you which starter kit / setup you want to use and then assign the correspondingpackage-user-dir
. You can take it one step further and even have differentuser-emacs-directory
... assigning the value on startup.package-user-dir
accordingly: github.com/lawlist/countdown-timer Changing theuser-emacs-directory
is something I do programmatically when using different computers and different operating systems ... because the paths will be different./Users/HOME/.0.data
and my Emacs installation and related Emacs-stuff is/Users/HOME/.0.data/.0.emacs
. I set theuser-emacs-directory
to/Users/HOME/.0.data/.0.emacs/
-- ensuring that it has a forward trailing slash . My w32 virtual machine (Parallels) has an Emacs installation and I set theuser-emacs-directory
asy:/.0.data/.0.emacs/
, which is a mapped to the host computer where I have all my Emacs-stuff.