Skip to content

Instantly share code, notes, and snippets.

@shkumagai
Last active December 14, 2015 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shkumagai/5162505 to your computer and use it in GitHub Desktop.
Save shkumagai/5162505 to your computer and use it in GitHub Desktop.
How to install Emacs 24.3 on Mac OS

Emacs 24.3 install on Mac OS X

date

Fri 3/15 00:39:04 2013

Download

$ mkdir src; cd src
$ curl -O http://ftp.gnu.org/pub/gnu/emacs/emacs-24.3.tar.gz

$ tar zxf emacs-24.3.tar.gz

Get and apply patch

$ curl -O https://gist.github.com/ganta/5139150/raw/8f6fc32747c40a51de597ce73085f56764a7d3ed/japanese-patch-for-emacs-24.3.patch

$ cd emacs-24.3
$ patch -p0 < ../japanese-patch-for-emacs-24.3.patch
patching file configure.ac
patching file lisp/term/common-win.el
Hunk #1 succeeded at 127 with fuzz 2.
patching file lisp/term/ns-win.el
patching file src/Makefile.in
patching file src/keyboard.c
patching file src/macim.m
patching file src/nsfns.m
patching file src/nsterm.h
patching file src/nsterm.m

Configure and build

$ ./configure --with-ns --without-x && make -j2 && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment