[b5951ec] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[b5951ec] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8607f108] | 7 | <!ENTITY emacs-download-http "http://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
---|
| 8 | <!ENTITY emacs-download-ftp "ftp://ftp.gnu.org/pub/gnu/emacs/emacs-&emacs-version;.tar.xz">
|
---|
[66cb475] | 9 | <!ENTITY emacs-md5sum "ad487658ad7421ad8d7b5152192eb945">
|
---|
| 10 | <!ENTITY emacs-size "38 MB">
|
---|
| 11 | <!ENTITY emacs-buildsize "426 MB">
|
---|
| 12 | <!ENTITY emacs-time "1.4 SBU">
|
---|
[b5951ec] | 13 | ]>
|
---|
| 14 |
|
---|
[a7a755a] | 15 | <sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
|
---|
[ed59474e] | 16 | <?dbhtml filename="emacs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Emacs-&emacs-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="emacs">
|
---|
| 26 | <primary sortas="a-Emacs">Emacs</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Emacs</title>
|
---|
| 31 |
|
---|
[13679edb] | 32 | <para>The <application>Emacs</application> package contains an extensible,
|
---|
[ed59474e] | 33 | customizable, self-documenting real-time display editor.</para>
|
---|
| 34 |
|
---|
[bb49ea0] | 35 | &lfs76_checked;
|
---|
[e237c169] | 36 |
|
---|
[ed59474e] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&emacs-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&emacs-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &emacs-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &emacs-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &emacs-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &emacs-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 |
|
---|
[c0a34eb] | 59 | <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
|
---|
[ed59474e] | 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[54666831] | 62 | <para role="optional">
|
---|
| 63 | <xref linkend="x-window-system"/>,
|
---|
| 64 | <xref linkend="alsa-lib"/>,
|
---|
| 65 | <xref linkend="dbus"/>,
|
---|
| 66 | <xref linkend="gnutls"/>,
|
---|
| 67 | <xref linkend="gobject-introspection"/>,
|
---|
| 68 | <xref linkend="gpm"/>,
|
---|
| 69 | <xref linkend="gtk2"/> or <xref linkend="gtk3"/>,
|
---|
| 70 | <xref linkend="imagemagick"/>,
|
---|
| 71 | <xref linkend="libjpeg"/>,
|
---|
| 72 | <xref linkend="libpng"/>,
|
---|
| 73 | <xref linkend="librsvg"/>,
|
---|
| 74 | <xref linkend="libtiff"/>, and
|
---|
| 75 | <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>
|
---|
| 76 | </para>
|
---|
[ed59474e] | 77 |
|
---|
[3597eb6] | 78 | <para condition="html" role="usernotes">User Notes:
|
---|
| 79 | <ulink url="&blfs-wiki;/emacs"/></para>
|
---|
| 80 |
|
---|
[ed59474e] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of Emacs</title>
|
---|
| 85 |
|
---|
[3aa07d1] | 86 | <para>Install <application>Emacs</application> by running the following
|
---|
[ed59474e] | 87 | commands:</para>
|
---|
| 88 |
|
---|
[f82ac3f] | 89 | <screen><userinput>./configure --prefix=/usr \
|
---|
[8d3d7c2] | 90 | --with-gif=no \
|
---|
| 91 | --localstatedir=/var &&
|
---|
[ed59474e] | 92 | make bootstrap</userinput></screen>
|
---|
| 93 |
|
---|
[c1ac942] | 94 | <para>This package does not come with a test suite.</para>
|
---|
| 95 |
|
---|
[ed59474e] | 96 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 97 |
|
---|
[755379cb] | 98 | <screen role="root"><userinput>make install &&
|
---|
| 99 | chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
---|
[ed59474e] | 100 |
|
---|
[cdabd810] | 101 | <para>If you have <xref linkend="gtk2"/> or <xref linkend="gtk3"/>
|
---|
| 102 | installed, run, as <systemitem class="username">root</systemitem> user:</para>
|
---|
| 103 |
|
---|
| 104 | <screen role="root"><userinput>gtk-update-icon-cache -qf /usr/share/icons/hicolor</userinput></screen>
|
---|
| 105 |
|
---|
[ed59474e] | 106 | </sect2>
|
---|
| 107 |
|
---|
[32ccdf34] | 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[8d3d7c2] | 111 | <para><option>--with-gif=no</option>: This option is required if
|
---|
[c980e12] | 112 | <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>
|
---|
[8d3d7c2] | 113 | is not installed.</para>
|
---|
| 114 |
|
---|
[32ccdf34] | 115 | <para><option>--libexecdir=/usr/lib</option>: Place library
|
---|
| 116 | executables in a Filesystem Hierarchy Standard (FHS) location.</para>
|
---|
| 117 |
|
---|
[755379cb] | 118 | <para><option>--localstatedir=/var</option>: Create game score files
|
---|
| 119 | in <filename class='directory'>/var/games/emacs</filename> instead
|
---|
| 120 | of <filename class='directory'>/usr/var/games/emacs</filename>.</para>
|
---|
| 121 |
|
---|
[32ccdf34] | 122 | </sect2>
|
---|
| 123 |
|
---|
[ed59474e] | 124 | <sect2 role="content">
|
---|
| 125 | <title>Contents</title>
|
---|
| 126 |
|
---|
| 127 | <segmentedlist>
|
---|
| 128 | <segtitle>Installed Programs</segtitle>
|
---|
| 129 | <segtitle>Installed Libraries</segtitle>
|
---|
| 130 | <segtitle>Installed Directories</segtitle>
|
---|
| 131 |
|
---|
| 132 | <seglistitem>
|
---|
[8607f108] | 133 | <seg>ctags,
|
---|
| 134 | ebrowse,
|
---|
| 135 | emacs,
|
---|
[66cb475] | 136 | emacs&emacs-version;,
|
---|
[8607f108] | 137 | emacsclient,
|
---|
[66cb475] | 138 | etags, and
|
---|
| 139 | grep-changelog</seg>
|
---|
[ed59474e] | 140 | <seg>None</seg>
|
---|
[34fb49a7] | 141 | <seg>/usr/libexec/emacs,
|
---|
[8607f108] | 142 | /usr/share/emacs, and
|
---|
| 143 | /var/games/emacs</seg>
|
---|
[ed59474e] | 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="ctags">
|
---|
[550ca80] | 153 | <term><command>ctags</command></term>
|
---|
[ed59474e] | 154 | <listitem>
|
---|
| 155 | <para>creates cross-reference tagfile database files
|
---|
| 156 | for source code.</para>
|
---|
| 157 | <indexterm zone="emacs ctags">
|
---|
| 158 | <primary sortas="b-ctags">ctags</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="ebrowse">
|
---|
| 164 | <term><command>ebrowse</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>permits browsing of C++ class hierarchies from
|
---|
| 167 | within <command>emacs</command>.</para>
|
---|
| 168 | <indexterm zone="emacs ebrowse">
|
---|
| 169 | <primary sortas="b-ebrowse">ebrowse</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="emacs-prog">
|
---|
| 175 | <term><command>emacs</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>is an editor.</para>
|
---|
| 178 | <indexterm zone="emacs emacs-prog">
|
---|
| 179 | <primary sortas="b-emacs">emacs</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="emacsclient">
|
---|
| 185 | <term><command>emacsclient</command></term>
|
---|
| 186 | <listitem>
|
---|
[13679edb] | 187 | <para>attaches an <command>emacs</command> session to an already
|
---|
[ed59474e] | 188 | running <command>emacsserver</command> instance.</para>
|
---|
| 189 | <indexterm zone="emacs emacsclient">
|
---|
| 190 | <primary sortas="b-emacsclient">emacsclient</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="etags">
|
---|
| 196 | <term><command>etags</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>is another program to generate source code
|
---|
| 199 | cross-reference tagfiles.</para>
|
---|
| 200 | <indexterm zone="emacs etags">
|
---|
| 201 | <primary sortas="b-etags">etags</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
| 206 | <varlistentry id="grep-changelog">
|
---|
| 207 | <term><command>grep-changelog</command></term>
|
---|
| 208 | <listitem>
|
---|
| 209 | <para>prints entries in Change Logs matching
|
---|
| 210 | various criteria.</para>
|
---|
| 211 | <indexterm zone="emacs grep-changelog">
|
---|
| 212 | <primary sortas="b-grep-changelog">grep-changelog</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
[2bf87d8] | 216 | <!--
|
---|
[ed59474e] | 217 | <varlistentry id="rcs-checkin">
|
---|
| 218 | <term><command>rcs-checkin</command></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>is a shell script used to check files into RCS.</para>
|
---|
| 221 | <indexterm zone="emacs rcs-checkin">
|
---|
| 222 | <primary sortas="b-rcs-checkin">rcs-checkin</primary>
|
---|
| 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
[2bf87d8] | 225 | </varlistentry>-->
|
---|
[a7a755a] | 226 |
|
---|
[ed59474e] | 227 | </variablelist>
|
---|
[b5951ec] | 228 |
|
---|
[ed59474e] | 229 | </sect2>
|
---|
[f45b1953] | 230 |
|
---|
| 231 | </sect1>
|
---|