Homebrew Emacs



Installing previous versions of formulae

The supported method of installing specific versions ofsome formulae is to see if there is a versioned formula (e.g. gcc@7) available. If the version you’re looking for isn’t available, consider using brew extract.

  • Installs (30 days) emacs-clang-complete-async: 27: Installs on Request (30 days) emacs-clang-complete-async: 27: Build Errors (30 days) emacs-clang-complete-async.
  • Support: homebrew-emacs-plus has a medium active ecosystem. It has 988 star(s) with 95 fork(s). It had no major release in the last 12 months.On average issues are closed in 75 days. It has a neutral sentiment in the developer community.
  • However, Emacs only uses the trash can in your home directory, and it will trash every file it deletes, including a great quantity of temp and backup files. If you want full Freedesktop trash support including per-mountpoint trashcans, as well as control over what gets sent to the trash and what doesn’t, see below, under Earlier Emacs.

🍻🐧 Core formulae for the Homebrew package manager on Linux - Homebrew/linuxbrew-core.

Homebrew

Quickly remove something from /usr/local

This can be useful if a package can’t build against the version of something you have linked into /usr/local.

And of course, you can simply brew link <formula> again afterwards!

Install into Homebrew without formulae

Pre-downloading a file for a formula

Sometimes it’s faster to download a file via means other than thosestrategies that are available as part of Homebrew. For example,Erlang provides a torrent that’ll let you download at 4–5× the normalHTTP method.

Download the file and drop it in ~/Library/Caches/Homebrew, butwatch the file name. Homebrew downloads files as <formula>-<version>.In the case of Erlang, this requires renaming the file from otp_src_R13B03 toerlang-R13B03.

brew --cache -s erlang will print the correct name of the cacheddownload. This means instead of manually renaming a formula, you canrun mv the_tarball $(brew --cache -s <formula>).

You can also pre-cache the download by using the command brew fetch <formula> which also displays the SHA-256 hash. This can be useful for updating formulae to new versions.

Installing stuff without the Xcode CLT

This imports the brew environment into your existing shell; gem will pick up the environment variables and be able to build. As a bonus brew’s automatically determined optimization flags are set.

Install only a formula’s dependencies (not the formula)

Interactive Homebrew Shell

Hiding the beer mug emoji when finishing a build

This sets the HOMEBREW_NO_EMOJI environment variable, causing Homebrewto hide all emoji.

The beer emoji can also be replaced with other character(s):

Editor plugins

Sublime Text

In Sublime Text 2/3, you can use Package Control to installHomebrew-formula-syntax,which adds highlighting for inline patches.

Vim

brew.vim adds highlighting toinline patches in Vim.

Homebrew Emacs

Emacs

homebrew-mode provides syntaxhighlighting for inline patches as well as a number of helper functionsfor editing formula files.

pcmpl-homebrew provides completionfor emacs shell-mode and eshell-mode.

Atom

language-homebrew-formulaadds highlighting and diff support (with thelanguage-diff plugin).

Installing previous versions of formulae

The supported method of installing specific versions ofsome formulae is to see if there is a versioned formula (e.g. gcc@7) available. If the version you’re looking for isn’t available, consider using brew extract.

Quickly remove something from /usr/local

This can be useful if a package can’t build against the version of something you have linked into /usr/local.

And of course, you can simply brew link <formula> again afterwards!

Install into Homebrew without formulae

Emacs For Os X

Pre-downloading a file for a formula

Sometimes it’s faster to download a file via means other than thosestrategies that are available as part of Homebrew. For example,Erlang provides a torrent that’ll let you download at 4–5× the normalHTTP method.

Download the file and drop it in ~/Library/Caches/Homebrew, butwatch the file name. Homebrew downloads files as <formula>-<version>.In the case of Erlang, this requires renaming the file from otp_src_R13B03 toerlang-R13B03.

brew --cache -s erlang will print the correct name of the cacheddownload. This means instead of manually renaming a formula, you canrun mv the_tarball $(brew --cache -s <formula>).

You can also pre-cache the download by using the command brew fetch <formula> which also displays the SHA-256 hash. This can be useful for updating formulae to new versions.

Installing stuff without the Xcode CLT

This imports the brew environment into your existing shell; gem will pick up the environment variables and be able to build. As a bonus brew’s automatically determined optimization flags are set.

Install only a formula’s dependencies (not the formula)

Interactive Homebrew Shell

Hiding the beer mug emoji when finishing a build

This sets the HOMEBREW_NO_EMOJI environment variable, causing Homebrewto hide all emoji.

The beer emoji can also be replaced with other character(s):

Editor plugins

Homebrew Emacs

Sublime Text

In Sublime Text 2/3, you can use Package Control to installHomebrew-formula-syntax,which adds highlighting for inline patches.

Vim

brew.vim adds highlighting toinline patches in Vim.

Emacs

homebrew-mode provides syntaxhighlighting for inline patches as well as a number of helper functionsfor editing formula files.

pcmpl-homebrew provides completionfor emacs shell-mode and eshell-mode.

Homebrew Emacs-plus

Atom

Homebrew Emacs

language-homebrew-formulaadds highlighting and diff support (with thelanguage-diff plugin).