This configuration requires Emacs 30.1+ to run. Usually, I build
Emacs from source with the following configuration
./configure \
--disable-gc-mark-trace \
--with-dbus \
--with-native-compilation \
--with-pgtk \
--with-tree-sitter \
--with-x-toolkit=no \
--without-compress-install \
--without-xaw3d \
CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer"After installing Emacs run the command
$ emacs --batch -l org ./emacs/init.org -f org-babel-tanglewhich generates an init.el file inside Emacs default configuration
directory. Now open up Emacs and it will automatically download,
install and compile all declared packages the first time. That’s it!
