BSD Ports

editors/emacs 31.1-gtk3 OpenBSD

GNU editor: extensible, customizable, self-documenting

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Jeremie Courreges-Anglas <[email protected]>
Last update
Commit
de63081bbe
Categories
editors

Description

GNU Emacs is an extensible, customizable text editor - and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. The features of GNU Emacs include:

  • Content-sensitive editing modes, including syntax coloring, for a variety of file types including plain text, source code, and HTML.
  • Complete built-in documentation, including a tutorial for new users.
  • Full Unicode support for nearly all human languages and their scripts.
  • Highly customizable, using Emacs Lisp code or a graphical interface.
  • A large number of extensions that add other functionality, including a project planner, mail and news reader, debugger interface, calendar, and more. Many of these extensions are distributed with GNU Emacs; others are available separately.

This package now includes the Elisp source files previously available in the emacs-el package.

Flavors: no_x11 - build without X11 support athena - build with athena toolkit instead of gtk3 gtk2 - build with gtk2 instead of gtk3 gtk3 - build with gtk3 (default) pgtk - build with gtk only, useful for wayland

In the other systems

SystemPortVersion
OpenBSDeditors/emacs31.1-gtk3
FreeBSDeditors/emacs31.1_3,3
NetBSDeditors/emacs30.2
DragonFlyeditors/emacs30.1_2,3
MidnightBSDeditors/emacs31.1_5,3
HardenedBSDeditors/emacs31.1_2,3
GhostBSDeditors/emacs31.1_2,3
OPNsenseeditors/emacs30.2_3,3

Install

Binary package:

pkg_add emacs

From the ports tree:

cd /usr/ports/editors/emacs && make install

Dependencies

Build dependencies 3
Run dependencies 20

Commit history 2

DateCommitCreditsLog message
de63081bbe jca Update to emacs-31.1
https://www.gnu.org/software/emacs/news/NEWS.31.1 The most prominent change is probably the warnings spewed about lexical-binding. To safely get rid of them you may add a cookie to your .el files that explicitely disables lexical binding (dynamic binding has been the default for years). You may also enable lexical binding which allegedly has advantages (more efficient, less error prone) after auditing your elisp code. Tested by kirill@ namn@ izzy Meyer gkoehler@ matthieu@ ok kirill@ matthieu@
14aba76199 matthieu Add patch for tramp vulnerability https://www.openwall.com/lists/oss-security/2026/08/21/1 ok jca@