use `crafted-emacs` as submodule

This commit is contained in:
Frieder Schlesier 2024-02-23 18:55:38 +01:00
parent df1a4aec2c
commit af0dd9da82
8 changed files with 17 additions and 9 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "crafted-emacs"]
path = crafted-emacs
url = https://github.com/SystemCrafters/crafted-emacs.git

View File

@ -4,12 +4,10 @@ A new start in 2023, initial bootstrap with ~crafted-emacs~.
** Early setup ** Early setup
1. clone crafted emacs to =~/src/crafted-emacs= 1. =git submodule update --init --recursive=
2. create the directory links 2. create the directory links
#+begin_src bash #+begin_src bash
mkdir ~/.config/crafted-emacs-configdir mkdir ~/.config/crafted-emacs-configdir
ln -s ~/.config/crafted-emacs-configdir/ ~/.config/emacs ln -s ~/.config/crafted-emacs-configdir/ ~/.config/emacs
cp ~/src/crafted-emacs/examples/early-init-example.el ~/.config/emacs/early-init.el
cp ~/src/crafted-emacs/examples/init-example.el ~/.config/emacs/init.el
#+end_src #+end_src
3. adjust ~user-emacs-directory~ and ~crafted-emacs-home~ accordingly 3. adjust ~user-emacs-directory~ and ~crafted-emacs-home~ accordingly

View File

@ -11,8 +11,13 @@ currently every =fschl-module.org= file contains it's own
solution, e.g. set it up to auto-tangle all .org files within/below solution, e.g. set it up to auto-tangle all .org files within/below
=user-emacs-directory= =user-emacs-directory=
*** TODO use guix-packages *** HOLD use guix-packages
- State "HOLD" from "TODO" [2024-02-21 Wed 17:19] \\
would make it impossible to use the config on windows.
windows compatiblity is the only reason to keep this separate from my =guix home= config
*** TODO refactor to use crafted-emacs as git-submodule
*** TODO attempt windows-compatibility for work
** Missing Features ** Missing Features
*** TODO IDE *** TODO IDE
@ -72,5 +77,5 @@ e.g. HN, golem, fefe, tagesschau
** LaTeX setup ** LaTeX setup
*** DONE make letters export work *** DONE make letters export work
*** TODO make letters export work in guix-home config
*** TODO make export for other texbased documents work *** TODO make export for other texbased documents work

1
crafted-emacs Submodule

@ -0,0 +1 @@
Subproject commit bc094c618afcc70940d852812223aa7c42e59692

View File

@ -53,7 +53,8 @@
'(evil-want-C-i-jump nil) '(evil-want-C-i-jump nil)
'(evil-want-integration t) '(evil-want-integration t)
'(evil-want-keybinding nil) '(evil-want-keybinding nil)
'(fancy-splash-image "/home/fschl/src/crafted-emacs/system-crafters-logo.png") '(fancy-splash-image
"/home/fschl/.config/crafted-emacs-configdir/crafted-emacs/system-crafters-logo.png")
'(fast-but-imprecise-scrolling t) '(fast-but-imprecise-scrolling t)
'(global-auto-revert-non-file-buffers t) '(global-auto-revert-non-file-buffers t)
'(ibuffer-movement-cycle nil) '(ibuffer-movement-cycle nil)

View File

@ -1 +1 @@
(load "~/src/crafted-emacs/modules/crafted-early-init-config") (load "~/.config/crafted-emacs-configdir/crafted-emacs/modules/crafted-early-init-config")

View File

@ -3,7 +3,7 @@
;; configuration, DO NOT edit this .el-file, edit .org, instead. ;; configuration, DO NOT edit this .el-file, edit .org, instead.
(setq user-emacs-directory "~/.config/crafted-emacs-configdir/") (setq user-emacs-directory "~/.config/crafted-emacs-configdir/")
(setq crafted-emacs-home "~/src/crafted-emacs/") (setq crafted-emacs-home (expand-file-name "crafted-emacs/" user-emacs-directory))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (and custom-file (when (and custom-file
(file-exists-p custom-file)) (file-exists-p custom-file))

View File

@ -10,7 +10,7 @@
;; configuration, DO NOT edit this .el-file, edit .org, instead. ;; configuration, DO NOT edit this .el-file, edit .org, instead.
(setq user-emacs-directory "~/.config/crafted-emacs-configdir/") (setq user-emacs-directory "~/.config/crafted-emacs-configdir/")
(setq crafted-emacs-home "~/src/crafted-emacs/") (setq crafted-emacs-home (expand-file-name "crafted-emacs/" user-emacs-directory))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory)) (setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(when (and custom-file (when (and custom-file
(file-exists-p custom-file)) (file-exists-p custom-file))