Emacs Modified for macOS is a distribution based on GNU Emacs 29.4 (released June 22, 2024). The additions to stock Emacs are the following:
- ESS 24.01.1 (development version);
- AUCTeX 13.3;
- polymode 0.2.2 and the polymodes poly-R, poly-noweb, poly-markdown;
- markdown-mode.el 2.6;
- Tabbar 2.2;
- exec-path-from-shell.el 2.2 to import the user’s environment at Emacs startup;
- dictionaries for the Hunspell spell checker (optional; see below for details);
- psvn.el r1573006, an interface for the version control system Subversion modified to include Andre Colomb’s and Koji Nakamaru’s combined patches to support Subversion 1.7;
default.el
andsite-start.el
, configuration files to make everything work.
The current version is 29.4-modified-1. Release notes
Download macOS InstallerSystem requirements
Mac OS X 10.4 or later.
Installation
Open the disk image and copy Emacs in the Applications
folder or any other folder.
Spell checking and dictionaries
Spell checking inside Emacs on macOS requires an external checker. I recommend to install Hunspell using Homebrew.
The Hunspell installation does not include any dictionaries. Therefore, this distributions of Emacs ships with the following Libre Office dictionaries suitable for use with Hunspell: English (version 2024.07.01); French (version 5.7); German (version 2017.01.12); Spanish (version 2.8).
To make use of the dictionaries, copy the files in the Dictionaries
directory of the disk image to ~/Library/Spelling
. If needed, create a symbolic link named after your LANG
environment variable to the corresponding dictionary and affix files. For example, if LANG
is set to fr_CA.URF-8
, do from the command line
$ cd ~/Library/Spelling
$ ln -s fr-classique.dic fr_CA.dic
$ ln -s fr-classique.aff fr_CA.aff
Finally, if you have a Mac with an Apple Silicon CPU (M1 and above), add the following lines to your ~/.emacs file:
(setq-default ispell-program-name "/opt/homebrew/bin/hunspell")
(setq ispell-really-hunspell t)
For an Intel CPU, use instead:
(setq-default ispell-program-name "/usr/local/bin/hunspell")
(setq ispell-really-hunspell t)
Spell checking should now work with M-x ispell
.
Additional packages
If you want to install additional Emacs packages through the MELPA repository, add the following lines to your .emacs
configuration file:
(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)