From Fedora Project Wiki

Revision as of 09:01, 8 January 2017 by Fusion809 (talk | contribs) (Expanding)

GNU Emacs is a free and open-source, extensible and self-documenting text editor written in C and its own dialect of the Lisp programming language, Emacs Lisp. As its name suggests it is developed as part of the GNU Project. It is extended using plugins written in Emacs Lisp and is in the official repositories of Fedora.

Installation

To install GNU Emacs on Fedora with DNF merely run:

$ sudo dnf install emacs

A list of GNU Emacs-related packages in the official repositories of Fedora can be found by running:

$ dnf search emacs | grep "noarch" | grep -v "xemacs"

In order to enable RPM spec file syntax-highlighting install the emacs-rpm-spec-mode package with DNF. To do this run:

$ sudo dnf install emacs-rpm-spec-mode

(note $ denotes a user console, as opposed to a root console).

AppImages

GNU Emacs AppImages may sometimes be needed when Emacs installed via DNF has a bug that prevents one from using it properly. They can be downloaded from [1].

Known bugs

GNU Emacs installed via DNF had a bug on Fedora 25 (at least, whether this bug exists on newer versions of Fedora is uncertain) that made it challenging to assign custom syntax-highlighting to a given file extension, the details of which can be found here. User:Fusion809's AppImages did not have this same bug.

External links