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?
Asked
Active
Viewed 225 times
0
package-user-dirfor 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. – lawlist Jul 09 '19 at 22:59package-user-diraccordingly: https://github.com/lawlist/countdown-timer Changing theuser-emacs-directoryis something I do programmatically when using different computers and different operating systems ... because the paths will be different. – lawlist Jul 10 '19 at 01:33/Users/HOME/.0.dataand my Emacs installation and related Emacs-stuff is/Users/HOME/.0.data/.0.emacs. I set theuser-emacs-directoryto/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-directoryasy:/.0.data/.0.emacs/, which is a mapped to the host computer where I have all my Emacs-stuff. – lawlist Jul 10 '19 at 14:28