-
Notifications
You must be signed in to change notification settings - Fork 0
/
.emacs-profiles.el
82 lines (75 loc) · 2.63 KB
/
.emacs-profiles.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
;; mkdir -p ~/.emacs.d.distros
;; mv ~/.emacs.d ~/.emacs.d.distros/spacemacs
;; git clone https://github.com/plexus/chemacs2.git ~/.emacs.d
;; ln -s $dotf/.emacs-profiles.el ~/.emacs-profiles.el
;; ln -s $dotf/.emacs.d.distros/spacemacs-config ~/.emacs.d.distros/spacemacs-config
;; Can't use constructs like (concat dir "spacemacs"), since the
;; .emacs-profiles.el is not evaluated
(
("default" .
;; ((user-emacs-directory . "~/.emacs.d.distros/default")
;; (server-name . "gnu")
;; )
((user-emacs-directory . "~/.emacs.d.distros/spacemacs")
(server-name . "spacemacs")
;; mv /path/to/.spguimacs $SPACEMACSDIR/init.el
(env . (("SPACEMACSDIR" .
"~/.emacs.d.distros/spacemacs-config")))
))
("prelude" .
((user-emacs-directory . "~/.emacs.d.distros/prelude")
(server-name . "prelude")
))
("spguimacs" .
((user-emacs-directory . "~/.emacs.d.distros/spguimacs")
(server-name . "spguimacs")
;; mv /path/to/.spguimacs $SPGUIMACSDIR/init.el
(env . (
;; ("EMACSLOADPATH" .
;; '())
("SPGUIMACSDIR" .
"~/.emacs.d.distros/spguimacs-config"
;; "~/.emacs.d.distros/spguimacs-default-config"
;;; Following leads to:
;;; Error loading .spacemacs: (error "Recursive load" ... )
;; "~/.emacs.d.distros/spguimacs"
)))
))
("spacemacs" .
((user-emacs-directory . "~/.emacs.d.distros/spacemacs")
(server-name . "spacemacs")
;; mv /path/to/.spguimacs $SPACEMACSDIR/init.el
(env . (
;; ("EMACSLOADPATH" .
;; ;; parse-colon-path
;; '(
;; "~/.guix-profile/share/emacs/site-lisp"
;; "/gnu/store/2aai9453k47w0ar821bhqhpv2k69v064-emacs-29.4/share/emacs/29.4/lisp"
;; ))
("SPACEMACSDIR" .
"~/.emacs.d.distros/spacemacs-config")))
))
("practicalli" .
((user-emacs-directory . "~/.emacs.d.distros/spacemacs-practicalli")
(server-name . "practicalli")
;; location of .spacemacs and init.el
;; (env . (("SPACEMACSDIR" . "~/.spacemacs.d")))
))
;; cd <user-emacs-directory>
;; ./bin/doom install --doomdir=<DOOMDIR>
;; # i.e.
;; mkdir ~/.config/doom
;; cd ~/.emacs.d.distros/doom-emacs
;; ./bin/doom install --doomdir ~/.config/doom
("doom" .
((user-emacs-directory . "~/.emacs.d.distros/doom-emacs")
(server-name . "doom")
(env . (("DOOMDIR" .
;; "~/.config/doom-emacs" ; doesn't work
"~/.config/doom")))))
("crafted" .
((user-emacs-directory . "~/.emacs.d.distros/crafted-emacs")
(server-name . "crafted")
(env . (("CRAFTED_EMACS_HOME" .
"~/.emacs.d.distros/crafted-emacs/personal")))))
)