Emacs-26.1

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 6. Editors

- Prev

  Ed-1.15

- Next

  Gedit-3.22.1

- Up
- Home

# Emacs-26.1

## Introduction to Emacs

The Emacs package contains an extensible, customizable, self-documenting real-time display editor.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz

- Download (FTP): ftp://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz

- Download MD5 sum: 649ec46965a8b842bdb2cbf7764c2a9a

- Download size: 42 MB

- Estimated disk space required: 427 MB

- Estimated build time: 0.6 SBU (Using parallelism=4)

### Emacs Dependencies

#### Recommended

giflib-5.1.6

#### Optional

X Window System, alsa-lib-1.1.8, dbus-1.12.12, GConf-3.2.6, GnuTLS-3.6.6, gobject-introspection-1.58.3, gsettings-desktop-schemas-3.28.1, GPM-1.20.7, GTK+-2.24.32 or GTK+-3.24.5, ImageMagick-6.9.10-27 libraries (see command explanations), libjpeg-turbo-2.0.2, libpng-1.6.36, librsvg-2.44.12, LibTIFF-4.0.10, libxml2-2.9.9, MIT Kerberos V5-1.17, Valgrind-3.14.0, intlfonts, libungif, libotf and m17n-lib - to correctly display such complex scripts as Indic and Khmer, and also for scripts that require Arabic shaping support (Arabic and Farsi), and libXaw3d

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/emacs

## Installation of Emacs

Install Emacs by running the following commands:

    ./configure --prefix=/usr --localstatedir=/var &&
    make

This package does not come with a test suite. If make succeeds, you can test the result by running src/emacs -Q, which is the program that will be installed, with its auxiliary files. This should start and display the application opening screen.

Now, as the `root` user:

    make install &&
    chown -v -R root:root /usr/share/emacs/26.1

This package installs icon files into the `/usr/share/icons/hicolor` hierarchy and desktop files into the `/usr/share/applications` hierarchy. You can improve system performance and memory usage by updating `/usr/share/icons/hicolor/icon-theme.cache` and `/usr/share/applications/mimeinfo.cache`. To perform the update you must have GTK+-2.24.32 or GTK+-3.24.5 installed (for the icon cache) and desktop-file-utils-0.23 (for the desktop cache) and issue the following commands as the `root` user:

    gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &&
    update-desktop-database

## Command Explanations

`--localstatedir=/var`: Create game score files in `/var/games/emacs` instead of `/usr/var/games/emacs`.

`IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6 IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI -lMagickWand-6.Q16HDRI"` : use these when you invoke configure if you have installed ImageMagick-6.9.10-27 libraries and wish to link to them (the normal unversioned pkgconfig files collide with ImageMagick-7.0.8-27 which this package cannot use).

`--with-gif=no`: Use this if you have not installed giflib-5.1.6 or libungif.

## Contents

Installed Programs: ctags, ebrowse, emacs (symlink), emacs-26.1, emacsclient, etags, and grep-changelog
Installed Libraries: None
Installed Directories: /usr/libexec/emacs, /usr/share/emacs, and /var/games/emacs

### Short Descriptions

ctags | creates cross-reference tagfile database files for source code.
ebrowse | permits browsing of C++ class hierarchies from within emacs.
emacs | is an editor.
emacsclient | attaches an emacs session to an already running emacsserver instance.
etags | is another program to generate source code cross-reference tagfiles.
grep-changelog | prints entries in Change Logs matching various criteria.

Last updated on 2019-02-18 15:07:03 -0600

- Prev

  Ed-1.15

- Next

  Gedit-3.22.1

- Up
- Home