Skip to content

sillygod/jemacs

Repository files navigation

assets/bear.jpeg

What is this

This is a literal programming for my own emacs configs and is an experimental emacs setup for my workflow. Furthermore, if I can, I will trying to make it flexible to be easily shaped for others people.

Installation

prerequisite

the following steps are specific for mac osx

some util tools

curl -Ls https://raw.githubusercontent.com/daipeihust/im-select/master/install_mac.sh | sh # install im-select
brew install ispell pngpaste ripgrep

install emacs-plus

brew install emacs-plus@30 --with-xwidgets --with-modern-papirus-icon --with-native-comp

clone the repo

git clone https://github.com/sillygod/jemacs.git ~/.emacs.d

To produce the setup files of core and modules by the following the command

bash lp.sh

Once you setup config completely, you can also produce those files by elisp function export-lp-configs

Finally, copy example-settings.el to settings.el and modify it

spawn the emacs

emacs # -debug-init is your friend helps you catch some errors

Run in docker

setup the XQuartz

https://gist.github.com/cschiewek/246a244ba23da8b9f0e7b11a68bf3285

then start xhost

xhost +localhost

pull docker image or you build it by your own.

docker pull ghcr.io/sillygod/jemacs/emacs:latest
docker run -it --rm --env="DISPLAY=docker.for.mac.host.internal:0" -v /tmp/.X11-unix:/tmp/.X11-unix -v [/your/workspace/]:[/mnt/workspace]ghcr.io/sillygod/jemacs/emacs

Misc

delete emacs packages’ cache

find . -type f -name "*.elc" -exec rm {} \;

Reference

dotfiles

misc