Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
full screen emacs (latest) on osx lion/mountain lion
# Git Emacs from the main Savannah (savannah.gnu.org) repository and apply typester's fullscreen patch
rm -fr emacs
git clone git://git.savannah.gnu.org/emacs.git
cd emacs
wget http://cloud.github.com/downloads/typester/emacs/feature-fullscreen.patch
patch -p1 -i feature-fullscreen.patch
cd ..
curl -O http://ftp.gnu.org/gnu/m4/m4-1.4.13.tar.gz
tar -xzvf m4-1.4.13.tar.gz
cd m4-1.4.13
./configure --prefix=/usr/local
make
sudo make install
cd ..
curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.65.tar.gz
tar -xzvf autoconf-2.65.tar.gz
cd autoconf-2.65
./configure --prefix=/usr/local # ironic, isn't it?
make
sudo make install
cd ../emacs
# here you might want to restart your terminal session, to ensure the new autoconf is picked up and used in the rest of the script
curl -O http://ftp.gnu.org/gnu/automake/automake-1.11.tar.gz
tar xzvf automake-1.11.tar.gz
cd automake-1.11
./configure --prefix=/usr/local
make
sudo make install
cd ..
curl -O http://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.gz
tar xzvf libtool-2.2.6b.tar.gz
cd libtool-2.2.6b
./configure --prefix=/usr/local
make
sudo make install
cd ..
sh autogen.sh
./configure --with-ns
make && make install
mv /Applications/Emacs.app ~/.Trash/"Emacs.app `date +%Y-%m-%d\ %H.%M.%S`"
mv nextstep/Emacs.app /Applications/
@tmlippman

This comment has been minimized.

Copy link

@tmlippman tmlippman commented Jul 31, 2011

Worked for me on Lion, once I changed my PATH to search /usr/loca/bin before /usr/bin, which has the older versions in it. (Please don't ask how long that took to figure out...)

@iwelch

This comment has been minimized.

Copy link

@iwelch iwelch commented Feb 17, 2012

of course, on OSX, one also needs to install git and wget first (and point the path to it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.