******** /**///// /** ********** ****** ***** ****** /******* //**//**//** //////** **///** **//// /**//// /** /** /** ******* /** // //***** /** /** /** /** **////** /** ** /////** /******** *** /** /**//********//***** ****** //////// /// // // //////// ///// //////
- Use melpa only.
- Use emacs version 30.1.
- Use Maple Mono NF CN: repo, download.
- Use Plantuml for uml drawing: download.
- Use emacs build-in tree-sitter.
- gcc toolchain (gcc, g++, cmake, makefile, autotools, …): compile environment
- libgccjit: for emacs’s native compilation feature
- libsqlite3: for org-roam database
- libtree-sitter (tested with version 0.25.8, repo): for tree-sitter,
- texlive: for latex
# download
wget -c https://github.com/emacs-mirror/emacs/archive/refs/tags/emacs-30.1.tar.gz
# or the following dev branch with tty-child-frame feature
wget -c https://github.com/emacs-mirror/emacs/archive/refs/heads/scratch/tty-child-frames.zip
# unzip and enter emacs folder
autoconf
# (alt) configure terminal emacs
./configure --with-native-compilation --with-tree-sitter --with-gnutls --without-x-toolkit --without-xpm --without-gif --without-tiff --with-sqlite3
# (alt) configure gui emacs
./configure --with-native-compilation --with-tree-sitter --with-sqlite3 --with-pgtk
# compile
sudo make install
Have tree-sitter problem? see: link. Or download tree-sitter pre-built binaries here.
(defvar +emacs/repo-directory "~/Desktop/emacs.d")
(load (concat +emacs/repo-directory "/init.el"))
- clangd, clang-format, clang-tidy
# ubuntu
sudo apt install clangd, clang-format, clang-tidy
# macos
brew install clangd, clang-format, clang-tidy
- cpplint
pip3 install cpplint
- cmake-format
pip3 install cmake-format
git clone https://github.com/universal-ctags/ctags.git
cd ctags
./autogen.sh
./configure --prefix=$HOME/.local
make
make install
alias et='tmux attach -t emacs-session || tmux new -s emacs-session "emacs -nw"'