How to build Emacs from source
Emacsをソースからビルドする方法
まずはソースのダウンロード
まずはGnu Emacsからソースをダウンロード
ソースからビルド
コメント部分はmacOS向け
tar zxvf emacs-xx.tar.gz
cd emacs-xx
./autogen.sh
./configure \
-with-pgtk \
-with-cairo \
-with-modules \
-with-harfbuzz \
-with-compress-install \
-with-threads \
-with-included-regex \
-with-zlib \
-with-imagemagick \
-with-mailutils \
-prefix=/usr/local
make -j$(nproc)
# if it fails use
# make bootstrap -j$(nproc)
sudo make install
## This is only for macOS
## cp -a nextstep/Emacs.app /Applications/
簡単🎉