Skip to content


Repository files navigation

Emacs D Mode

Licence Build Status Coverage Status MELPA MELPA Stable

An Emacs major mode for editing D code.

This mode is currently known to work with Emacs 25 and 26. For best results, use Emacs 26.

The best way of installing this major mode, at least for Emacs 26, is to use the packaging system. Add MELPA or MELPA Stable to the list of repositories to access this mode. For those who want only formal, tagged releases use MELPA Stable:

(require 'package)
(add-to-list 'package-archives
         '("melpa-stable" . "") t)

For those who want rolling releases as they happen use MELPA:

(require 'package)
(add-to-list 'package-archives
         '("melpa" . "") t)

and then use M-x package-list-packages to get to the package listing and install from there. MELPA tracks this Git repository and updates relatively soon after each commit or formal release. For more detail on setting up see MELPA Getting Started.

The master of all the material is the Git repository at .

This software is licenced under GNU General Public Licence version 2.