zsxh / emacs.d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updated: <2024-04-18>

Enviroment

  • GNU Emacs 30.0.50
  • emacs-repository-version: 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab
  • 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

About


Languages

Language:Emacs Lisp 98.0%Language:YASnippet 2.0%