/emacs.d

Primary LanguageEmacs Lisp

Updated: <2024-08-02>

Enviroment

  • GNU Emacs 31.0.50

- emacs-repository-version:

  • system-configuration-options: --with-xwidgets --with-x-toolkit=gtk3 --with-imagemagick --without-toolkit-scroll-bars --with-tree-sitter

TODOs

  • password-store

Build Emacs

- Install libgccjit: https://aur.archlinux.org/packages/libgccjit/

  • Install treesitter
git clone --depth 1 https://github.com/emacs-mirror/emacs.git emacs-master
cd emacs-master
# ./autogen.sh && ./configure --help # list optionsal features
# ./autogen.sh && ./configure --with-xwidgets --with-x-toolkit=gtk3 --with-native-compilation --with-imagemagick --without-toolkit-scroll-bars --with-tree-sitter
./autogen.sh && ./configure --with-xwidgets --with-x-toolkit=gtk3 --with-imagemagick --without-toolkit-scroll-bars --with-tree-sitter
make -j8
sudo make install

Installation

git clone --recursive https://github.com/zsxh/emacs.d.git ~/.emacs.d
mkdir ~/.emacs.d/cache

Q&A

Display emacs build settings?

M-x describe-variable system-configuration-options

compat.el issue

recompile all the packages

(byte-recompile-directory package-user-dir nil 'force)

Can not find autoload file

generate autoloads for elpa packages

(package-generate-autoloads "compat" "~/.emacs.d/elpa/compat-29.1.4.0")

Low Resolution Emacs Icon In KDE Task Switcher