Building Emacs from Source

Table of Contents

1. Cloning Emacs Source

Cloning from GNU Savvanah is slow as hell, so just use Github mirror.

2. Quick Start

git clone https://github.com/emacs-mirror/emacs.git
cd emacs

./autogen.sh                                    # Generate configure script
./configure                                             # Detect system configuration
make                                                    # Build emacs
src/emacs                                               # Test emacs executable file
make install                                    # Install emacs globally