2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-11 14:33:09 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY emacs-download-http "&gnu-http;/emacs/emacs-&emacs-version;.tar.xz">
|
2021-09-07 01:42:49 +08:00
|
|
|
<!ENTITY emacs-download-ftp " ">
|
2024-01-20 01:26:02 +08:00
|
|
|
<!ENTITY emacs-md5sum "0690e2fb9b9f271652f19ddccf1dd3f3">
|
2023-08-04 00:37:51 +08:00
|
|
|
<!ENTITY emacs-size "50 MB">
|
2024-01-20 01:26:02 +08:00
|
|
|
<!ENTITY emacs-buildsize "526 MB">
|
|
|
|
<!ENTITY emacs-time "0.7 SBU (Using parallelism=4)">
|
2004-06-11 14:33:09 +08:00
|
|
|
]>
|
|
|
|
|
2005-02-11 09:40:36 +08:00
|
|
|
<sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
|
2005-05-14 01:30:44 +08:00
|
|
|
<?dbhtml filename="emacs.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>Emacs-&emacs-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="emacs">
|
|
|
|
<primary sortas="a-Emacs">Emacs</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Emacs</title>
|
|
|
|
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
The <application>Emacs</application> package contains an extensible,
|
|
|
|
customizable, self-documenting real-time display editor.
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2024-02-19 10:06:03 +08:00
|
|
|
&lfs121_checked;
|
2012-02-11 06:23:24 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&emacs-download-http;"/>
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&emacs-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &emacs-md5sum;
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Download size: &emacs-size;
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &emacs-buildsize;
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &emacs-time;
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2005-05-14 01:43:03 +08:00
|
|
|
<bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2017-02-19 14:38:48 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2021-03-30 09:57:21 +08:00
|
|
|
<xref linkend="harfbuzz"/>,
|
2019-04-20 14:39:41 +08:00
|
|
|
<xref linkend="giflib"/>,
|
2021-03-30 09:57:21 +08:00
|
|
|
<xref linkend="gnutls"/>,
|
|
|
|
<xref linkend="jansson"/>, and
|
2019-04-20 14:39:41 +08:00
|
|
|
<xref linkend="libtiff"/>
|
2017-02-19 14:38:48 +08:00
|
|
|
</para>
|
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2014-05-13 04:37:37 +08:00
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="x-window-system"/>,
|
|
|
|
<xref linkend="alsa-lib"/>,
|
2021-03-30 09:57:21 +08:00
|
|
|
<xref linkend="cairo"/>,
|
2014-05-13 04:37:37 +08:00
|
|
|
<xref linkend="dbus"/>,
|
2024-03-10 23:34:31 +08:00
|
|
|
&gobject-introspection;,
|
2015-04-12 02:04:17 +08:00
|
|
|
<xref linkend="gsettings-desktop-schemas"/>,
|
2014-05-13 04:37:37 +08:00
|
|
|
<xref linkend="gpm"/>,
|
2023-09-12 00:51:23 +08:00
|
|
|
<xref linkend="gtk3"/>,
|
2020-08-17 01:15:18 +08:00
|
|
|
<xref linkend="imagemagick"/>,
|
2021-03-30 09:57:21 +08:00
|
|
|
<xref linkend="lcms2"/>,
|
2014-05-13 04:37:37 +08:00
|
|
|
<xref linkend="libjpeg"/>,
|
|
|
|
<xref linkend="libpng"/>,
|
|
|
|
<xref linkend="librsvg"/>,
|
2023-08-04 00:37:51 +08:00
|
|
|
<xref linkend="libseccomp"/>,
|
|
|
|
<xref linkend="libwebp"/>,
|
2015-04-12 20:12:55 +08:00
|
|
|
<xref linkend="libxml2"/>,
|
2015-04-12 02:04:17 +08:00
|
|
|
<xref linkend="mitkrb"/>,
|
2023-08-04 00:37:51 +08:00
|
|
|
<xref linkend="sqlite"/>,
|
2015-04-12 20:12:55 +08:00
|
|
|
<xref linkend="valgrind"/>,
|
2017-08-16 02:49:48 +08:00
|
|
|
<ulink url="&gnu-http;/intlfonts/">intlfonts</ulink>,
|
2022-09-08 12:52:01 +08:00
|
|
|
<ulink url="https://directory.fsf.org/wiki/Libungif">libungif</ulink>,
|
|
|
|
<ulink url="https://www.nongnu.org/m17n/">libotf</ulink>, and
|
|
|
|
<ulink url="https://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
|
2015-04-12 02:04:17 +08:00
|
|
|
display such complex scripts as Indic and Khmer, and also for scripts
|
2021-03-30 09:57:21 +08:00
|
|
|
that require Arabic shaping support (Arabic and Farsi),
|
|
|
|
<ulink url="https://mailutils.org/">mailutils</ulink>, and
|
2017-03-31 00:19:18 +08:00
|
|
|
<ulink url="&xorg-download-http;/lib/">libXaw3d</ulink>
|
2014-05-13 04:37:37 +08:00
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Emacs</title>
|
|
|
|
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Emacs</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2021-03-30 09:57:21 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2015-05-06 21:24:18 +08:00
|
|
|
make</userinput></screen>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2015-04-12 02:04:17 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite. If make succeeds, you can
|
2015-04-27 19:55:50 +08:00
|
|
|
test the result by running <command>src/emacs -Q</command>, which is the
|
2015-04-12 02:04:17 +08:00
|
|
|
program that will be installed, with its auxiliary files. This should
|
|
|
|
start and display the application opening screen.
|
|
|
|
</para>
|
2006-10-12 12:46:44 +08:00
|
|
|
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2019-08-09 09:56:34 +08:00
|
|
|
<screen role="root" revision="systemd"><userinput>make install &&
|
2007-08-18 03:03:17 +08:00
|
|
|
chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
2005-05-14 01:30:44 +08:00
|
|
|
|
2019-08-09 09:56:34 +08:00
|
|
|
<screen role="root" revision="sysv"><userinput>make install &&
|
|
|
|
chown -v -R root:root /usr/share/emacs/&emacs-version; &&
|
|
|
|
rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
|
|
|
|
|
2019-09-18 03:37:50 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/gtk-update-icon-cache.xml"/>
|
2014-02-22 21:34:10 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
</sect2>
|
|
|
|
|
2006-04-27 12:28:51 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2021-09-07 01:42:49 +08:00
|
|
|
<!-- With 27.2, it writes scores to ~/.emacs.d/games
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
2021-03-30 09:57:21 +08:00
|
|
|
<parameter>- -localstatedir=/var</parameter>: Create game score files
|
2020-03-26 21:13:18 +08:00
|
|
|
in <filename class='directory'>/var/games/emacs</filename> instead
|
|
|
|
of <filename class='directory'>/usr/var/games/emacs</filename>.
|
|
|
|
</para>
|
2021-03-30 09:57:21 +08:00
|
|
|
-->
|
2007-08-18 03:03:17 +08:00
|
|
|
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
2020-08-17 01:15:18 +08:00
|
|
|
<option>--with-imagemagick</option>: Use this if you have installed
|
|
|
|
<xref linkend="imagemagick"/> and wish to link against it.
|
2020-03-26 21:13:18 +08:00
|
|
|
</para>
|
2017-01-10 03:49:42 +08:00
|
|
|
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
<option>--with-gif=no</option>: Use this if you have not installed
|
2021-09-07 01:42:49 +08:00
|
|
|
<xref linkend="giflib"/> or
|
2022-09-08 12:52:01 +08:00
|
|
|
<ulink url="https://directory.fsf.org/wiki/Libungif">libungif</ulink>.
|
2020-03-26 21:13:18 +08:00
|
|
|
</para>
|
2017-02-19 14:38:48 +08:00
|
|
|
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
<option>--with-tiff=no</option>: Use this if you have not installed
|
|
|
|
<xref linkend="libtiff"/>.
|
|
|
|
</para>
|
2019-04-20 14:39:41 +08:00
|
|
|
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
<option>--with-gnutls=no</option>: Use this if you have not installed
|
|
|
|
<xref linkend="gnutls"/>.
|
|
|
|
</para>
|
2019-04-20 14:39:41 +08:00
|
|
|
|
2021-03-30 09:57:21 +08:00
|
|
|
<para>
|
|
|
|
<option>--without-harfbuzz</option>: Use this if you have not installed
|
|
|
|
<xref linkend="harfbuzz"/>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<option>--with-json=no</option>: Use this if you have not installed
|
|
|
|
<xref linkend="jansson"/>.
|
|
|
|
</para>
|
|
|
|
|
2006-04-27 12:28:51 +08:00
|
|
|
</sect2>
|
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2015-11-13 22:24:57 +08:00
|
|
|
<seg>ctags,
|
|
|
|
ebrowse,
|
|
|
|
emacs (symlink),
|
2015-12-22 01:33:41 +08:00
|
|
|
emacs-&emacs-version;,
|
2021-03-30 09:57:21 +08:00
|
|
|
emacsclient, and
|
|
|
|
etags</seg>
|
2005-05-14 01:30:44 +08:00
|
|
|
<seg>None</seg>
|
2021-03-30 09:57:21 +08:00
|
|
|
<seg>/usr/libexec/emacs and
|
|
|
|
/usr/share/emacs</seg>
|
2005-05-14 01:30:44 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="ctags">
|
2005-07-07 22:29:34 +08:00
|
|
|
<term><command>ctags</command></term>
|
2005-05-14 01:30:44 +08:00
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
creates cross-reference tagfile database files
|
2021-02-19 23:20:16 +08:00
|
|
|
for source code
|
2020-03-26 21:13:18 +08:00
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
<indexterm zone="emacs ctags">
|
|
|
|
<primary sortas="b-ctags">ctags</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="ebrowse">
|
|
|
|
<term><command>ebrowse</command></term>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
permits browsing of C++ class hierarchies from
|
2021-02-19 23:20:16 +08:00
|
|
|
within <command>emacs</command>
|
2020-03-26 21:13:18 +08:00
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
<indexterm zone="emacs ebrowse">
|
|
|
|
<primary sortas="b-ebrowse">ebrowse</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="emacs-prog">
|
|
|
|
<term><command>emacs</command></term>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is an editor
|
2020-03-26 21:13:18 +08:00
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
<indexterm zone="emacs emacs-prog">
|
|
|
|
<primary sortas="b-emacs">emacs</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="emacsclient">
|
|
|
|
<term><command>emacsclient</command></term>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
attaches an <command>emacs</command> session to an already
|
2021-02-19 23:20:16 +08:00
|
|
|
running <command>emacsserver</command> instance
|
2020-03-26 21:13:18 +08:00
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
<indexterm zone="emacs emacsclient">
|
|
|
|
<primary sortas="b-emacsclient">emacsclient</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="etags">
|
|
|
|
<term><command>etags</command></term>
|
|
|
|
<listitem>
|
2020-03-26 21:13:18 +08:00
|
|
|
<para>
|
|
|
|
is another program to generate source code
|
2021-02-19 23:20:16 +08:00
|
|
|
cross-reference tagfiles
|
2020-03-26 21:13:18 +08:00
|
|
|
</para>
|
2005-05-14 01:30:44 +08:00
|
|
|
<indexterm zone="emacs etags">
|
|
|
|
<primary sortas="b-etags">etags</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
2004-06-11 14:33:09 +08:00
|
|
|
|
2005-05-14 01:30:44 +08:00
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|