With this knowledge you can now build a specific version of Emacs with options you want to try. The only problem I ran into was Emacs not being able to find libgccjit this was solved by making sure exec-path-from-shell was the first package that loaded by use package in my init.el. Move the executable to Applications folder. Kaleidoscope supports image diff viewer in addition to git diff. Kaleidoscope will highlight what has changed. Worth pointing out building emacs from source does take some time -j$(nproc) ensures you are at least using all your system's cores. When working in code, line-by-line diff can still be hard to spot small changes within the line. Put it in /Applications - if you put it somewhere else, youll need to correct all the other scripts Im mentioning in this post. configure -with-cairo -with-imagemagick -with-xwidgets -with-native-compilation The Emacs that comes with OS X is old and crusty, and the one at that site is new and Cocoa-ready and Retina-enabled and so on. git clone -branch emacs-28 -single-branch We clone a single branch for a slightly smaller download size.
#EMACS FOR MAC OSX INSTALL#
brew install libxml2 gcc libgccjitĬlone Emacs 28 from savannah. Why not use Homebrew? Homebrew is great and I still use it for installing dependencies like libgccjit but recently Homebrew has started removing options on their code formulae which makes it a lot less convenient for messing around with emacs.
Native compilation leverages libgccjit to compile Emacs lisp code to native code making Emacs very snappy.
Native compilation in particular was something I wanted to explore. I've always wanted to build Emacs from source as it lets you try new features.