Timeline for How to use the same elpa directory to download packages for different Emacs starter kits
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 10, 2019 at 14:28 | comment | added | lawlist |
I like all of my stuff to be in one main folder so that I can easily backup and synchronize with other computers and handheld devices. My main directory with all the stuff is /Users/HOME/.0.data and my Emacs installation and related Emacs-stuff is /Users/HOME/.0.data/.0.emacs . I set the user-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 the user-emacs-directory as y:/.0.data/.0.emacs/ , which is a mapped to the host computer where I have all my Emacs-stuff.
|
|
Jul 10, 2019 at 1:33 | comment | added | lawlist |
Here is a link to an example of what I had in mind in terms of Emacs asking the user which settings to load and adjusting the package-user-dir accordingly: github.com/lawlist/countdown-timer Changing the user-emacs-directory is something I do programmatically when using different computers and different operating systems ... because the paths will be different.
|
|
Jul 9, 2019 at 23:19 | comment | added | ofenerci | @lawlist, I found a similar question on here. It looks ´package-user-dir´ right way to proceed. Could you elaborate a little bit about ´user-emacs-directory´. And how can I arrange my ´init´ file that Emacs ask me whict starter kit/ setup I want to use and then assign the corresponding ´package-user-dir´. | |
Jul 9, 2019 at 22:59 | comment | added | lawlist |
How about using a different 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 corresponding package-user-dir . You can take it one step further and even have different user-emacs-directory ... assigning the value on startup.
|
|
Jul 9, 2019 at 21:34 | history | asked | ofenerci | CC BY-SA 4.0 |