[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY emacs-download-http "&gnu-http;/emacs/emacs-&emacs-version;.tar.xz">
|
---|
[8558044] | 8 | <!ENTITY emacs-download-ftp "&gnu-ftp;/emacs/emacs-&emacs-version;.tar.xz">
|
---|
| 9 | <!ENTITY emacs-download-ftp " ">
|
---|
[1aa82479] | 10 | <!ENTITY emacs-md5sum "a74841c74a3b2b8a1af2a504799a6a93">
|
---|
| 11 | <!ENTITY emacs-size "46 MB">
|
---|
| 12 | <!ENTITY emacs-buildsize "507 MB">
|
---|
[8404399] | 13 | <!ENTITY emacs-time "0.6 SBU (Using parallelism=4)">
|
---|
[b5951ec] | 14 | ]>
|
---|
| 15 |
|
---|
[a7a755a] | 16 | <sect1 id="emacs" xreflabel="Emacs-&emacs-version;">
|
---|
[ed59474e] | 17 | <?dbhtml filename="emacs.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 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 |
|
---|
[f716ef4] | 32 | <para>
|
---|
| 33 | The <application>Emacs</application> package contains an extensible,
|
---|
| 34 | customizable, self-documenting real-time display editor.
|
---|
| 35 | </para>
|
---|
[ed59474e] | 36 |
|
---|
[ef8290b1] | 37 | &lfs111_checked;
|
---|
[e237c169] | 38 |
|
---|
[ed59474e] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[f716ef4] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&emacs-download-http;"/>
|
---|
| 44 | </para>
|
---|
[ed59474e] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[f716ef4] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&emacs-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[ed59474e] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[f716ef4] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &emacs-md5sum;
|
---|
| 54 | </para>
|
---|
[ed59474e] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[f716ef4] | 57 | <para>
|
---|
| 58 | Download size: &emacs-size;
|
---|
| 59 | </para>
|
---|
[ed59474e] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[f716ef4] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &emacs-buildsize;
|
---|
| 64 | </para>
|
---|
[ed59474e] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[f716ef4] | 67 | <para>
|
---|
| 68 | Estimated build time: &emacs-time;
|
---|
| 69 | </para>
|
---|
[ed59474e] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[c0a34eb] | 73 | <bridgehead renderas="sect3">Emacs Dependencies</bridgehead>
|
---|
[ed59474e] | 74 |
|
---|
[043a3842] | 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
[8404399] | 77 | <xref linkend="harfbuzz"/>,
|
---|
[96fcf51] | 78 | <xref linkend="giflib"/>,
|
---|
[8404399] | 79 | <xref linkend="gnutls"/>,
|
---|
| 80 | <xref linkend="jansson"/>, and
|
---|
[96fcf51] | 81 | <xref linkend="libtiff"/>
|
---|
[043a3842] | 82 | </para>
|
---|
| 83 |
|
---|
[ed59474e] | 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[54666831] | 85 | <para role="optional">
|
---|
| 86 | <xref linkend="x-window-system"/>,
|
---|
| 87 | <xref linkend="alsa-lib"/>,
|
---|
[8404399] | 88 | <xref linkend="cairo"/>,
|
---|
[54666831] | 89 | <xref linkend="dbus"/>,
|
---|
[6608c8f] | 90 | <xref linkend="GConf"/>,
|
---|
[54666831] | 91 | <xref linkend="gobject-introspection"/>,
|
---|
[6608c8f] | 92 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[54666831] | 93 | <xref linkend="gpm"/>,
|
---|
[cac7f93] | 94 | <xref role="nodep" linkend="gtk2"/> or <xref linkend="gtk3"/>,
|
---|
[918c149] | 95 | <xref linkend="imagemagick"/>,
|
---|
[8404399] | 96 | <xref linkend="lcms2"/>,
|
---|
[54666831] | 97 | <xref linkend="libjpeg"/>,
|
---|
| 98 | <xref linkend="libpng"/>,
|
---|
| 99 | <xref linkend="librsvg"/>,
|
---|
[b9f3ff5c] | 100 | <xref linkend="libxml2"/>,
|
---|
[6608c8f] | 101 | <xref linkend="mitkrb"/>,
|
---|
[b9f3ff5c] | 102 | <xref linkend="valgrind"/>,
|
---|
[8dfc5c3] | 103 | <ulink url="&gnu-http;/intlfonts/">intlfonts</ulink>,
|
---|
[6608c8f] | 104 | <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>,
|
---|
[8404399] | 105 | <ulink url="http://www.nongnu.org/m17n/">libotf</ulink>, and
|
---|
[6608c8f] | 106 | <ulink url="http://www.nongnu.org/m17n/">m17n-lib</ulink> - to correctly
|
---|
| 107 | display such complex scripts as Indic and Khmer, and also for scripts
|
---|
[8404399] | 108 | that require Arabic shaping support (Arabic and Farsi),
|
---|
| 109 | <ulink url="https://mailutils.org/">mailutils</ulink>, and
|
---|
[e622c0b] | 110 | <ulink url="&xorg-download-http;/lib/">libXaw3d</ulink>
|
---|
[54666831] | 111 | </para>
|
---|
[ed59474e] | 112 |
|
---|
[3597eb6] | 113 | <para condition="html" role="usernotes">User Notes:
|
---|
| 114 | <ulink url="&blfs-wiki;/emacs"/></para>
|
---|
| 115 |
|
---|
[ed59474e] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="installation">
|
---|
| 119 | <title>Installation of Emacs</title>
|
---|
| 120 |
|
---|
[f716ef4] | 121 | <para>
|
---|
| 122 | Install <application>Emacs</application> by running the following
|
---|
| 123 | commands:
|
---|
| 124 | </para>
|
---|
[ed59474e] | 125 |
|
---|
[8404399] | 126 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[ca8bcae9] | 127 | make</userinput></screen>
|
---|
[ed59474e] | 128 |
|
---|
[6608c8f] | 129 | <para>
|
---|
| 130 | This package does not come with a test suite. If make succeeds, you can
|
---|
[5d5234b] | 131 | test the result by running <command>src/emacs -Q</command>, which is the
|
---|
[6608c8f] | 132 | program that will be installed, with its auxiliary files. This should
|
---|
| 133 | start and display the application opening screen.
|
---|
| 134 | </para>
|
---|
[c1ac942] | 135 |
|
---|
[f716ef4] | 136 | <para>
|
---|
| 137 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 138 | </para>
|
---|
[ed59474e] | 139 |
|
---|
[2ab28c8] | 140 | <screen role="root" revision="systemd"><userinput>make install &&
|
---|
[755379cb] | 141 | chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
---|
[ed59474e] | 142 |
|
---|
[2ab28c8] | 143 | <screen role="root" revision="sysv"><userinput>make install &&
|
---|
| 144 | chown -v -R root:root /usr/share/emacs/&emacs-version; &&
|
---|
| 145 | rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
|
---|
| 146 |
|
---|
[00d040d] | 147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 148 | href="../../xincludes/gtk-update-icon-cache.xml"/>
|
---|
[cdabd810] | 149 |
|
---|
[ed59474e] | 150 | </sect2>
|
---|
| 151 |
|
---|
[32ccdf34] | 152 | <sect2 role="commands">
|
---|
| 153 | <title>Command Explanations</title>
|
---|
| 154 |
|
---|
[8558044] | 155 | <!-- With 27.2, it writes scores to ~/.emacs.d/games
|
---|
[f716ef4] | 156 | <para>
|
---|
[8404399] | 157 | <parameter>- -localstatedir=/var</parameter>: Create game score files
|
---|
[f716ef4] | 158 | in <filename class='directory'>/var/games/emacs</filename> instead
|
---|
| 159 | of <filename class='directory'>/usr/var/games/emacs</filename>.
|
---|
| 160 | </para>
|
---|
[8404399] | 161 | -->
|
---|
[755379cb] | 162 |
|
---|
[f716ef4] | 163 | <para>
|
---|
[918c149] | 164 | <option>--with-imagemagick</option>: Use this if you have installed
|
---|
| 165 | <xref linkend="imagemagick"/> and wish to link against it.
|
---|
[f716ef4] | 166 | </para>
|
---|
[d113301] | 167 |
|
---|
[f716ef4] | 168 | <para>
|
---|
| 169 | <option>--with-gif=no</option>: Use this if you have not installed
|
---|
[8558044] | 170 | <xref linkend="giflib"/> or
|
---|
[f716ef4] | 171 | <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>.
|
---|
| 172 | </para>
|
---|
[043a3842] | 173 |
|
---|
[f716ef4] | 174 | <para>
|
---|
| 175 | <option>--with-tiff=no</option>: Use this if you have not installed
|
---|
| 176 | <xref linkend="libtiff"/>.
|
---|
| 177 | </para>
|
---|
[96fcf51] | 178 |
|
---|
[f716ef4] | 179 | <para>
|
---|
| 180 | <option>--with-gnutls=no</option>: Use this if you have not installed
|
---|
| 181 | <xref linkend="gnutls"/>.
|
---|
| 182 | </para>
|
---|
[96fcf51] | 183 |
|
---|
[8404399] | 184 | <para>
|
---|
| 185 | <option>--without-harfbuzz</option>: Use this if you have not installed
|
---|
| 186 | <xref linkend="harfbuzz"/>.
|
---|
| 187 | </para>
|
---|
| 188 |
|
---|
| 189 | <para>
|
---|
| 190 | <option>--with-json=no</option>: Use this if you have not installed
|
---|
| 191 | <xref linkend="jansson"/>.
|
---|
| 192 | </para>
|
---|
| 193 |
|
---|
[32ccdf34] | 194 | </sect2>
|
---|
| 195 |
|
---|
[ed59474e] | 196 | <sect2 role="content">
|
---|
| 197 | <title>Contents</title>
|
---|
| 198 |
|
---|
| 199 | <segmentedlist>
|
---|
| 200 | <segtitle>Installed Programs</segtitle>
|
---|
| 201 | <segtitle>Installed Libraries</segtitle>
|
---|
| 202 | <segtitle>Installed Directories</segtitle>
|
---|
| 203 |
|
---|
| 204 | <seglistitem>
|
---|
[f3429309] | 205 | <seg>ctags,
|
---|
| 206 | ebrowse,
|
---|
| 207 | emacs (symlink),
|
---|
[473f4358] | 208 | emacs-&emacs-version;,
|
---|
[8404399] | 209 | emacsclient, and
|
---|
| 210 | etags</seg>
|
---|
[ed59474e] | 211 | <seg>None</seg>
|
---|
[8404399] | 212 | <seg>/usr/libexec/emacs and
|
---|
| 213 | /usr/share/emacs</seg>
|
---|
[ed59474e] | 214 | </seglistitem>
|
---|
| 215 | </segmentedlist>
|
---|
| 216 |
|
---|
| 217 | <variablelist>
|
---|
| 218 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 219 | <?dbfo list-presentation="list"?>
|
---|
| 220 | <?dbhtml list-presentation="table"?>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="ctags">
|
---|
[550ca80] | 223 | <term><command>ctags</command></term>
|
---|
[ed59474e] | 224 | <listitem>
|
---|
[f716ef4] | 225 | <para>
|
---|
| 226 | creates cross-reference tagfile database files
|
---|
[4c24eb0a] | 227 | for source code
|
---|
[f716ef4] | 228 | </para>
|
---|
[ed59474e] | 229 | <indexterm zone="emacs ctags">
|
---|
| 230 | <primary sortas="b-ctags">ctags</primary>
|
---|
| 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="ebrowse">
|
---|
| 236 | <term><command>ebrowse</command></term>
|
---|
| 237 | <listitem>
|
---|
[f716ef4] | 238 | <para>
|
---|
| 239 | permits browsing of C++ class hierarchies from
|
---|
[4c24eb0a] | 240 | within <command>emacs</command>
|
---|
[f716ef4] | 241 | </para>
|
---|
[ed59474e] | 242 | <indexterm zone="emacs ebrowse">
|
---|
| 243 | <primary sortas="b-ebrowse">ebrowse</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="emacs-prog">
|
---|
| 249 | <term><command>emacs</command></term>
|
---|
| 250 | <listitem>
|
---|
[f716ef4] | 251 | <para>
|
---|
[4c24eb0a] | 252 | is an editor
|
---|
[f716ef4] | 253 | </para>
|
---|
[ed59474e] | 254 | <indexterm zone="emacs emacs-prog">
|
---|
| 255 | <primary sortas="b-emacs">emacs</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="emacsclient">
|
---|
| 261 | <term><command>emacsclient</command></term>
|
---|
| 262 | <listitem>
|
---|
[f716ef4] | 263 | <para>
|
---|
| 264 | attaches an <command>emacs</command> session to an already
|
---|
[4c24eb0a] | 265 | running <command>emacsserver</command> instance
|
---|
[f716ef4] | 266 | </para>
|
---|
[ed59474e] | 267 | <indexterm zone="emacs emacsclient">
|
---|
| 268 | <primary sortas="b-emacsclient">emacsclient</primary>
|
---|
| 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
| 273 | <varlistentry id="etags">
|
---|
| 274 | <term><command>etags</command></term>
|
---|
| 275 | <listitem>
|
---|
[f716ef4] | 276 | <para>
|
---|
| 277 | is another program to generate source code
|
---|
[4c24eb0a] | 278 | cross-reference tagfiles
|
---|
[f716ef4] | 279 | </para>
|
---|
[ed59474e] | 280 | <indexterm zone="emacs etags">
|
---|
| 281 | <primary sortas="b-etags">etags</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
[8404399] | 286 | <!-- Not seen with 27.2
|
---|
[ed59474e] | 287 | <varlistentry id="grep-changelog">
|
---|
| 288 | <term><command>grep-changelog</command></term>
|
---|
| 289 | <listitem>
|
---|
[f716ef4] | 290 | <para>
|
---|
| 291 | prints entries in Change Logs matching
|
---|
[4c24eb0a] | 292 | various criteria
|
---|
[f716ef4] | 293 | </para>
|
---|
[ed59474e] | 294 | <indexterm zone="emacs grep-changelog">
|
---|
| 295 | <primary sortas="b-grep-changelog">grep-changelog</primary>
|
---|
| 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
[8404399] | 299 | -->
|
---|
[2bf87d8] | 300 | <!--
|
---|
[ed59474e] | 301 | <varlistentry id="rcs-checkin">
|
---|
| 302 | <term><command>rcs-checkin</command></term>
|
---|
| 303 | <listitem>
|
---|
[f716ef4] | 304 | <para>
|
---|
| 305 | is a shell script used to check files into RCS.
|
---|
| 306 | </para>
|
---|
[ed59474e] | 307 | <indexterm zone="emacs rcs-checkin">
|
---|
| 308 | <primary sortas="b-rcs-checkin">rcs-checkin</primary>
|
---|
| 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
[2bf87d8] | 311 | </varlistentry>-->
|
---|
[a7a755a] | 312 |
|
---|
[ed59474e] | 313 | </variablelist>
|
---|
[b5951ec] | 314 |
|
---|
[ed59474e] | 315 | </sect2>
|
---|
[f45b1953] | 316 |
|
---|
| 317 | </sect1>
|
---|