app-editors/emacs (gentoo)

Search

Masked: This package is masked.

Reason: Snapshot versions, masked for testing.

Masked by Ulrich Müller on 2026-08-31

Notice: This package is in a virtual group: virtual/editor
Equivalents: app-editors/dav, app-editors/e3, app-editors/ee, app-editors/emact, app-editors/ersatz-emacs, app-editors/fe, app-editors/gvim, app-editors/gvim-classic, app-editors/helix, app-editors/jasspa-microemacs, app-editors/jed, app-editors/joe, app-editors/jove, app-editors/kakoune, app-editors/levee, app-editors/lpe, app-editors/mg, app-editors/micro, app-editors/moe, app-editors/nano, app-editors/ne, app-editors/neovim, app-editors/ng, app-editors/qemacs, app-editors/teco, app-editors/uemacs-pk, app-editors/vile, app-editors/vim, app-editors/vim-classic, app-editors/vis, app-editors/xemacs, app-editors/zile, app-misc/mc, dev-lisp/cmucl, mail-client/alpine

Install

Install this package:

emerge -a app-editors/emacs

Package Information

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.
Homepage:
https://www.gnu.org/software/emacs/
License:
GPL-3+ FDL-1.3+ Boost-1.0 BSD CC-BY-SA-3.0 CC-BY-SA-4.0 HPND MIT MPL-2.0 PCRE PSF-2 unicode W3C

Versions

Version EAPI Keywords Slot
32.0.9999 9 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos 32
32.0.50_pre20260831 9 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos 32
31.1.9999 9 ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos 31
31.1 9 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos 31
30.2 9 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos 30
30.2 9 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos 30
29.4 9 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos 29
29.4 9 ~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos 29
28.2 9 ~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos 28
28.2 9 ~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos 28
27.2 9 ~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos 27
27.2 9 ~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~sparc x86 ~x64-macos 27
18.59 8 amd64 x86 18

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>gnu-emacs@gentoo.org</email>
		<name>Gentoo GNU Emacs project</name>
	</maintainer>
	<longdescription>
    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.
  </longdescription>
	<use>
		<flag name="athena">
      Enable the MIT Athena widget set (<pkg>x11-libs/libXaw</pkg>)
    </flag>
		<flag name="dynamic-loading">
      Enable loading of dynamic libraries (modules) at runtime
    </flag>
		<flag name="games">
      Support shared score files for games
    </flag>
		<flag name="gfile">
      Use gfile (<pkg>dev-libs/glib</pkg>) for file notification
    </flag>
		<flag name="gmp">
      Use the GNU multiple precision arithmetic library
      (<pkg>dev-libs/gmp</pkg>) instead of the bundled mini-gmp subset
    </flag>
		<flag name="gsettings">
      Use gsettings (<pkg>dev-libs/glib</pkg>) to read the system font name
    </flag>
		<flag name="gzip-el">
      Compress bundled Emacs Lisp source
    </flag>
		<flag name="harfbuzz">
      Use <pkg>media-libs/harfbuzz</pkg> as text shaping engine
    </flag>
		<flag name="imagemagick">
      Use <pkg>media-gfx/imagemagick</pkg> for image processing
    </flag>
		<flag name="jit">
      Compile with Emacs Lisp native compiler support via libgccjit
    </flag>
		<flag name="json">
      Compile with native JSON support using <pkg>dev-libs/jansson</pkg>
    </flag>
		<flag name="libxml2">
      Use <pkg>dev-libs/libxml2</pkg> to parse XML instead of the internal
      Lisp implementations
    </flag>
		<flag name="mailutils">
      Retrieve e-mail using <pkg>net-mail/mailutils</pkg> instead of the
      internal movemail substitute
    </flag>
		<flag name="source">
      Install C source files and make them available for find-function
    </flag>
		<flag name="threads">
      Add elisp threading support
    </flag>
		<flag name="toolkit-scroll-bars">
      Use the selected toolkit's scrollbars in preference to Emacs' own
      scrollbars
    </flag>
		<flag name="tree-sitter">
      Support the <pkg>dev-libs/tree-sitter</pkg> parsing library
    </flag>
		<flag name="wide-int">
      Prefer wide Emacs integers (typically 62-bit). This option has an
      effect only on 32-bit systems, where it increases the maximum buffer
      size from 0.5 to 2 GiB, at the cost of 10% to 30% Lisp slowdown.
    </flag>
		<flag name="xwidgets">
      Enable use of GTK widgets in Emacs buffers (requires GTK3)
    </flag>
	</use>
	<upstream>
		<remote-id type="savannah">emacs</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p app-editors/emacs | euse -E <flag> -p app-editors/emacs | euse -D <flag> -p app-editors/emacs

