Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Elm
  3. emacs-elm-mode

emacs-elm-mode

GPL-3.0Emacs Lisp

A major mode for Emacs providing comprehensive support for the Elm programming language.

GitHubGitHub
381 stars68 forks0 contributors

What is emacs-elm-mode?

elm-mode is an Emacs major mode that provides comprehensive support for the Elm programming language. It offers syntax highlighting, intelligent indentation, and deep integration with Elm's core tools like elm-make, elm-repl, and elm-package, along with external tools like elm-format and elm-test. The mode streamlines Elm development within the Emacs editor by automating common tasks and providing a cohesive workflow.

Target Audience

Elm developers who use Emacs as their primary editor and want a tailored development environment with full Elm toolchain integration.

Value Proposition

Developers choose elm-mode for its deep integration with the Elm ecosystem, intelligent editing features like indentation cycling, and the ability to manage the entire Elm development workflow—from coding and formatting to testing and package management—directly within Emacs.

Overview

Elm mode for emacs

Use Cases

Best For

  • Writing and editing Elm code with syntax highlighting and smart indentation
  • Running Elm tests and formatting code automatically within Emacs
  • Managing Elm package dependencies through an interactive catalog
  • Using Elm's REPL and reactor for interactive development
  • Generating and navigating TAGS for code exploration in Elm projects
  • Integrating Elm development with other Emacs packages and workflows

Not Ideal For

  • Elm developers who primarily use modern IDEs like Visual Studio Code with graphical plugins
  • Teams requiring out-of-the-box code intelligence (e.g., completion, refactoring) without configuring separate LSP packages
  • Environments where external Elm tools (elm-format, elm-test) are not installed or managed centrally
  • Projects where minimal editor setup is prioritized over deep Emacs integration

Pros & Cons

Pros

Deep Elm Tool Integration

Seamlessly integrates core Elm tools like elm-make, elm-repl, and elm-package, allowing compilation, REPL interaction, and package management directly from Emacs with dedicated keybindings.

Intelligent Editing Features

Offers smart indentation with cycling options and a simpler mode, providing flexible code formatting that adapts to user preferences, as detailed in the indentation section.

External Tool Support

Integrates with elm-format for automatic code formatting and elm-test for running test suites, streamlining development workflows through configurable on-save modes and keybindings.

Comprehensive Package Management

Includes an interactive package catalog for browsing and installing Elm packages, with features like marking and installing dependencies without leaving Emacs.

Cons

External Tool Dependencies

Critical features like formatting and testing rely on manually installed external tools (elm-format, elm-test), which adds setup overhead and potential version management issues.

Additional LSP Configuration

Code completion and advanced navigation require setting up elm-language-server and an LSP package like eglot or lsp-mode separately, increasing complexity for users seeking plug-and-play features.

Emacs-Exclusive Limitation

Tied exclusively to Emacs, making it irrelevant for developers using other editors and creating a learning curve for those unfamiliar with Emacs keybindings and configuration.

Frequently Asked Questions

Quick Stats

Stars381
Forks68
Contributors0
Open Issues13
Last commit1 year ago
CreatedSince 2013

Tags

#emacs#repl-integration#editor-mode#syntax-highlighting#indentation#package-management#code-formatting#elm#programming-language-support

Built With

E
Emacs Lisp

Included in

Elm3.7k
Auto-fetched 12 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub