/homebrew-emacsmacport

Emacs mac port formulae for the Homebrew package manager

Primary LanguageRuby

Emacs Mac Port

What is this?

Official repository: https://bitbucket.org/mituharu/emacs-mac/overview

This is "Mac port" addition to GNU Emacs 25. This provides a native GUI support for Mac OS X 10.6 - 10.13. Note that Emacs 23 and later already contain the official GUI support via the NS (Cocoa) port for Mac OS X 10.4 and later. So if it is good enough for you, then you don't need to try this.

IMPORTANT NOTE

If you find a bug, then please try to reproduce it with some official builds such as X11 or NS (Cocoa). If it turns out to be specific to the Mac port, then please report it to mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp. Otherwise (i.e., it is also reproducible with official ones), report it using M-x report-emacs-bug USING THE OFFICIAL BUILD as such.

Features

This build has many features, a great number of which are particularly helpful for Mac users. You can see the full list here.

Installation options

Homebrew

If you'd like to install with Homebrew, please

$ brew tap railwaycat/emacsmacport

and then

$ brew install emacs-mac

if you using cask

brew cask install emacs-mac

To disable this tap, please:

$ brew untap railwaycat/emacsmacport

Pre-built Download

https://github.com/railwaycat/homebrew-emacsmacport/releases

Pre-built tested on 10.9.5 and 10.13

Useful links

Included Patches Information

  • No title bar --with-no-title-bars
    Enabled by default when build with this patch. This feature can been controled by mac-use-title-bar, a boolean with default value false. Value settings will been used in new frame after Emacs started. (<- yes this is a bug).

  • Natural title bar --with-natural-title-bar
    Disabled by default when build with this patch, more information see this wiki page

    Please use scroll-bar-background instead:

    Support the frame parameter scroll-bar-background. (Since emacs-25.3-mac-6.7) If it is nil, which is the default, then the frame background color is used instead. Its color also affects the appearance of other GUI parts: the title bar, the tool bar, (the tab bar on macOS 10.12 and later), scroll bars, and popup menus become light (or dark) if the color is considered light (or dark, respectively). On macOS 10.12 and later, the title/tool/tab bars look slightly colored with the value of the `scroll-bar-background' frame parameter (or the frame background color) if the frame is focused and not in fullscreen.