[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 " ">
|
---|
[8404399] | 10 | <!ENTITY emacs-md5sum "4c3d9ff35b2ab2fe518dc7eb3951e128">
|
---|
| 11 | <!ENTITY emacs-size "43 MB">
|
---|
| 12 | <!ENTITY emacs-buildsize "620 MB">
|
---|
| 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 |
|
---|
[85a581fd] | 37 | &lfs110a_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 |
|
---|
[890456e] | 121 | <para>
|
---|
[8558044] | 122 | First, work around a portability bug in glibc 2.34,
|
---|
[890456e] | 123 | which no longer defines SIGSTKSZ.
|
---|
| 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <screen><userinput>sed -e '/SIGSTKSZ/ s|^.*$|static max_align_t sigsegv_stack[\
|
---|
[8394f7d1] | 127 | (64 * 1024 + sizeof (max_align_t) - 1) / sizeof (max_align_t)];|' \
|
---|
[890456e] | 128 | -i src/sysdep.c</userinput></screen>
|
---|
| 129 |
|
---|
[f716ef4] | 130 | <para>
|
---|
| 131 | Install <application>Emacs</application> by running the following
|
---|
| 132 | commands:
|
---|
| 133 | </para>
|
---|
[ed59474e] | 134 |
|
---|
[8404399] | 135 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[ca8bcae9] | 136 | make</userinput></screen>
|
---|
[ed59474e] | 137 |
|
---|
[6608c8f] | 138 | <para>
|
---|
| 139 | This package does not come with a test suite. If make succeeds, you can
|
---|
[5d5234b] | 140 | test the result by running <command>src/emacs -Q</command>, which is the
|
---|
[6608c8f] | 141 | program that will be installed, with its auxiliary files. This should
|
---|
| 142 | start and display the application opening screen.
|
---|
| 143 | </para>
|
---|
[c1ac942] | 144 |
|
---|
[f716ef4] | 145 | <para>
|
---|
| 146 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 147 | </para>
|
---|
[ed59474e] | 148 |
|
---|
[2ab28c8] | 149 | <screen role="root" revision="systemd"><userinput>make install &&
|
---|
[755379cb] | 150 | chown -v -R root:root /usr/share/emacs/&emacs-version;</userinput></screen>
|
---|
[ed59474e] | 151 |
|
---|
[2ab28c8] | 152 | <screen role="root" revision="sysv"><userinput>make install &&
|
---|
| 153 | chown -v -R root:root /usr/share/emacs/&emacs-version; &&
|
---|
| 154 | rm -vf /usr/lib/systemd/user/emacs.service</userinput></screen>
|
---|
| 155 |
|
---|
[00d040d] | 156 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 157 | href="../../xincludes/gtk-update-icon-cache.xml"/>
|
---|
[cdabd810] | 158 |
|
---|
[ed59474e] | 159 | </sect2>
|
---|
| 160 |
|
---|
[32ccdf34] | 161 | <sect2 role="commands">
|
---|
| 162 | <title>Command Explanations</title>
|
---|
| 163 |
|
---|
[8558044] | 164 | <!-- With 27.2, it writes scores to ~/.emacs.d/games
|
---|
[f716ef4] | 165 | <para>
|
---|
[8404399] | 166 | <parameter>- -localstatedir=/var</parameter>: Create game score files
|
---|
[f716ef4] | 167 | in <filename class='directory'>/var/games/emacs</filename> instead
|
---|
| 168 | of <filename class='directory'>/usr/var/games/emacs</filename>.
|
---|
| 169 | </para>
|
---|
[8404399] | 170 | -->
|
---|
[755379cb] | 171 |
|
---|
[f716ef4] | 172 | <para>
|
---|
[918c149] | 173 | <option>--with-imagemagick</option>: Use this if you have installed
|
---|
| 174 | <xref linkend="imagemagick"/> and wish to link against it.
|
---|
[f716ef4] | 175 | </para>
|
---|
[d113301] | 176 |
|
---|
[f716ef4] | 177 | <para>
|
---|
| 178 | <option>--with-gif=no</option>: Use this if you have not installed
|
---|
[8558044] | 179 | <xref linkend="giflib"/> or
|
---|
[f716ef4] | 180 | <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>.
|
---|
| 181 | </para>
|
---|
[043a3842] | 182 |
|
---|
[f716ef4] | 183 | <para>
|
---|
| 184 | <option>--with-tiff=no</option>: Use this if you have not installed
|
---|
| 185 | <xref linkend="libtiff"/>.
|
---|
| 186 | </para>
|
---|
[96fcf51] | 187 |
|
---|
[f716ef4] | 188 | <para>
|
---|
| 189 | <option>--with-gnutls=no</option>: Use this if you have not installed
|
---|
| 190 | <xref linkend="gnutls"/>.
|
---|
| 191 | </para>
|
---|
[96fcf51] | 192 |
|
---|
[8404399] | 193 | <para>
|
---|
| 194 | <option>--without-harfbuzz</option>: Use this if you have not installed
|
---|
| 195 | <xref linkend="harfbuzz"/>.
|
---|
| 196 | </para>
|
---|
| 197 |
|
---|
| 198 | <para>
|
---|
| 199 | <option>--with-json=no</option>: Use this if you have not installed
|
---|
| 200 | <xref linkend="jansson"/>.
|
---|
| 201 | </para>
|
---|
| 202 |
|
---|
[32ccdf34] | 203 | </sect2>
|
---|
| 204 |
|
---|
[ed59474e] | 205 | <sect2 role="content">
|
---|
| 206 | <title>Contents</title>
|
---|
| 207 |
|
---|
| 208 | <segmentedlist>
|
---|
| 209 | <segtitle>Installed Programs</segtitle>
|
---|
| 210 | <segtitle>Installed Libraries</segtitle>
|
---|
| 211 | <segtitle>Installed Directories</segtitle>
|
---|
| 212 |
|
---|
| 213 | <seglistitem>
|
---|
[f3429309] | 214 | <seg>ctags,
|
---|
| 215 | ebrowse,
|
---|
| 216 | emacs (symlink),
|
---|
[473f4358] | 217 | emacs-&emacs-version;,
|
---|
[8404399] | 218 | emacsclient, and
|
---|
| 219 | etags</seg>
|
---|
[ed59474e] | 220 | <seg>None</seg>
|
---|
[8404399] | 221 | <seg>/usr/libexec/emacs and
|
---|
| 222 | /usr/share/emacs</seg>
|
---|
[ed59474e] | 223 | </seglistitem>
|
---|
| 224 | </segmentedlist>
|
---|
| 225 |
|
---|
| 226 | <variablelist>
|
---|
| 227 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 228 | <?dbfo list-presentation="list"?>
|
---|
| 229 | <?dbhtml list-presentation="table"?>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="ctags">
|
---|
[550ca80] | 232 | <term><command>ctags</command></term>
|
---|
[ed59474e] | 233 | <listitem>
|
---|
[f716ef4] | 234 | <para>
|
---|
| 235 | creates cross-reference tagfile database files
|
---|
[4c24eb0a] | 236 | for source code
|
---|
[f716ef4] | 237 | </para>
|
---|
[ed59474e] | 238 | <indexterm zone="emacs ctags">
|
---|
| 239 | <primary sortas="b-ctags">ctags</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="ebrowse">
|
---|
| 245 | <term><command>ebrowse</command></term>
|
---|
| 246 | <listitem>
|
---|
[f716ef4] | 247 | <para>
|
---|
| 248 | permits browsing of C++ class hierarchies from
|
---|
[4c24eb0a] | 249 | within <command>emacs</command>
|
---|
[f716ef4] | 250 | </para>
|
---|
[ed59474e] | 251 | <indexterm zone="emacs ebrowse">
|
---|
| 252 | <primary sortas="b-ebrowse">ebrowse</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="emacs-prog">
|
---|
| 258 | <term><command>emacs</command></term>
|
---|
| 259 | <listitem>
|
---|
[f716ef4] | 260 | <para>
|
---|
[4c24eb0a] | 261 | is an editor
|
---|
[f716ef4] | 262 | </para>
|
---|
[ed59474e] | 263 | <indexterm zone="emacs emacs-prog">
|
---|
| 264 | <primary sortas="b-emacs">emacs</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="emacsclient">
|
---|
| 270 | <term><command>emacsclient</command></term>
|
---|
| 271 | <listitem>
|
---|
[f716ef4] | 272 | <para>
|
---|
| 273 | attaches an <command>emacs</command> session to an already
|
---|
[4c24eb0a] | 274 | running <command>emacsserver</command> instance
|
---|
[f716ef4] | 275 | </para>
|
---|
[ed59474e] | 276 | <indexterm zone="emacs emacsclient">
|
---|
| 277 | <primary sortas="b-emacsclient">emacsclient</primary>
|
---|
| 278 | </indexterm>
|
---|
| 279 | </listitem>
|
---|
| 280 | </varlistentry>
|
---|
| 281 |
|
---|
| 282 | <varlistentry id="etags">
|
---|
| 283 | <term><command>etags</command></term>
|
---|
| 284 | <listitem>
|
---|
[f716ef4] | 285 | <para>
|
---|
| 286 | is another program to generate source code
|
---|
[4c24eb0a] | 287 | cross-reference tagfiles
|
---|
[f716ef4] | 288 | </para>
|
---|
[ed59474e] | 289 | <indexterm zone="emacs etags">
|
---|
| 290 | <primary sortas="b-etags">etags</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
[8404399] | 295 | <!-- Not seen with 27.2
|
---|
[ed59474e] | 296 | <varlistentry id="grep-changelog">
|
---|
| 297 | <term><command>grep-changelog</command></term>
|
---|
| 298 | <listitem>
|
---|
[f716ef4] | 299 | <para>
|
---|
| 300 | prints entries in Change Logs matching
|
---|
[4c24eb0a] | 301 | various criteria
|
---|
[f716ef4] | 302 | </para>
|
---|
[ed59474e] | 303 | <indexterm zone="emacs grep-changelog">
|
---|
| 304 | <primary sortas="b-grep-changelog">grep-changelog</primary>
|
---|
| 305 | </indexterm>
|
---|
| 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
[8404399] | 308 | -->
|
---|
[2bf87d8] | 309 | <!--
|
---|
[ed59474e] | 310 | <varlistentry id="rcs-checkin">
|
---|
| 311 | <term><command>rcs-checkin</command></term>
|
---|
| 312 | <listitem>
|
---|
[f716ef4] | 313 | <para>
|
---|
| 314 | is a shell script used to check files into RCS.
|
---|
| 315 | </para>
|
---|
[ed59474e] | 316 | <indexterm zone="emacs rcs-checkin">
|
---|
| 317 | <primary sortas="b-rcs-checkin">rcs-checkin</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
[2bf87d8] | 320 | </varlistentry>-->
|
---|
[a7a755a] | 321 |
|
---|
[ed59474e] | 322 | </variablelist>
|
---|
[b5951ec] | 323 |
|
---|
[ed59474e] | 324 | </sect2>
|
---|
[f45b1953] | 325 |
|
---|
| 326 | </sect1>
|
---|