Flag Description 32.0.9999 32.0.50_pre20260831 31.1.9999 31.1 30.2 30.2 29.4 29.4 28.2 28.2 27.2 27.2 18.59
X Add support for X11 ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ✗ ✗ ✗ ✗ ✗
Xaw3d Add support for the 3d athena widget set ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
abi_x86_x32 x32 ABI libraries ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✓
acl Add support for Access Control Lists ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
alsa Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
aqua Include support for the Mac OS X Aqua (Carbon/Cocoa) GUI ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
athena Enable the MIT Athena widget set (<pkg>x11-libs/libXaw</pkg>) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
cairo Enable support for the cairo graphics library ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
dbus Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
dynamic-loading Enable loading of dynamic libraries (modules) at runtime ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
games Support shared score files for games ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
gfile Use gfile (<pkg>dev-libs/glib</pkg>) for file notification ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
gif Add GIF image support ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
gmp Use the GNU multiple precision arithmetic library (<pkg>dev-libs/gmp</pkg>) instead of the bundled mini-gmp subset ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ✗
gpm Add support for sys-libs/gpm (Console-based mouse driver) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
gsettings Use gsettings (<pkg>dev-libs/glib</pkg>) to read the system font name ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
gtk Add support for x11-libs/gtk+ (The GIMP Toolkit) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
gui Enable support for a graphical user interface ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
gzip-el Compress bundled Emacs Lisp source ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
harfbuzz Use <pkg>media-libs/harfbuzz</pkg> as text shaping engine ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
imagemagick Use <pkg>media-gfx/imagemagick</pkg> for image processing ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
inotify Enable inotify filesystem monitoring support ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ✗
jit Compile with Emacs Lisp native compiler support via libgccjit ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✗ ✗
jpeg Add JPEG image support ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
json Compile with native JSON support using <pkg>dev-libs/jansson</pkg> ✗ ✗ ✗ ✗ ✗ ✗ ✓ ✓ ✓ ✓ ✓ ✓ ✗
lcms Add lcms support (color management engine) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
libxml2 Use <pkg>dev-libs/libxml2</pkg> to parse XML instead of the internal Lisp implementations ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
livecd !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during livecd building ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
m17n-lib Enable m17n-lib support ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
mailutils Retrieve e-mail using <pkg>net-mail/mailutils</pkg> instead of the internal movemail substitute ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
motif Add support for the Motif toolkit ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
png Add support for libpng (PNG images) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
sound Enable sound support ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
source Install C source files and make them available for find-function ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
sqlite Add support for sqlite - embedded sql database ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
svg Add support for SVG (Scalable Vector Graphics) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
systemd Enable use of systemd-specific libraries and features like socket activation or session tracking ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
threads Add elisp threading support ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ✗
tiff Add support for the TIFF image format ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
toolkit-scroll-bars Use the selected toolkit's scrollbars in preference to Emacs' own scrollbars ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
tree-sitter Support the <pkg>dev-libs/tree-sitter</pkg> parsing library ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗
valgrind Enable annotations for accuracy. May slow down runtime slightly. Safe to use even if not currently using dev-debug/valgrind ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
webp Add support for the WebP image format ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗
wide-int Prefer wide Emacs integers (typically 62-bit). This option has an effect only on 32-bit systems, where it increases the maximum buffer size from 0.5 to 2 GiB, at the cost of 10% to 30% Lisp slowdown. ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
xattr Add support for extended attributes (filesystem-stored metadata) ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗
xft Build with support for XFT font renderer (x11-libs/libXft) ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗
xpm Add support for XPM graphics format ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ ✗
xwidgets Enable use of GTK widgets in Emacs buffers (requires GTK3) ✓ ✓ ✓ ✓ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗
zlib Add support for zlib compression ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗

Manifest

Type File Size Versions
DIST emacs-18.59-patches-17.tar.xz 34812 bytes 18.59
DIST emacs-18.59.tar.gz 2962652 bytes 18.59
DIST emacs-27.2-patches-13.tar.xz 21480 bytes 27.2
DIST emacs-27.2-patches-15.tar.xz 22044 bytes 27.2
DIST emacs-27.2.tar.xz 44624480 bytes 27.2
DIST emacs-28.2-patches-13.tar.xz 17568 bytes 28.2
DIST emacs-28.2-patches-15.tar.xz 18124 bytes 28.2
DIST emacs-28.2.tar.xz 47722600 bytes 28.2
DIST emacs-29.4-patches-7.tar.xz 11112 bytes 29.4
DIST emacs-29.4-patches-9.tar.xz 11680 bytes 29.4
DIST emacs-29.4.tar.xz 52210344 bytes 29.4
DIST emacs-30.2-patches-5.tar.xz 8564 bytes 30.2
DIST emacs-30.2-patches-7.tar.xz 9280 bytes 30.2
DIST emacs-30.2.tar.xz 55320324 bytes 30.2
DIST emacs-31.1-patches-2.tar.xz 1600 bytes 31.1
DIST emacs-31.1.tar.xz 57977476 bytes 31.1
Unmatched Entries
Type File Size
DIST emacs-32.0.50_pre20260831.tar.xz 36653692 bytes