/homebrew-emacs-head

GNU Emacs formula for the Homebrew package manager

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

Emacs Head

https://img.shields.io/badge/License-GPL%20v3-blue.svg https://travis-ci.com/daviderestivo/homebrew-emacs-head.svg?branch=master

Emacs Head is a GNU Emacs formula based on the original Homebrew emacs formula.

Why yet another 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.

Screenshots

GNU Emacs running in terminal mode (27.x)

/images/emacs-head-terminal.png

GNU Emacs running in GUI mode (27.x)

/images/emacs-head-cocoa.png

Installation

You can install this formula using:

GNU Emacs 26.3

brew tap daviderestivo/emacs-head
brew install emacs-head --with-cocoa

GNU Emacs HEAD

brew tap daviderestivo/emacs-head
brew install emacs-head --HEAD --with-cocoa

Compilation options

The following compiling options are available:

OptionDescription
--with-cocoaBuild a Cocoa version of GNU Emacs
--with-ctagsDon’t remove the ctags executable that GNU Emacs provides
--with-dbusBuild with dbus support
--without-gnutlsDisable gnutls support
--with-imagemagickBuild with imagemagick support
--with-janssonEnable jansson support (only HEAD)
--without-librsvgDisable librsvg support
--with-mailutilsBuild with mailutils support
--with-multicolor-fontsEnable multicolor fonts support on macOS (only for Emacs 26.3)
--without-modulesDisable dynamic modules support
--with-no-frame-refocusDisables frame re-focus (ie. closing one frame does not refocus another one)
--without-libxml2Disable libxml2 support
--with-pdumperEnable pdumper support
--with-xwidgetsEnable 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.

Use a different icon

OptionDescriptionImageURL
--with-modern-icon-cg433nUse a modern style icon by cg433n/icons/modern-icon-cg433n.pngLink
--with-modern-icon-sjrmanningUse a modern style icon by sjrmannings/icons/modern-icon-sjrmanning.pngLink
--with-modern-icon-sexy-v1Use a modern style icon by Emacs is Sexy/icons/modern-icon-sexy-v1.pngLink
--with-modern-icon-sexy-v2Use a modern style icon by Emacs is Sexy/icons/modern-icon-sexy-v2.pngLink
--with-modern-icon-papirusUse a modern style icon by Papirus Development Team/icons/modern-icon-papirus.pngLink
--with-modern-icon-penUse a modern style icon by Kentaro Ohkouchi/icons/modern-icon-pen.pngLink
--with-modern-icon-black-variantUse a modern style icon by BlackVariant/icons/modern-icon-black-variant.pngLink
--with-modern-icon-nuvolaUse a modern style icon by David Vignoni/icons/modern-icon-nuvola.pngLink
--with-retro-icon-gnu-headUse a retro style icon by Aurélio A. Heckert/icons/retro-icon-gnu-head.pngLink
--with-retro-icon-sinkUse a retro style icon by Erik Mugele/icons/retro-icon-sink.pngLink

Collaborating

If you are interested in collaborating please open a Pull Request.