summaryrefslogtreecommitdiffstats
path: root/en_US
diff options
context:
space:
mode:
authorPaul W. Frields <[email protected]>2007-02-06 01:09:59 +0000
committerPaul W. Frields <[email protected]>2007-02-06 01:09:59 +0000
commita35d7405badbfa123c9ad4bb1b340bb47b751336 (patch)
tree51da65196a27177ce3efc7ef91f208ff8a986ed9 /en_US
parent54ab7f0a8784dc55dc192d8db806fefe4d608a71 (diff)
downloaddocumentation-guide-a35d7405badbfa123c9ad4bb1b340bb47b751336.tar.gz
documentation-guide-a35d7405badbfa123c9ad4bb1b340bb47b751336.tar.xz
documentation-guide-a35d7405badbfa123c9ad4bb1b340bb47b751336.zip
- Add XML header
- Add section for installing PSGML - Add CDATA tags to protect content that might be entity-expanded
Diffstat (limited to 'en_US')
-rw-r--r--en_US/emacs.xml52
1 files changed, 24 insertions, 28 deletions
diff --git a/en_US/emacs.xml b/en_US/emacs.xml
index 9f45dcd..64cd81b 100644
--- a/en_US/emacs.xml
+++ b/en_US/emacs.xml
@@ -1,4 +1,5 @@
-<!-- $Id: emacs.xml,v 1.2 2007/02/03 22:29:37 kwade Exp $ -->
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: emacs.xml,v 1.3 2007/02/06 01:09:59 pfrields Exp $ -->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
@@ -30,6 +31,11 @@
and more.
</para>
+ <section id="sn-installing-psgml">
+ <title>Installing PSGML</title>
+ <para>To install PSGML, use the <command>yum</command> command:</para>
+ <screen><userinput>yum install psgml</userinput></screen>
+ </section>
<section id="sn-emacs-file">
<title>Setting Up Your <filename>.emacs</filename> File</title>
@@ -48,8 +54,7 @@
existing <filename>.emacs</filename> file or create a new one that
contains the following lines:
-<screen>
-<computeroutput>
+ <screen><computeroutput><![CDATA[
;; turn on auto-fill in `text-mode' and derived modes
;;(mail, news, etc)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
@@ -173,39 +178,32 @@
(global-set-key [(f1)] (lambda () (interactive) (manual-
entry (current-word))))
-
-</computeroutput>
-</screen>
+]]></computeroutput></screen>
</para>
- <para>
- Do you have a cool wheel mouse? If so, you can add the following to your
- <filename>.emacs</filename> file so your wheel will work in
- <application>Emacs</application> (must be
- <application>Emacs</application> version 21):
- </para>
+ <para>
+ If you have a wheel mouse and are using Emacs version 21, you can add the
+ following to your <filename>.emacs</filename> file so your wheel will work
+ in <application>Emacs</application>:
+ </para>
-<screen>
-<computeroutput>
+ <screen><computeroutput><![CDATA[
;; Enable wheelmouse support by default for emacs 21
(cond (window-system
(mwheel-install)
))
-</computeroutput>
-</screen>
+]]></computeroutput></screen>
<para>
If you are using the older version 20 of
<application>Emacs</application>, add the following instead:
</para>
-<screen>
-<computeroutput>
+ <screen><computeroutput><![CDATA[
;; Enable wheelmouse support by default
(require 'mwheel)
-</computeroutput>
-</screen>
+]]></computeroutput></screen>
<!-- bug #125757 in NEEDINFO state
<para>
@@ -271,23 +269,21 @@
</para>
</note>
-<screen>
-<userinput>
+ <screen><userinput><![CDATA[
emacs.background: light gray
emacs.foreground: black
emacs.pointerColor: blue
emacs.cursorColor: blue
emacs.bitmapIcon: on
emacs.font: fixed
-emacs.geometry: 90x25
-</userinput>
-</screen>
+emacs.geometry: 90x25
+]]></userinput></screen>
+
<para>
After modifying this file, you must execute the command
</para>
-<screen>
-<command>xrdb -merge ~/.Xresources</command>
-</screen>
+
+ <screen><command>xrdb -merge ~/.Xresources</command></screen>
<para>
and restart <application>Emacs</application> for the changes to take
place.
OSZAR »