From Fedora Project Wiki

Revision as of 10:20, 8 January 2017 by Fusion809 (talk | contribs) (Expanding)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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. It was originally developed by Richard Stallman, the founder of the GNU Project, and Guy L. Steele Jr. Its initial release was in 1985 and has been ported to virtually every major operating system, including the BSDs, Linux, macOS and Windows. 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. It can also be run on Fedora using an AppImage.

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.

Fedora links

External links