Updated: <2024-08-02>
- 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
- password-store
- 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
git clone --recursive https://github.com/zsxh/emacs.d.git ~/.emacs.d
mkdir ~/.emacs.d/cache
M-x describe-variable
system-configuration-options
recompile all the packages
(byte-recompile-directory package-user-dir nil 'force)
generate autoloads for elpa packages
(package-generate-autoloads "compat" "~/.emacs.d/elpa/compat-29.1.4.0")
- https://forum.suse.org.cn/t/emacs/4656
emacs -nbi