Emacs Head is a GNU Emacs formula based on the original Homebrew
emacs
formula.
Since the option --with-cocoa
is not available in the latest Emacs
homebrew-core formula (see pull request), I decided to build my own
formula.
This formula currently supports:
- GNU Emacs 26.3
- GNU Emacs HEAD (currently 27.x)
Bottles (26.3) are available for the following macOS versions:
- Catalina
- Mojave
- High Sierra
if you need support for an older macOS version open an issue.
You can install this formula using:
brew tap daviderestivo/emacs-head
brew install emacs-head --with-cocoa
brew tap daviderestivo/emacs-head
brew install emacs-head --HEAD --with-cocoa
The following compiling options are available:
Option | Description |
---|---|
--with-cocoa | Build a Cocoa version of GNU Emacs |
--with-ctags | Don’t remove the ctags executable that GNU Emacs provides |
--with-dbus | Build with dbus support |
--without-gnutls | Disable gnutls support |
--with-imagemagick | Build with imagemagick support |
--with-jansson | Enable jansson support (only HEAD) |
--without-librsvg | Disable librsvg support |
--with-mailutils | Build with mailutils support |
--with-multicolor-fonts | Enable multicolor fonts support on macOS (only for Emacs 26.3) |
--without-modules | Disable dynamic modules support |
--with-no-frame-refocus | Disables frame re-focus (ie. closing one frame does not refocus another one) |
--without-libxml2 | Disable libxml2 support |
--with-pdumper | Enable pdumper support |
--with-xwidgets | Enable xwidgets support |
For the terminal version only of GNU Emacs please omit ”--with-cocoa
”.
By default:
- gnutls
- librsvg
- libxml2
- dynamic modules
are enabled. If you want to disable them please use the above ”--without-*
” options.
Option | Description | Image | URL |
---|---|---|---|
--with-modern-icon-cg433n | Use a modern style icon by cg433n | Link | |
--with-modern-icon-sjrmanning | Use a modern style icon by sjrmannings | Link | |
--with-modern-icon-sexy-v1 | Use a modern style icon by Emacs is Sexy | Link | |
--with-modern-icon-sexy-v2 | Use a modern style icon by Emacs is Sexy | Link | |
--with-modern-icon-papirus | Use a modern style icon by Papirus Development Team | Link | |
--with-modern-icon-pen | Use a modern style icon by Kentaro Ohkouchi | Link | |
--with-modern-icon-black-variant | Use a modern style icon by BlackVariant | Link | |
--with-modern-icon-nuvola | Use a modern style icon by David Vignoni | Link | |
--with-retro-icon-gnu-head | Use a retro style icon by Aurélio A. Heckert | Link | |
--with-retro-icon-sink | Use a retro style icon by Erik Mugele | Link |
If you are interested in collaborating please open a Pull Request.